Changeset 53455 for trunk/src/wp-includes/script-loader.php
- Timestamp:
- 06/01/2022 06:12:25 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r53331 r53455 338 338 sprintf( 339 339 'wp.apiFetch.use( wp.apiFetch.createRootURLMiddleware( "%s" ) );', 340 esc_url_raw( get_rest_url() )340 sanitize_url( get_rest_url() ) 341 341 ), 342 342 'after' … … 751 751 'wpApiSettings', 752 752 array( 753 'root' => esc_url_raw( get_rest_url() ),753 'root' => sanitize_url( get_rest_url() ), 754 754 'nonce' => wp_installing() ? '' : wp_create_nonce( 'wp_rest' ), 755 755 'versionString' => 'wp/v2/',
Note: See TracChangeset
for help on using the changeset viewer.