[wp-trac] [WordPress Trac] #29557: PHP ≤ 5.4.8 Crashes on '[' Character in Posts
WordPress Trac
noreply at wordpress.org
Wed Sep 17 15:13:28 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 wonderboymusic):
In [changeset:"29748"]:
{{{
#!CommitTicketReference repository="" revision="29748"
`wptexturize()` improvements:
* Expand the `wptexturize()` RegEx to include the list of registered
shortcodes.
* Avoid backtracking after `[` chars by not filtering params in registered
shortcodes. This will cause escaped shortcodes and their params to become
texturized if not registered.
* Registered shortcode params will never be texturized, even when escaped.
* Move all tests involving unregistered shortcodes to a new and improved
unit.
* Update one test involving HTML within shortcode params.
Props miqrogroove.
See #29557.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29557#comment:55>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list