[wp-trac] [WordPress Trac] #28006: Add visual cues when viewing drafts on the frontend

WordPress Trac noreply at wordpress.org
Thu Apr 24 09:51:08 UTC 2014


#28006: Add visual cues when viewing drafts on the frontend
-------------------------------+------------------------------
 Reporter:  hlashbrooke        |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:  template
-------------------------------+------------------------------

Comment (by hlashbrooke):

 Replying to [comment:2 johnbillion]:
 > Makes sense. We should do this in the same way we do it for private
 posts; prefix the status in `get_the_title()`.
 [https://core.trac.wordpress.org/browser/tags/3.9/src/wp-includes/post-
 template.php#L123 See here].

 I considered that, but I was trying to make sure that the draft posts look
 identical to how they will look after they're published and prefixing the
 title seemed a bit too intrusive. Maybe not though - happy to add that
 into the patch as well :)

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


More information about the wp-trac mailing list