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

WordPress Trac noreply at wordpress.org
Thu Dec 8 11:44:15 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):

 I've explored code, but don't understand what the purpose of splitting
 input, why not just split text by shortcodes ?

 I have also tried to fix regex by myself, but this leads to other bugs.
 Can someone help to find the right way to fix this problem ?

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


More information about the wp-trac mailing list