[wp-trac] [WordPress Trac] #18035: ignore_sticky_posts fails to remove sticky class

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 8 10:03:44 UTC 2011


#18035: ignore_sticky_posts fails to remove sticky class
-------------------------+-------------------------------------
 Reporter:  mikkelbreum  |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:  3.2
 Severity:  minor        |   Keywords:  2nd-opinion needs-patch
-------------------------+-------------------------------------
 When setting the query_posts parameter:

 ignore_sticky_posts = 1

 all sticky posts are returned as normal posts and placed accordingly in
 the flow. However the sticky posts keep their sticky class, which means
 that an additional filtering of post_class is necessary to avoid any css
 rules defined for the .sticky selector taking effect.

 is this intended, or could it be considered an enhancement if it was
 patched?

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


More information about the wp-trac mailing list