[wp-trac] [WordPress Trac] #18548: Add a better option for <title> tags
WordPress Trac
wp-trac at lists.automattic.com
Tue Aug 30 20:32:15 UTC 2011
#18548: Add a better option for <title> tags
-------------------------+------------------------------------------------
Reporter: joostdevalk | Owner: joostdevalk
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Template | Version: 3.3
Severity: normal | Keywords: has-patch dev-feedback needs-codex
-------------------------+------------------------------------------------
Right now, title tags in themes are created by using wp_title and than
adding on custom code, usually bloginfo('name'), sometimes other code.
Because there's basically no way for a plugin to control the entire
content of a title tag, all major SEO plugins resort to output buffering.
A better way would be to output the <title> tag during the run of wp_head,
based on whether the current theme has added theme_support. See attached
patch for the proposed implementation. This patch also fixes the requested
array filter in #17877.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18548>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list