[wp-trac] [WordPress Trac] #19674: Do not prefix wp_title() with spaces if $sep is empty

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 27 05:14:24 UTC 2011


#19674: Do not prefix wp_title() with spaces if $sep is empty
----------------------------+-----------------------
 Reporter:  SergeyBiryukov  |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  3.4
Component:  Themes          |    Version:  2.0
 Severity:  trivial         |   Keywords:  has-patch
----------------------------+-----------------------
 1. Add `wp_title('')` to `header.php`.
 2. Notice two spaces before the title:
 {{{
 <title>  Hello World</title>
 }}}

 This was previously brought up in #7114, but the fix suggested there
 wasn't backward compatible.

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


More information about the wp-trac mailing list