PHP blocks fail since intro of visual editor
-
UPDATE: this is due to addon “TinyMCE Advanced” if option to
stop removing <p> and </ br> tags
is 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 fontsince the introduction of the visual (WP) editor, PHP blocks such as…
$str = file_get_contents('https://files.site.org/apps/sal/version'); echo $str;
fail with…
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
https://www.ads-software.com/extend/plugins/global-content-blocks/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP blocks fail since intro of visual editor’ is closed to new replies.