[wp-trac] [WordPress Trac] #29557: PHP ≤ 5.4.8 Crashes on '[' Character in Posts

WordPress Trac noreply at wordpress.org
Fri Oct 31 18:24:37 UTC 2014


#29557: PHP ≤ 5.4.8 Crashes on '[' Character in Posts
------------------------------------------------------+--------------------
 Reporter:  MrBobDobolina                             |       Owner:
     Type:  defect (bug)                              |      Status:  new
 Priority:  highest omg bbq                           |   Milestone:  4.0.1
Component:  Formatting                                |     Version:  4.0
 Severity:  blocker                                   |  Resolution:
 Keywords:  wptexturize has-patch commit fixed-major  |     Focuses:
------------------------------------------------------+--------------------

Comment (by miqrogroove):

 Replying to [comment:104 kitchin]:
 > I guess it's worth looking at my patch (more strpos, less regex)
 https://core.trac.wordpress.org/attachment/ticket/29557/poc_pos_29557.diff
 if this is the algorithm people want:
 >
 > `Look for 1. HTML comments, 2. then possible shortcodes, 3. then HTML
 tags (not comments).`

 Unfortunately we have not yet reached a unanimous decision on whether to
 allow HTML inside of shortcodes, and if we do, we cannot process HTML
 comment syntax first.  :(  I'll look at that diff again but most likely we
 will work with what I've written so far.  And if you have time to help,
 there are some parts that I could delegate.

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


More information about the wp-trac mailing list