Comments 1ghostpool started the conversationMarch 22, 2017 at 12:59pmHi there,Recently PHP tags added to the Code format box are displayed incorrectly. Any <? and ?> tags are displayed like this: <!--?php get_template_part( 'lib/sections/hub-details' ); ?--> Instead of this: <?php get_template_part( 'lib/sections/hub-details' ); ?> I have to manually edit each tag which can take a long time for a long piece of code.[deleted] repliedMarch 22, 2017 at 1:25pmThanks for letting me know. I've submitted a bug report to the editor developers (Redactor). Hopefully they will fix this within the next update. Sorry about the inconvenience![deleted] repliedMarch 31, 2017 at 7:48pmThis should be working now! <?php get_template_part( 'lib/sections/hub-details' ); ?> 1ghostpool repliedApril 6, 2017 at 4:06amThanks! :) 1ghostpool repliedApril 10, 2017 at 9:22amIt still has issues unforutnately e.g. <?php if ( has_post_thumbnail() && Becomes with: <?php if ( has_post_thumbnail() &&--> [deleted] repliedApril 10, 2017 at 12:54pmOkay, I'll pass this bug report along again. Thanks! Sign in to reply ...
Hi there,
Recently PHP tags added to the Code format box are displayed incorrectly. Any <? and ?> tags are displayed like this:
Instead of this:
I have to manually edit each tag which can take a long time for a long piece of code.
Thanks for letting me know. I've submitted a bug report to the editor developers (Redactor). Hopefully they will fix this within the next update. Sorry about the inconvenience!
This should be working now!
Thanks! :)
It still has issues unforutnately e.g.
Becomes with:
Okay, I'll pass this bug report along again. Thanks!