[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 02:07:18 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 nacin):

 Replying to [comment:21 johnjamesjacoby]:
 > we could greatly reduce the overhead of cherry picking when and why
 certain filters exist.

 That cherry picking is deliberate. If everything everywhere was filtered
 it'd be infinitely harder to maintain and evolve the codebase. Despite
 their appearance (and even relative speed), hooks are not necessarily
 light.

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


More information about the wp-trac mailing list