[wp-trac] [WordPress Trac] #11197: WP_Query post__not_in parameter ignored for sticky posts

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 24 05:33:05 UTC 2010


#11197: WP_Query post__not_in parameter ignored for sticky posts
-----------------------------+----------------------------------------------
 Reporter:  tidywebdev       |        Owner:          
     Type:  defect (bug)     |       Status:  reopened
 Priority:  low              |    Milestone:  2.9     
Component:  General          |      Version:  2.9.2   
 Severity:  minor            |   Resolution:          
 Keywords:  sticky WP_Query  |  
-----------------------------+----------------------------------------------
Changes (by itxitx):

 * cc: itxitx (added)
  * status:  closed => reopened
  * version:  2.8.6 => 2.9.2
  * resolution:  fixed =>


Comment:

 not fixed in wp 2.9.2

 the behavior is:
 if we have some sticky posts then set `post__not_in` parameter with one or
 two or more sticky post ID, instead excluding them from posts, it only
 changes the order of sticky posts.

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


More information about the wp-trac mailing list