[wp-trac] [WordPress Trac] #3967: wp_title outputs separator for empty title

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 13 20:22:47 GMT 2007


#3967: wp_title outputs separator for empty title
----------------------+-----------------------------------------------------
 Reporter:  dwc       |       Owner:  anonymous
     Type:  defect    |      Status:  new      
 Priority:  low       |   Milestone:  2.0.10   
Component:  Template  |     Version:           
 Severity:  normal    |    Keywords:           
----------------------+-----------------------------------------------------
 It appears that [5010] caused some changes in how `wp_title` works;
 specifically, the separator is returned even when no title exists (e.g. on
 the blog home page).  For example:

 University of Florida News -

 Additionally the `$posts` global (used in the `is_single() || is_page()`
 branch) was removed from the list, which broke titles in additional cases.

 Patch attached.

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


More information about the wp-trac mailing list