Commit 7dc21953 authored by Dries's avatar Dries
Browse files

Issue #2061387 by manu4543: Remove unused local variable () from...

Issue #2061387 by manu4543: Remove unused local variable () from /core/modules/php/lib/Drupal/php/Plugin/Filter/Php.php.
parent ef200672
......@@ -36,7 +36,6 @@ public function process($text, $langcode, $cache, $cache_id) {
* {@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>';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment