[wp-trac] [WordPress Trac] #37767: Conditionally modify $tagnames in strip_shortcodes()
WordPress Trac
noreply at wordpress.org
Sun Oct 23 14:24:30 UTC 2016
#37767: Conditionally modify $tagnames in strip_shortcodes()
-------------------------------------------------+-------------------------
Reporter: danielbachhuber | Owner:
Type: enhancement | aaroncampbell
Priority: normal | Status: closed
Component: Shortcodes | Milestone: 4.7
Severity: normal | Version:
Keywords: good-first-bug has-patch has-unit- | Resolution: fixed
tests | Focuses:
-------------------------------------------------+-------------------------
Changes (by aaroncampbell):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"38877"]:
{{{
#!CommitTicketReference repository="" revision="38877"
Shortcodes: Add new `strip_shortcodes_tagnames` filter.
With the new `strip_shortcodes_tagnames` filter you can specify which
shortcodes are stripped by `strip_shortcodes()`. The default is all
registered shortcodes.
Props DylanAuty, orvils, swissspidy.
Fixes #37767.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37767#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list