[wp-trac] [WordPress Trac] #15150: numberposts default in get_posts is overriding posts_per_page argument

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 19 15:21:07 UTC 2010


#15150: numberposts default in get_posts is overriding posts_per_page argument
--------------------------+-------------------------------------------------
 Reporter:  bobbyblade    |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.1            
 Severity:  normal        |    Keywords:  has-patch      
--------------------------+-------------------------------------------------
 In the get_posts function there is currently a bug where if you specify
 the posts_per_page argument it will be overridden due to the numberposts
 in the default argument set.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15150>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list