Ticket #63611: 63611-wp_widget_rss_output-html-entity-fix.patch
| File 63611-wp_widget_rss_output-html-entity-fix.patch, 476 bytes (added by , 12 months ago) |
|---|
| Line | |
|---|---|
| 1 | diff --git a/src/wp-includes/widgets.php b/src/wp-includes/widgets.php |
| 2 | index abcdef0..1234567 100644 |
| 3 | --- a/src/wp-includes/widgets.php |
| 4 | +++ b/src/wp-includes/widgets.php |
| 5 | @@ function wp_widget_rss_output( $rss, $args = array() ) { |
| 6 | |
| 7 | if ( ! empty( $title ) ) { |
| 8 | - $title = esc_html( $title ); |
| 9 | + $title = force_balance_tags( $title ); |
| 10 | } |
| 11 | |
| 12 | if ( ! empty( $desc ) ) { |
| 13 | - $desc = esc_html( $desc ); |
| 14 | + $desc = force_balance_tags( $desc ); |
| 15 | } |
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)