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

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 30 21:36:17 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 nacin):

 The idea is that _wp_render_title_tag() is an internal function to WP
 only. If anything, I'd be willing to include a doing_action() call in
 there just so it needs to be called on wp_head and can't be abused. So -1
 to an echo parameter.

 We should also force the add_theme_support to be done befoe or on init, to
 prevent it from being added in header.php or template_redirect to ensure
 it is accessible from the backend for future compatibility.

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


More information about the wp-trac mailing list