[wp-trac] [WordPress Trac] #18548: Add a better option for <title> tags

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 5 23:47:55 UTC 2011


#18548: Add a better option for <title> tags
------------------------------------------------+--------------------------
 Reporter:  joostdevalk                         |       Owner:  joostdevalk
     Type:  enhancement                         |      Status:  new
 Priority:  normal                              |   Milestone:  Awaiting
Component:  Template                            |  Review
 Severity:  normal                              |     Version:  3.3
 Keywords:  has-patch dev-feedback needs-codex  |  Resolution:
------------------------------------------------+--------------------------

Comment (by F J Kaiser):

 Replying to [comment:45 joostdevalk]:
 > The issue is, we can't from one release to another suddenly change the
 way we do things.

 Haven't we already had {{{twentyten_filter_wp_title();}}}? Correct me if
 I'm wrong.

 Leaving this aside: What will then happen when we got Twenty Twelve? Will
 we then remove this ''"feature"'' from core again?

 As you're already brought {{{add_theme_support();}}} in your patch, why
 not add {{{wp_render_title_tag();}}} into the functions.php file of Twenty
 Eleven encapsuled into something like {{{if ( current_theme_supports(
 'title_tag', array( $args ) ) ) { add_filter( ...etc... ); }}}} so child
 themes could use it adding a single call to theme support to gain the
 advantage. This wouldn't break anything, leaves core un''bloated'' & we
 could finally move a better title tag into Twenty Tweleve that is
 activated by default.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18548#comment:47>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list