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

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 30 20:48:25 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):

 I have been working with joost on this patch and I really, really like the
 approach.

 I think injecting <title> is the perfect solution here. The <head> is one
 of the messiest aspects of WordPress templating and moving toward theme
 support and wp_head hooks is a really elegant solution.

 The null and false return values that the patch supports is really, really
 clever, though I'd suggest that it should be more explicit showing `false
 !==`. That said, I'm not sure we'd even want to support a plugin from
 bypassing a <title> tag removal with false. Just my take.

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


More information about the wp-trac mailing list