[wp-trac] [WordPress Trac] #23559: Sticky single post page doesn't have .sticky class

WordPress Trac noreply at wordpress.org
Wed Oct 1 13:12:16 UTC 2014


#23559: Sticky single post page doesn't have .sticky class
-------------------------------+------------------------------
 Reporter:  sgr33n             |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  2.7
 Severity:  normal             |  Resolution:
 Keywords:  2nd-opinion        |     Focuses:  template
-------------------------------+------------------------------

Comment (by obenland):

 Replying to [comment:6 sgr33n]:
 > why this choice to exclude is_single().

 Sticky posts are meant as a way to bump the priority of a specific post,
 regardless of the date it was published and its place in the timeline.
 Since it only has to be distinguished when displayed among other posts,
 there is no immediate need for that information on single where it is the
 only post displayed.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/23559#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list