Issue #2061387 by manu4543: Remove unused local variable () from /core/modules/php/lib/Drupal/php/Plugin/Filter/Php.php.
parent
ef200672ad
commit
7dc219539d
|
@ -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>';
|
||||
|
|
Loading…
Reference in New Issue