[wp-trac] [WordPress Trac] #9993: Rss and atom feeds are dropping some characters

WordPress Trac noreply at wordpress.org
Sun Jul 17 17:29:53 UTC 2016


#9993: Rss and atom feeds are dropping some characters
--------------------------------------+-----------------------------
 Reporter:  pm24601                   |       Owner:  stevenkword
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  Future Release
Component:  Feeds                     |     Version:  2.7.1
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------
Changes (by ocean90):

 * milestone:  4.6 => Future Release


Comment:

 Replying to [comment:28 stevenkword]:
 > How would you feel about str_replace() those explicity rather than
 running them through strip_tags()?

 Those were just two examples, it can be any HTML.

 Maybe we can add another filter for `the_title_rss` which runs before
 `strip_tags()` and encodes `<` which are not part of a HTML tag as `<`.

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


More information about the wp-trac mailing list