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

WordPress Trac noreply at wordpress.org
Fri Jul 11 06:18:21 UTC 2014


#28006: Add visual cues when viewing drafts on the frontend
------------------------------------------+--------------------------
 Reporter:  hlashbrooke                   |       Owner:  johnbillion
     Type:  enhancement                   |      Status:  reopened
 Priority:  normal                        |   Milestone:  4.0
Component:  Posts, Post Types             |     Version:  3.9
 Severity:  normal                        |  Resolution:
 Keywords:  has-patch revert 2nd-opinion  |     Focuses:  template
------------------------------------------+--------------------------

Comment (by hlashbrooke):

 Even though I wrote this patch, I do tend to agree with Brian on this too.
 My initial patch was to prepend the title with '(Draft)' - also none too
 elegant, but it would have made title wrapping easier to predict.

 My suggestion would be to remove the 'Draft:' text from the title, but
 keep the body class as this would give themes a way to modify the display
 slightly for any status. This simplifies the patch somewhat, but right now
 I can't think of another way of indicating that the post is a draft. Happy
 to take suggestions on that :)

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


More information about the wp-trac mailing list