Changeset 54557 for branches/4.3/src/wp-includes/default-widgets.php
- Timestamp:
- 10/17/2022 05:59:19 PM (4 years ago)
- Location:
- branches/4.3
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/default-widgets.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.3
- Property svn:mergeinfo changed
/trunk merged: 54521-54523,54525-54527,54529-54530,54541
- Property svn:mergeinfo changed
-
branches/4.3/src/wp-includes/default-widgets.php
r33942 r54557 1194 1194 if ( is_wp_error($rss) ) { 1195 1195 if ( is_admin() || current_user_can('manage_options') ) 1196 echo '<p>' . sprintf( __('<strong>RSS Error</strong>: %s'), $rss->get_error_message() ) . '</p>';1196 echo '<p>' . sprintf( __('<strong>RSS Error</strong>: %s'), esc_html( $rss->get_error_message() ) ) . '</p>'; 1197 1197 return; 1198 1198 } … … 1304 1304 1305 1305 if ( ! empty( $args['error'] ) ) { 1306 echo '<p class="widget-error"><strong>' . sprintf( __( 'RSS Error: %s' ), $args['error']) . '</strong></p>';1306 echo '<p class="widget-error"><strong>' . sprintf( __( 'RSS Error: %s' ), esc_html( $args['error'] ) ) . '</strong></p>'; 1307 1307 } 1308 1308
Note:
See TracChangeset
for help on using the changeset viewer.