4.6.x bootstrap.inc check_plain($text)
4.7.x bootstrap.inc check_plain($text)
5.x bootstrap.inc check_plain($text)
6.x bootstrap.inc check_plain($text)
7.x bootstrap.inc check_plain($text)

Encode special characters in a plain-text string for display as HTML.

74 calls to check_plain()
aggregator_form_feed in modules/aggregator.module
aggregator_page_categories in modules/aggregator.module
Menu callback; displays all the categories used by the aggregator.
aggregator_page_opml in modules/aggregator.module
Menu callback; generates an OPML representation of all feeds.
aggregator_page_sources in modules/aggregator.module
Menu callback; displays all the feeds used by the aggregator.
blog_form in modules/blog.module
Implementation of hook_form().

... See full list

2 string references to 'check_plain'
locale_user in modules/locale.module
Implementation of hook_user().
_locale_string_seek_form in includes/locale.inc
User interface for the string search screen


includes/bootstrap.inc, line 628
Functions that need to be loaded on every Drupal request.


function check_plain($text) {
  return htmlspecialchars($text, ENT_QUOTES);