[wp-trac] [WordPress Trac] #21238: Twenty Twelve: Sticky badge on single view
WordPress Trac
wp-trac at lists.automattic.com
Wed Jul 18 16:30:54 UTC 2012
#21238: Twenty Twelve: Sticky badge on single view
---------------------------+---------------------------
Reporter: obenland | Owner: lancewillett
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.5
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: has-patch |
---------------------------+---------------------------
Comment (by nacin):
I don't really like [21263]. <article> uses post_class() which means it
will receive the .sticky class if `is_sticky() && is_home() && !
is_paged()`. If we can make this markup redundant, then this conditional
is also redundant. I would rather rely on the existing classes than
creating a new div and our own class.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21238#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list