[wp-trac] [WordPress Trac] #18548: Add a better option for <title> tags
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 31 06:40:01 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:33 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'` .
We're not going to use wp_title or any of its filters. The reason for that
is there have been several attempts at doing that and they all break
because of how wp_title is used in plugins. A patch to do that by Nacin a
while back actually had to be reverted because of it. So you can rule that
one out.
I do understand what [comment:25 greenshady] is saying, we'll have to give
that another thought. If we opt for a template tag I would opt for one
that outputs the <title> tag, so the only way of changing the title is
still by applying filters to the content and giving plugins access to the
entirety of the title tag content as well as allowing us to change title
structures from the backend as [comment:13 Jane] suggested.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18548#comment:34>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list