[wp-trac] [WordPress Trac] #11072: Honor Post Type for Sticky Posts

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 4 15:27:44 UTC 2009


#11072: Honor Post Type for Sticky Posts
--------------------------+-------------------------------------------------
 Reporter:  chrisscott    |       Owner:  ryan                    
     Type:  defect (bug)  |      Status:  new                     
 Priority:  normal        |   Milestone:  Unassigned              
Component:  Query         |     Version:                          
 Severity:  normal        |    Keywords:  has-patch, needs-testing
--------------------------+-------------------------------------------------
 When specifying a post type in WP_Query, sticky posts are added to the
 beginning of the array regardless of the post_type if specified. The
 attached patch will restrict the stickies to match the post_type if
 specified. This is compatible with the multiple post types patch submitted
 in #10791.

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


More information about the wp-trac mailing list