[wp-trac] [WordPress Trac] #15899: Allow wp_title() to display cleaner titles for post_format archives.
WordPress Trac
wp-trac at lists.automattic.com
Sun Dec 19 20:10:49 UTC 2010
#15899: Allow wp_title() to display cleaner titles for post_format archives.
------------------------------------+------------------
Reporter: mfields | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.1
Component: Taxonomy | Version: 3.1
Severity: normal | Resolution:
Keywords: dev-feedback has-patch |
------------------------------------+------------------
Comment (by mfields):
markjaquith - get_post_format() calls get_the_terms() and then filters the
value of name:
{{{
str_replace('post-format-', '', $format->name )
}}}
I think it might be a good idea to remove this filter from
get_post_format() and apply it directly to the "name" property of the term
object in get_term(), get_terms() and get_the_terms(). What do you think?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15899#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list