[wp-trac] [WordPress Trac] #10549: Sticky not working with query_posts()

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 5 15:29:58 UTC 2009


#10549: Sticky not working with query_posts()
--------------------------+-------------------------------------------------
 Reporter:  kingjeffrey   |       Owner:                     
     Type:  defect (bug)  |      Status:  new                
 Priority:  normal        |   Milestone:  Unassigned         
Component:  General       |     Version:  2.8.1              
 Severity:  normal        |    Keywords:  query_posts, sticky
--------------------------+-------------------------------------------------

Comment(by kingjeffrey):

 It appears that even `query_posts('showposts=9');` returns unexpected
 results.  While sticky posts do rise to the top, the number of posts
 returned is 9 plus the sticky count.

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


More information about the wp-trac mailing list