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

WordPress Trac noreply at wordpress.org
Fri Jul 11 10:34:54 UTC 2025


#9993: Rss and atom feeds are dropping some characters
-------------------------------------------------+-------------------------
 Reporter:  pm24601                              |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Feeds                                |     Version:  2.7.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-      |     Focuses:
  testing needs-refresh has-test-info            |
-------------------------------------------------+-------------------------
Changes (by sukhendu2002):

 * keywords:  has-patch has-unit-tests needs-testing needs-refresh => has-
     patch has-unit-tests needs-testing needs-refresh has-test-info


Comment:

 == Reproduction Report
 === Description
 This report validates whether the issue can be reproduced.

 === Environment
 - WordPress: 6.9-alpha-60093-src
 - PHP: 8.2.29
 - Server: nginx/1.29.0
 - Database: mysqli (Server: 8.4.5 / Client: mysqlnd 8.2.29)
 - Browser: Chrome 138.0.0.0
 - OS: macOS
 - Theme: Twenty Fifteen 4.0
 - MU Plugins: None activated
 - Plugins:
   * Hello Dolly 1.7.2
   * Test Reports 1.2.0

 === Actual Results
 ✅ **Error condition does not occur .**
    - When creating a post with the title `& > test <`, the generated
 RSS/Atom feed encodes the `<` character as `<` (numeric entity), not
 as a missing or stripped character.
    - The feed output is:
      ```xml
      <title>
      Comments on: & > test <
      </title>
      ```
    - The `<` character is present and correctly encoded, not stripped.

 === Additional Notes
 - The original concern was that `<` was missing from the feed output.
 However, with the current filter configuration, `<` is encoded as
 `<`.

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


More information about the wp-trac mailing list