Issue #2061387 by manu4543: Remove unused local variable () from /core/modules/php/lib/Drupal/php/Plugin/Filter/Php.php.

8.0.x
Dries 2013-08-13 14:39:18 -04:00
parent ef200672ad
commit 7dc219539d
1 changed files with 0 additions and 1 deletions

View File

@ -36,7 +36,6 @@ class Php extends FilterBase {
* {@inheritdoc}
*/
public function tips($long = FALSE) {
global $base_url;
if ($long) {
$output = '<h4>' . t('Using custom PHP code') . '</h4>';
$output .= '<p>' . t('Custom PHP code may be embedded in some types of site content, including posts and blocks. While embedding PHP code inside a post or block is a powerful and flexible feature when used by a trusted user with PHP experience, it is a significant and dangerous security risk when used improperly. Even a small mistake when posting PHP code may accidentally compromise your site.') . '</p>';