[wp-trac] [WordPress Trac] #13666: "sticky" shouldn't be added to paged posts
WordPress Trac
wp-trac at lists.automattic.com
Mon May 31 23:29:35 UTC 2010
#13666: "sticky" shouldn't be added to paged posts
--------------------------+-------------------------------------------------
Reporter: iandstewart | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: Themes | Version:
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
Sticky posts are routinely styled by WordPress themers with the "sticky"
class added to get_post_class if a post is sticky and it's in the blog
loop (is_home). But, currently, that means paged posts are also getting
"sticky" styles and appearing like "sticky" posts out of joint.
Attached is a diff checking to see if a post is paged before adding sticky
to the array of post classes
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13666>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list