[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:14:56 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 nacin):
Replying to [comment:5 mfields]:
> 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?
Agreed. This should be filtered as low in the stack as possible. We should
skip get_the_terms() and go straight to wp_get_object_terms() I think. So
there and also get_term() and get_terms().
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15899#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list