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

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 30 22:40:22 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 mikeschinkel):

 Replying to [comment:21 joostdevalk]:
 > That's why, in fact, I tend to agree with nacin that we probably
 shouldn't even allow the removal of the title altogether...

 There's a lot of code in your patch, and while I agree with the need to at
 least call `'wp_title'` I'd like to see a bypass of the rest of the code
 for those pages that don't need all of your new code to run.

 Maybe pass the results returned by the `'pre_wp_title_tag'` hook through
 the `'wp_title_tag'` hook instead of just echoing the results and instead
 of not having a `'pre_wp_title_tag'` hook.

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


More information about the wp-trac mailing list