[wp-trac] [WordPress Trac] #12370: We need a smarter version of wp_title() and a few other template tags
WordPress Trac
wp-trac at lists.automattic.com
Mon May 3 23:07:13 UTC 2010
#12370: We need a smarter version of wp_title() and a few other template tags
--------------------------+-------------------------------------------------
Reporter: Viper007Bond | Owner: hallsofmontezuma
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 3.0
Component: Template | Version: 3.0
Severity: major | Keywords: needs-patch blocker
--------------------------+-------------------------------------------------
Comment(by hallsofmontezuma):
@aaroncampbell
I'm working on this also. Here are some of my thoughts on your comments.
1. yes
2. Like Denis-de-Bernardy said, 2010 should be a model, so it shouldn't
have its own logic to do things that should be done by wp_title anyway.
All this stuff should be stripped out. Ideally twentyten should have
<title><?php wp_title(); ?></title> with everything being correctly
handled by (a better) wp_title itself. Anything custom a person wants
should go in a plugin.
3. see #2
4. We need to clean this up so that the separator should only go in
between each element.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12370#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list