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

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 6 06:29:21 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:               |  
-------------------------+--------------------------------------------------
Changes (by Viper007Bond):

  * type:  defect => enhancement

Comment:

 Shouldn't users just make sure to add some parameters? Tons of PHP
 functions will generate an error if you don't pass a parameter to them.

 I personally don't think it's our job to make sure people use functions
 correctly.

 But maybe that's just me.

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


More information about the wp-trac mailing list