[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:49:02 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 MikeSchinkel):

 Replying to [comment:15 nacin]:
 > I'm still -1. Frankly, I'd like to stop using `wp_parse_args()`.
 `array_merge()` is enough.

 In our libraries we are using `wp_parse_args()` instead of `array_merge()`
 and we use it a lot because it can parse strings and make calling
 functions intended to be used like template tags easier for themers. FWIW.

 -Mike

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


More information about the wp-trac mailing list