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

WordPress Trac noreply at wordpress.org
Tue Jan 12 17:37:54 UTC 2016


#19674: Do not prefix wp_title() with spaces if $sep is empty
----------------------------+-----------------------------
 Reporter:  SergeyBiryukov  |       Owner:  obenland
     Type:  defect (bug)    |      Status:  reviewing
 Priority:  normal          |   Milestone:  Future Release
Component:  Themes          |     Version:  2.0
 Severity:  trivial         |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+-----------------------------

Comment (by obenland):

 Hm, I'm not sure how much of an issue this really is in
 `wp_document_title()`. If the separator happens to be empty, the double
 space is only inserted between title parts, never before or after. This
 seems to be more of an issue with `wp_title()`'s `$prefix` content.

 Does this need fixing at all? It's not something that is visible in
 browser tabs, is it?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/19674#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list