[wp-trac] [WordPress Trac] #18548: Add a better option for <title> tags
WordPress Trac
wp-trac at lists.automattic.com
Tue Aug 30 21:49:02 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 greenshady):
+1 to this idea.
I tend to lean toward using a function within the theme between `<title>`
tags. Using `add_theme_support()` and having WP automatically put the
title in there is great for backwards compatibility until you look at
child themes.
If a user overwrote `header.php` within their child theme but their parent
theme updated to use the new functionality, the user would have two
`<title>` tags. If we just create a replacement function for
`wp_title()`, this won't be a problem. The user will still use old
functionality if they overwrote `header.php` in their child theme, but at
least they'd only have a single `<title>` tag.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18548#comment:25>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list