summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathaniel Catchpole2013-11-18 10:23:14 (GMT)
committerNathaniel Catchpole2013-11-18 10:23:14 (GMT)
commit996fb5720de228797526d28822456ffdb4f22384 (patch)
tree3478c4949a5c8dc2924d5b80682943ffe1a1d6e3
parentcc7cae5fe14ac9abe62e84467cd09534c269c913 (diff)
Issue #2093167 by johnnydarkko, thedavidmeister, Vibjerg: Deprecate check_plain(), call \Drupal\Component\Utility\String::checkPlain() directly instead.
-rw-r--r--core/includes/bootstrap.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc
index d071bc4..109ff24 100644
--- a/core/includes/bootstrap.inc
+++ b/core/includes/bootstrap.inc
@@ -1374,6 +1374,9 @@ function format_string($string, array $args = array()) {
* @see \Drupal\Component\Utility\String::checkPlain()
* @see drupal_validate_utf8()
* @ingroup sanitization
+ *
+ * @deprecated as of Drupal 8.0. Use
+ * Drupal\Component\Utility\String::checkPlain() directly instead.
*/
function check_plain($text) {
return String::checkPlain($text);