[wp-trac] [WordPress Trac] #23230: Change hyphen in front of "Draft" to em dash
WordPress Trac
noreply at wordpress.org
Mon Dec 9 02:56:07 UTC 2013
#23230: Change hyphen in front of "Draft" to em dash
--------------------------------------------+------------------------------
Reporter: kkalvaa | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Text Changes | Version: 3.5
Severity: normal | Resolution:
Keywords: ui-focus ui-feedback has-patch |
--------------------------------------------+------------------------------
Comment (by netweb):
I have been looking for a way to do something similar and I would suggest
that this should be filterable so text/icons can be used before/after the
title for the _post_state/_media_state, similar to the way the post format
icons are used in the posts section.
As you can see in
[http://core.trac.wordpress.org/attachment/ticket/23230/display_post_states.png
display_post_states.png] the existing post-format icons in the posts
section. Then below using bbPress 'Topics' section (post_type=topic) it is
easy enough for suffix the title with custom text based on the post_state
with or without CSS styling per 1 & 2. For 3 though getting an icon before
the title is not currently possible.
Also as seen in 1 & 2 you cannot actually remove the ' - ' so the added
benefit here as per the original ticket if you want to use an 'em dash'
instead of a 'hyphen' this would also allow for that and still be
translatable also.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23230#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list