Changeset 54558 for branches/4.4/src/wp-includes/widgets.php
- Timestamp:
- 10/17/2022 06:00:49 PM (3 years ago)
- Location:
- branches/4.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.4
- Property svn:mergeinfo changed
/trunk merged: 54521-54523,54525-54527,54529-54530,54541
- Property svn:mergeinfo changed
-
branches/4.4/src/wp-includes/widgets.php
r36148 r54558 1222 1222 if ( is_wp_error($rss) ) { 1223 1223 if ( is_admin() || current_user_can('manage_options') ) 1224 echo '<p>' . sprintf( __('<strong>RSS Error</strong>: %s'), $rss->get_error_message() ) . '</p>';1224 echo '<p>' . sprintf( __('<strong>RSS Error</strong>: %s'), esc_html( $rss->get_error_message() ) ) . '</p>'; 1225 1225 return; 1226 1226 } … … 1331 1331 1332 1332 if ( ! empty( $args['error'] ) ) { 1333 echo '<p class="widget-error"><strong>' . sprintf( __( 'RSS Error: %s' ), $args['error']) . '</strong></p>';1333 echo '<p class="widget-error"><strong>' . sprintf( __( 'RSS Error: %s' ), esc_html( $args['error'] ) ) . '</strong></p>'; 1334 1334 } 1335 1335
Note: See TracChangeset
for help on using the changeset viewer.