[wp-trac] [WordPress Trac] #28006: Add visual cues when viewing drafts on the frontend
WordPress Trac
noreply at wordpress.org
Sat Jul 19 00:25:25 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 commit | Focuses: template
-------------------------------+--------------------------
Comment (by SergeyBiryukov):
Replying to [comment:10 hlashbrooke]:
> 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.
As noted in comment:9, it's possible to do that with `post_class()`. It's
also trivial to add it via `body_class` filter if necessary, so I'm going
to revert [28963] completely.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28006#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list