[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:52:59 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:18 MikeSchinkel]:
 > 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.

 I think it's great for template tags.

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


More information about the wp-trac mailing list