[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:41:09 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:
-----------------------------------+------------------------------
Changes (by nacin):

 * milestone:  3.9 => Awaiting Review


Comment:

 I'm still -1. Frankly, I'd like to stop using wp_parse_args().
 array_merge() is enough. It's an edge case to be accepting query string
 arguments in so many newer situations where this function is used. For
 reasons explained previously, I'd encourage your own filter use.

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


More information about the wp-trac mailing list