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

WordPress Trac noreply at wordpress.org
Wed Oct 8 12:06:51 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  |     Focuses:
-----------------------------------+--------------------

Comment (by miqrogroove):

 Replying to [comment:90 kovshenin]:
 > My concern is that r29748 and r29781 seem a bit radical for a point
 release.

 r29748 was reverted already.  What is the concern here?

 r29781 is the correct solution based on all feedback so far.

 > Haven't seen an actual report but a `[` in a shortcode attribute also
 worked pre-4.0 and now it doesn't

 We have clear documentation that square braces are not supported in
 shortcodes.  Solarissmoke added that warning to the Codex on 16 March
 2011.  Now if we want to officially support the left braces and not the
 right braces that's one thing, but we can't do it without breaking Jetpack
 or breaking the unit tests for #12690.

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


More information about the wp-trac mailing list