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

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 10 01:26:38 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       |    Keywords:           
-------------------------+--------------------------------------------------
 wp_title() includes spaces in some places where I don't want them and
 leaves out spaces in some places where I do want them. This patch changes
 wp_title() to use exactly what is passed in for a sep without adding any
 whitespace to it. This gives the caller better control over the separator.

 Example of too much whitespace:

 `<title>mmb  &raquo; Blog Archive   &raquo; python twitter client /
 module</title>`

 Example of not enough whitespace:

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

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


More information about the wp-trac mailing list