Changeset 58069 for trunk/src/wp-admin/customize.php
- Timestamp:
- 05/01/2024 05:59:05 PM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/customize.php
r55917 r58069 85 85 } 86 86 87 88 wp_reset_vars( array( 'url', 'return', 'autofocus' ) ); 87 $url = ! empty( $_REQUEST['url'] ) ? sanitize_text_field( $_REQUEST['url'] ) : ''; 88 $return = ! empty( $_REQUEST['return'] ) ? sanitize_text_field( $_REQUEST['return'] ) : ''; 89 $autofocus = ! empty( $_REQUEST['autofocus'] ) ? sanitize_text_field( $_REQUEST['autofocus'] ) : ''; 90 89 91 if ( ! empty( $url ) ) { 90 92 $wp_customize->set_preview_url( wp_unslash( $url ) );
Note: See TracChangeset
for help on using the changeset viewer.