[wp-trac] [WordPress Trac] #19674: Do not prefix wp_title() with spaces if $sep is empty
WordPress Trac
noreply at wordpress.org
Mon Oct 28 12:41:10 UTC 2013
#19674: Do not prefix wp_title() with spaces if $sep is empty
-----------------------------------+-----------------------------
Reporter: SergeyBiryukov | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Themes | Version: 2.0
Severity: trivial | Resolution:
Keywords: has-patch 2nd-opinion |
-----------------------------------+-----------------------------
Comment (by chipbennett):
Replying to [comment:1 nacin]:
> Wondering if one space might still be expected by themes. For example,
if bloginfo('name') is used before wp_title('');
Themes should not be putting anything other than `<?php wp_title(); ?>`
inside of the HTML `<title></title>` tags. Adding `bloginfo( 'name' )`
should be done via `wp_title` filter, even in Themes. Note that this is
enforced in the Theme Review guidelines, so if that use case the only
impediment, I would recommend not holding up this patch because of it.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19674#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list