function _coder_security_fapi_markup_value_warning in Coder 6.2
1 call to _coder_security_fapi_markup_value_warning()
- _coder_security_callback in includes/
coder_security.inc - Define the rule callbacks.
File
- includes/
coder_security.inc, line 638 - This include file implements coder functionality for Drupal Standards.
Code
function _coder_security_fapi_markup_value_warning() {
return array(
'#warning' => t("Potential problem: when FAPI element '#type' is set to 'markup' (default), '#value' only accepts filtered text, be sure to use !check_plain(), !filter_xss() or similar to ensure your \$variable is fully sanitized.", array(
'!check_plain' => theme('drupalapi', 'check_plain'),
'!filter_xss' => theme('drupalapi', 'filter_xss'),
)),
'#link' => 'http://drupal.org/node/28984',
);
}