[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 19:31:06 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):
If I understand correctly, it would be better to filter get_terms()
instead. If so, would it make sense to use one of the following hooks?
{{{
$_term = apply_filters('get_term', $_term, $taxonomy);
$_term = apply_filters("get_$taxonomy", $_term, $taxonomy);
$_term = sanitize_term($_term, $taxonomy, $filter);
}}}
If so, I can whip up another patch.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15899#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list