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

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 9 07:07:47 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 joostdevalk):

 Replying to [comment:56 jamalorg]:
 > Well. Introducing a new filterable template tag, probably without args,
 would do no harm. I didn't get the idea of hard-coding `<title></title>`
 tags inside the function. This is annoying approach.

 The reason for doing that is that otherwise the simplest thing to do for
 theme coders would be to add something within the `<title></title>` and
 not using the filters, the way they do now. To prevent that, we output the
 `<title>` completely outside of the theme and force everyone to use the
 filters, thus making sure each and every plugin has access to it.

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


More information about the wp-trac mailing list