You are here

function _coder_security_block_title_warning in Coder 6.2

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

File

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

Code

function _coder_security_block_title_warning() {
  return array(
    '#warning' => t('Potential problem: !hook_block() only accepts filtered text as the block title, be sure to use !check_plain(), !filter_xss() or similar to ensure your $variable is fully sanitized.', array(
      '!hook_block' => theme('drupalapi', 'hook_block'),
      '!check_plain' => theme('drupalapi', 'check_plain'),
      '!filter_xss' => theme('drupalapi', 'filter_xss'),
    )),
    '#link' => 'http://drupal.org/node/28984',
  );
}