function check_plain

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 bootstrap.inc check_plain($text)
cle7 bootstrap.inc check_plain($text)
elmsmedia7 bootstrap.inc check_plain($text)
icor7 bootstrap.inc check_plain($text)
meedjum_blog7 bootstrap.inc check_plain($text)
mooc7 bootstrap.inc check_plain($text)

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

Also validates strings as UTF-8 to prevent cross site scripting attacks on Internet Explorer 6.

Parameters

$text: The text to be checked or processed.

Return value

An HTML safe version of $text, or an empty string if $text is not valid UTF-8.

See also

drupal_validate_utf8()

Related topics

643 calls to check_plain()
accessibility_test_render in sites/all/modules/ulmus/accessibility/accessibility.module
adaptivetheme_html_head_alter in sites/all/themes/ulmus/adaptivetheme/at_core/inc/alter.inc
hook_html_head_alter()
adaptivetheme_links in sites/all/themes/ulmus/adaptivetheme/at_core/inc/theme.inc
Returns HTML for a set of links.
adaptivetheme_preprocess_block in sites/all/themes/ulmus/adaptivetheme/at_core/inc/preprocess.inc
Preprocess variables for block.tpl.php
adaptivetheme_preprocess_html in sites/all/themes/ulmus/adaptivetheme/at_core/inc/preprocess.inc
Preprocess variables for html.tpl.php

... See full list

35 string references to 'check_plain'
accessibility_reporting_report in sites/all/modules/ulmus/accessibility/modules/accessibility_reporting/accessibility_reporting.module
Report callback. Stores posted data to accessibility_reporting table.
adaptivetheme_form_search_form_alter in sites/all/themes/ulmus/adaptivetheme/at_core/inc/alter.inc
hook_form_FORM_ID_alter() Modify the Advanced Search Form
aggregator_form_opml in modules/aggregator/aggregator.admin.inc
Form constructor for importing feeds from OPML.
alpha_theme_settings_general in sites/all/themes/ulmus/omega/alpha/includes/theme-settings-general.inc
@todo
block_admin_configure in modules/block/block.admin.inc
Form constructor for the block configuration form.

... See full list

File

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

Code

function check_plain($text) {
  return htmlspecialchars($text, ENT_QUOTES, 'UTF-8');
}