Changeset 39684
- Timestamp:
- 01/05/2017 04:10:03 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r39323 r39684 508 508 did_action( 'init' ) && $scripts->localize( 'wp-api', 'wpApiSettings', array( 509 509 'root' => esc_url_raw( get_rest_url() ), 510 'nonce' => wp_create_nonce( 'wp_rest' ),510 'nonce' => ( wp_installing() && ! is_multisite() ) ? '' : wp_create_nonce( 'wp_rest' ), 511 511 'versionString' => 'wp/v2/', 512 512 ) );
Note: See TracChangeset
for help on using the changeset viewer.