Changeset 54559 for branches/5.4/src/wp-includes/widgets.php
- Timestamp:
- 10/17/2022 06:01:26 PM (14 months ago)
- Location:
- branches/5.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.4
- Property svn:mergeinfo changed
/trunk merged: 54521-54530,54541
- Property svn:mergeinfo changed
-
branches/5.4/src/wp-includes/widgets.php
r47122 r54559 1497 1497 if ( is_wp_error( $rss ) ) { 1498 1498 if ( is_admin() || current_user_can( 'manage_options' ) ) { 1499 echo '<p><strong>' . __( 'RSS Error:' ) . '</strong> ' . $rss->get_error_message() . '</p>';1499 echo '<p><strong>' . __( 'RSS Error:' ) . '</strong> ' . esc_html( $rss->get_error_message() ) . '</p>'; 1500 1500 } 1501 1501 return; … … 1620 1620 1621 1621 if ( ! empty( $args['error'] ) ) { 1622 echo '<p class="widget-error"><strong>' . __( 'RSS Error:' ) . '</strong> ' . $args['error']. '</p>';1622 echo '<p class="widget-error"><strong>' . __( 'RSS Error:' ) . '</strong> ' . esc_html( $args['error'] ) . '</p>'; 1623 1623 } 1624 1624
Note: See TracChangeset
for help on using the changeset viewer.