Changeset 39344
- Timestamp:
- 11/23/2016 02:54:24 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/wp-api.js
r39051 r39344 1018 1018 1019 1019 // Store a copy of the schema model in the session cache if available. 1020 if ( ! _.isUndefined( sessionStorage ) && wpApiSettings.cacheSchema) {1020 if ( ! _.isUndefined( sessionStorage ) && ( _.isUndefined( wpApiSettings.cacheSchema ) || wpApiSettings.cacheSchema ) ) { 1021 1021 try { 1022 1022 sessionStorage.setItem( 'wp-api-schema-model' + model.get( 'apiRoot' ) + model.get( 'versionString' ), JSON.stringify( newSchemaModel ) );
Note: See TracChangeset
for help on using the changeset viewer.