[wp-trac] [WordPress Trac] #26673: Enhance wp_parse_args() by adding filters before/after the array_merge()
WordPress Trac
noreply at wordpress.org
Wed Dec 18 17:48:52 UTC 2013
#26673: Enhance wp_parse_args() by adding filters before/after the array_merge()
-----------------------------------+------------------
Reporter: johnjamesjacoby | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.9
Component: Plugins | Version:
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion |
-----------------------------------+------------------
Comment (by johnjamesjacoby):
In several places in WordPress core, calls to `wp_parse_args()` are
immediately followed by a call to `apply_filters()` on the parsed results.
What I'm proposing is that we:
* Leave existing filters untouched
* Add filters (via unique keys) for any calls that are missing parter
calls to `apply_filters()`
* Enforce that new calls to `wp_parse_args()` always come packaged with a
unique key
--
Ticket URL: <http://core.trac.wordpress.org/ticket/26673#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list