[wp-trac] Re: [WordPress Trac] #7114: do not add whitespace to sep in wp_title()

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 10 22:35:07 GMT 2008


#7114: do not add whitespace to sep in wp_title()
-------------------------+--------------------------------------------------
 Reporter:  mm6          |        Owner:  anonymous
     Type:  enhancement  |       Status:  new      
 Priority:  normal       |    Milestone:  2.7      
Component:  General      |      Version:           
 Severity:  normal       |   Resolution:           
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by mm6):

 Test with default theme and WordPress 2.5.1:

 Pre patch:

 `<title>test  </title>`

 `<title>test   &raquo; 2008&raquo; June</title>`

 `<title>test   &raquo; Uncategorized</title>`

 `<title>test  &raquo; Blog Archive   &raquo; Hello world!</title>`

 Post patch (remaining extra spaces can be fixed in theme):

 `<title>test  </title>`

 `<title>test   &raquo; 2008 &raquo; June</title>`

 `<title>test   &raquo; Uncategorized</title>`

 `<title>test  &raquo; Blog Archive   &raquo; Hello world!</title>`

 Example of separator without any whitespace:

 `<title>test  </title>`

 `<title>test  XXX2008XXXJune</title>`

 `<title>test  XXXUncategorized</title>`

 `<title>test  &raquo; Blog Archive  XXXHello world!</title>`

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7114#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list