[wp-trac] [WordPress Trac] #39153: Bug in wp_html_split with unclosed PHP tag (or HTML tag <)

WordPress Trac noreply at wordpress.org
Fri Dec 9 15:26:26 UTC 2016


#39153: Bug in wp_html_split with unclosed PHP tag (or HTML tag <)
--------------------------+---------------------------------------
 Reporter:  crosp         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Formatting    |     Version:  4.6.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  administration, template
--------------------------+---------------------------------------

Comment (by crosp):

 In my case simple commenting this processing of shortcodes in HTML tags
 {{{#!php
 <?php
 //      $content = do_shortcodes_in_html_tags( $content, $ignore_html,
 $tagnames );
 }}}
 in
 {{{
 function do_shortcode
 }}}

 solves the problem, could someone provide an example of case where
 shortcodes are located inside HTML tags ?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39153#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list