[wp-trac] Re: [WordPress Trac] #6608: get_posts() needs a default argument

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 9 02:00:41 GMT 2008


#6608: get_posts() needs a default argument
-------------------------+--------------------------------------------------
 Reporter:  karlkatzke   |        Owner:  anonymous
     Type:  enhancement  |       Status:  new      
 Priority:  low          |    Milestone:  2.5.1    
Component:  General      |      Version:  2.5      
 Severity:  normal       |   Resolution:           
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by Viper007Bond):

 Replying to [comment:3 Otto42]:
 > +1 to making this an optional parameter.

 Yeah, I'm not opposed to some defaults either (latest 5 posts from all
 categories probably) just for ease of use, but this is hardly a defect.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6608#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list