Any more info on this? I am seeing the same problem with php-execution plugin. I can write this in the HTML editor…
<?php
$voucher = intval($_GET[“voucher”]);
if ($voucher) {
echo “You are redeeming this voucher: [$voucher]\n”;
}
?>
(Note – not sure if the formatting above will carry through in this forum, but assume it’s nice, tidy, functional PHP)
…and after switching to Visual and back to HTML, it becomes:
<!–?php $voucher = intval($_GET[“voucher”]); if ($voucher) { echo “You are redeeming this voucher: [$voucher]\n”; } ?–>
(In case the formatting is changed in this forum, the significant difference is that the entire php block has been converted into an HTML comment. Of further annoyance, it’s been wrapped into a single line of text.)
I am running a fairly clean install of WordPress v3.2.1 and v1.0.0 of PHP-Execution.
I see this plugin is now two years old, with no updates. Should I simply use another PHP plugin? Any suggestions?
Thanks,
-dave