[wp-trac] [WordPress Trac] #26673: Enhance wp_parse_args() by adding filters before/after the array_merge()
WordPress Trac
noreply at wordpress.org
Mon Feb 3 01:57:56 UTC 2014
#26673: Enhance wp_parse_args() by adding filters before/after the array_merge()
-----------------------------------+------------------------------
Reporter: johnjamesjacoby | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses:
-----------------------------------+------------------------------
Comment (by johnjamesjacoby):
It could be so much more flexible, and we could greatly reduce the
overhead of cherry picking when and why certain filters exist.
wp_parse_args() isn't array_merge(), it's a powerful WordPress function
that could be a standardized approach to filtering all default array
arguments.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26673#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list