[wp-trac] Re: [WordPress Trac] #10034: wp_list_pages(): pass args $r to apply_filters()

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 4 21:10:00 GMT 2009


#10034: wp_list_pages(): pass args $r to apply_filters()
----------------------------+-----------------------------------------------
 Reporter:  antonylesuisse  |        Type:  enhancement
   Status:  new             |    Priority:  low        
Milestone:  Future Release  |   Component:  Template   
  Version:  2.8             |    Severity:  minor      
 Keywords:  needs-patch     |  
----------------------------+-----------------------------------------------

Comment(by antonylesuisse):

 Replying to [comment:2 Denis-de-Bernardy]:
 > adding to this, if we pass one argument, we should really pass them all
 as an array.

 line 745:
 {{{
 $r = wp_parse_args( $args, $defaults );
 }}}
 $r is already the right array.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10034#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list