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

WordPress Trac noreply at wordpress.org
Fri Oct 10 22:30:33 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 azaozz):

 As we are excluding strings from texturize:
 - It seems we don't need to match `[[shortcode]]`, it's enough to match
 `[shortcode]`. The extra [ ] are unaffected by texturize.
 - Following the same logic we don't need to match `[/shortcode]` and
 `</tag>`. There is nothing that needs excluding from texturize in there.

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


More information about the wp-trac mailing list