From 98111ddf95dc737a4bee620bc69cfd4caf33252a Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 1 Jun 2010 15:03:49 +0000 Subject: [PATCH] Don't add sticky class if is_paged(). Props iandstewart. fixes #13666 git-svn-id: http://svn.automattic.com/wordpress/trunk@15088 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index a459df0bd..6230106ba 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -318,7 +318,7 @@ function get_post_class( $class = '', $post_id = null ) { $classes[] = 'type-' . $post->post_type; // sticky for Sticky Posts - if ( is_sticky($post->ID) && is_home()) + if ( is_sticky($post->ID) && is_home() && !is_paged() ) $classes[] = 'sticky'; // hentry for hAtom compliace