Changeset 56494
- Timestamp:
- 08/30/2023 08:23:18 PM (15 months ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r56474 r56494 3614 3614 if ( wp_get_referer() ) { 3615 3615 $wp_http_referer = remove_query_arg( 'updated', wp_get_referer() ); 3616 $wp_http_referer = wp_validate_redirect( esc_url_raw( $wp_http_referer ) );3616 $wp_http_referer = wp_validate_redirect( sanitize_url( $wp_http_referer ) ); 3617 3617 3618 3618 $html .= '</p><p>'; -
trunk/src/wp-includes/update.php
r56341 r56494 755 755 } 756 756 757 $hostname = wp_parse_url( esc_url_raw( $theme_data['UpdateURI'] ), PHP_URL_HOST );757 $hostname = wp_parse_url( sanitize_url( $theme_data['UpdateURI'] ), PHP_URL_HOST ); 758 758 759 759 /**
Note: See TracChangeset
for help on using the changeset viewer.