Changeset 37775 for branches/4.0/src/wp-admin/customize.php
- Timestamp:
- 06/21/2016 02:18:28 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.0/src/wp-admin/customize.php
r29610 r37775 19 19 wp_reset_vars( array( 'url', 'return' ) ); 20 20 $url = wp_unslash( $url ); 21 $url = esc_url_raw( $url ); 21 22 $url = wp_validate_redirect( $url, home_url( '/' ) ); 22 23 if ( $return ) { 23 24 $return = wp_unslash( $return ); 25 $return = esc_url_raw( $return ); 24 26 $return = wp_validate_redirect( $return ); 25 27 }
Note: See TracChangeset
for help on using the changeset viewer.