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

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 9 12:24: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 F J Kaiser):

 I still don't get why this is ''really'' needed. Teaching devs is what
 codex is for and not the core itself. And if you really want to teach
 people directly through template tags, use {{{_doing_it_wrong();}}} and
 extend the {{{wp_title();}}} function.

 This is the first function I see in core that is a "''parallel''"
 function. Normally core has wrapper functions for such stuff. Example:
 {{{function wp_title_tag() { echo '<title>'.wp_title( null, false
 ).'</title>'; }}}}. If you want to add fancy stuff in there: fine. But
 actually doubling most part of the ''original'' function makes imo no
 sense.

 @joostdevalk: You still didn't answer any of my above concerns or discuss
 any of the suggestions I made or alternatives I offered. This gives me the
 feeling that it's just about "boxing" this through.

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


More information about the wp-trac mailing list