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

WordPress Trac noreply at wordpress.org
Sun Nov 2 02:29:01 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):

 In [attachment:29557-idea-3.3.diff] I refactored the bottom half of the
 new parser function to eliminate all uses of the array_splice() function.
 The new output strategy is to build a third array from the first two
 arrays rather than splicing them together.  It runs about 3x slower than
 the trunk version of wptexturize(), which is much more reasonable.

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


More information about the wp-trac mailing list