[wp-trac] [WordPress Trac] #21238: Twenty Twelve: Sticky badge on single view

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 12 21:38:23 UTC 2012


#21238: Twenty Twelve: Sticky badge on single view
---------------------------+------------------
 Reporter:  obenland       |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  3.5
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+------------------

Comment (by DrewAPicture):

 > Lets make our lives a little easier and only check for is_home

 If you're going to go that route, you might as well just mirror the checks
 in post-template.php by adding `! is_paged()`. There are very valid
 reasons you might want to highlight Featured/sticky posts outside the
 homepage. And besides, the lack of 'sticky' post class was the issue on
 archives anyway. :)

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


More information about the wp-trac mailing list