UPDATE: this is due to addon “TinyMCE Advanced” if option to
stop removing <p> and </ br> tagsis enabled. hopefully a fix can be implemented in GCB? personally, if adding a PHP tag, i’d rather use a plain text editor with fixed width font
since the introduction of the visual (WP) editor, PHP blocks such as…
$str = file_get_contents('http://files.site.org/apps/sal/version'); echo $str;
Parse error: syntax error, unexpected '<' in /home/siteorg/public_html/wp-content/plugins/global-content-blocks/global-content-blocks.php(211) : eval()'d code on line 1
existing blocks work fine as long as they are not edited/saved
- The topic ‘PHP blocks fail since intro of visual editor’ is closed to new replies.