[wp-trac] [WordPress Trac] #22362: Titles of RSS feeds lacks spacing - words are run together

WordPress Trac noreply at wordpress.org
Tue May 27 16:10:22 UTC 2014


#22362: Titles of RSS feeds lacks spacing - words are run together
---------------------------+--------------------
 Reporter:  DavidAnderson  |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  4.0
Component:  Feeds          |     Version:  3.4.2
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+--------------------
Changes (by SergeyBiryukov):

 * keywords:   => has-patch
 * milestone:  Awaiting Review => 4.0


Comment:

 Could not reproduce with default themes.

 `get_wp_title_rss()` has `»` as a default separator:
 [source:tags/3.9.1/src/wp-includes/feed.php#L91].

 This is the same issue as in #21366. It only happens if the theme has a
 custom function attached to `wp_title`, and that function doesn't include
 an `is_feed()` check (as in [21276]). The fix for the theme would be like
 [21327].

 If #21366 is not an option due to backwards compatibility issues, we could
 probably enforce the separator in `get_wp_title_rss()` if the filtered
 title doesn't start with a space. [attachment:22362.patch] does that.

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


More information about the wp-trac mailing list