Changeset 7556 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/functions.php
- Timestamp:
- 07/31/2018 06:00:16 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/functions.php
r7553 r7556 40 40 ); 41 41 42 if ( options.method !== "GET" && ! isWhitelistedEndpoint ) {42 if ( options.method && options.method !== "GET" && ! isWhitelistedEndpoint ) { 43 43 return Promise.resolve( options.data ); // This works in enough cases to be the default return value. 44 44 }
Note: See TracChangeset
for help on using the changeset viewer.