Changeset 52311 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php
- Timestamp:
- 12/03/2021 11:34:55 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php
r52008 r52311 452 452 */ 453 453 private function get_cache( $key ) { 454 return get_ transient( $key );454 return get_site_transient( $key ); 455 455 } 456 456 … … 479 479 $cache_expiration = apply_filters( 'rest_url_details_cache_expiration', $ttl ); 480 480 481 return set_ transient( $key, $data, $cache_expiration );481 return set_site_transient( $key, $data, $cache_expiration ); 482 482 } 483 483
Note: See TracChangeset
for help on using the changeset viewer.