You are here

function _coder_security_trigger_error_filter_t_warning in Coder 6.2

1 string reference to '_coder_security_trigger_error_filter_t_warning'
coder_security_reviews in includes/coder_security.inc
Implementation of hook_reviews().

File

includes/coder_security.inc, line 407
This include file implements coder functionality for Drupal Standards.

Code

function _coder_security_trigger_error_filter_t_warning() {
  return array(
    '#warning' => t('Potential problem: !trigger_error() only accepts filtered text, be sure all !placeholders for $variables in !t() are fully sanitized using !check_plain(), !filter_xss() or similar.', array(
      '!trigger_error' => theme('phpapi', 'trigger_error'),
      '!t' => theme('drupalapi', 't'),
      '!check_plain' => theme('drupalapi', 'check_plain'),
      '!filter_xss' => theme('drupalapi', 'filter_xss'),
    )),
    '#link' => 'http://drupal.org/node/28984',
  );
}