Changeset 37773
- Timestamp:
- 06/21/2016 02:18:07 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.1/src/wp-admin/customize.php
r30760 r37773 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.