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

WordPress Trac noreply at wordpress.org
Wed Sep 17 23:23:05 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):

 From IRC:
 > I think "Shortcodes do not contain other shortcodes." is wrong

 To be completely precise, the ']' character is never allowed inside of a
 shortcode tag, so by extrapolation there is no way to put a raw tag within
 a tag.  Between tags, almost anything is allowed.

 If you'd like me to research the technical implications of allowing the
 '[' character inside of a shortcode, I could entertain that thought.  But
 that sort of thing could take a couple weeks given my schedule.

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


More information about the wp-trac mailing list