[wp-trac] [WordPress Trac] #63611: wp_widget_rss_output: HTML entities that are part of HTML tags should be removed
WordPress Trac
noreply at wordpress.org
Thu Jun 26 04:50:22 UTC 2025
#63611: wp_widget_rss_output: HTML entities that are part of HTML tags should be
removed
-------------------------------------------------+-------------------------
Reporter: wildworks | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.9
Component: Widgets | Version:
Severity: normal | Resolution:
Keywords: needs-unit-tests good-first-bug | Focuses:
has-test-info has-patch |
-------------------------------------------------+-------------------------
Changes (by rollybueno):
* keywords: needs-unit-tests good-first-bug has-test-info has-patch needs-
testing => needs-unit-tests good-first-bug has-test-info has-patch
Comment:
== Test Report
=== Description
This report validates whether the proposed patch resolves the issue
described this ticket.
Patch tested: https://github.com/WordPress/wordpress-develop/pull/9042
=== Environment
- WordPress: 6.9-alpha-60093-src
- PHP: 8.2.28
- Server: nginx/1.27.5
- Database: mysqli (Server: 8.4.5 / Client: mysqlnd 8.2.28)
- Browser: Chrome 137.0.0.0
- OS: Linux
- Theme: Twenty Fifteen 4.0
- MU Plugins: None activated
- Plugins:
âĸ Classic Widgets 0.3
âĸ Test Reports 1.2.0
=== Actual Results
Tested using the same reproduction steps outlined in comment:15.
đ For others testing this patch, please refer to those steps. In my case,
I did not need to repeat them since my local environment was already
configured.
â
The patch resolves the issue.
Escaped HTML entities such as `<em>` in RSS feed titles are now properly
decoded and stripped before display, resulting in clean, readable titles.
=== âšī¸ Additional Notes
- â ī¸ Ensure you are using an older bundled theme (e.g., **Twenty
Fifteen**) that supports classic sidebars.
- â ī¸ Activate the **Classic Widgets** plugin â
https://wordpress.org/plugins/classic-widgets/
- â ī¸ This plugin disables the block-based widget editor to expose the
legacy **RSS Widget**, which is necessary for testing this behavior.
Reference: https://plugins.trac.wordpress.org/browser/classic-
widgets/tags/0.3/classic-widgets.php
=== Supplemental Artifacts
**Trunk** - Literally before the patch
[[Image(https://i.imgur.com/28Em0mB.png)]]
**After fetching the PR patch** - I have outlined the right side of the
screenshot to avoid confusion.
[[Image(https://i.imgur.com/WvdvNcZ.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63611#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list