Changeset 54552 for branches/4.1/src/wp-includes/default-widgets.php
- Timestamp:
- 10/17/2022 05:53:02 PM (2 years ago)
- Location:
- branches/4.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.1
- Property svn:mergeinfo changed
/trunk merged: 54521-54523,54525,54527,54529-54530,54541
- Property svn:mergeinfo changed
-
branches/4.1/src/wp-includes/default-widgets.php
r33530 r54552 1019 1019 if ( is_wp_error($rss) ) { 1020 1020 if ( is_admin() || current_user_can('manage_options') ) 1021 echo '<p>' . sprintf( __('<strong>RSS Error</strong>: %s'), $rss->get_error_message() ) . '</p>';1021 echo '<p>' . sprintf( __('<strong>RSS Error</strong>: %s'), esc_html( $rss->get_error_message() ) ) . '</p>'; 1022 1022 return; 1023 1023 } … … 1129 1129 1130 1130 if ( ! empty( $args['error'] ) ) { 1131 echo '<p class="widget-error"><strong>' . sprintf( __( 'RSS Error: %s' ), $args['error']) . '</strong></p>';1131 echo '<p class="widget-error"><strong>' . sprintf( __( 'RSS Error: %s' ), esc_html( $args['error'] ) ) . '</strong></p>'; 1132 1132 } 1133 1133
Note: See TracChangeset
for help on using the changeset viewer.