Changeset 54554 for branches/4.2/src/wp-includes/default-widgets.php
- Timestamp:
- 10/17/2022 05:55:03 PM (2 years ago)
- Location:
- branches/4.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.2
- Property svn:mergeinfo changed
/trunk merged: 54521-54523,54525,54527,54529-54530,54541
- Property svn:mergeinfo changed
-
branches/4.2/src/wp-includes/default-widgets.php
r33529 r54554 1055 1055 if ( is_wp_error($rss) ) { 1056 1056 if ( is_admin() || current_user_can('manage_options') ) 1057 echo '<p>' . sprintf( __('<strong>RSS Error</strong>: %s'), $rss->get_error_message() ) . '</p>';1057 echo '<p>' . sprintf( __('<strong>RSS Error</strong>: %s'), esc_html( $rss->get_error_message() ) ) . '</p>'; 1058 1058 return; 1059 1059 } … … 1165 1165 1166 1166 if ( ! empty( $args['error'] ) ) { 1167 echo '<p class="widget-error"><strong>' . sprintf( __( 'RSS Error: %s' ), $args['error']) . '</strong></p>';1167 echo '<p class="widget-error"><strong>' . sprintf( __( 'RSS Error: %s' ), esc_html( $args['error'] ) ) . '</strong></p>'; 1168 1168 } 1169 1169
Note: See TracChangeset
for help on using the changeset viewer.