Changeset 40333
- Timestamp:
- 03/25/2017 03:30:41 PM (4 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-blogs.php
r40305 r40333 477 477 * 478 478 * @since 4.7.4 479 * @private480 479 * 481 480 * @param int $site_id Optional. Site ID. Default is the current site ID. 482 481 */ 483 function _clean_site_details_cache( $site_id = 0 ) {482 function clean_site_details_cache( $site_id = 0 ) { 484 483 $site_id = (int) $site_id; 485 484 if ( ! $site_id ) { -
trunk/src/wp-includes/ms-default-filters.php
r40305 r40333 86 86 87 87 // Some options changes should trigger site details refresh. 88 add_action( 'update_option_blogname', ' _clean_site_details_cache', 10, 0 );89 add_action( 'update_option_siteurl', ' _clean_site_details_cache', 10, 0 );90 add_action( 'update_option_post_count', ' _clean_site_details_cache', 10, 0 );91 add_action( 'update_option_home', ' _clean_site_details_cache', 10, 0 );88 add_action( 'update_option_blogname', 'clean_site_details_cache', 10, 0 ); 89 add_action( 'update_option_siteurl', 'clean_site_details_cache', 10, 0 ); 90 add_action( 'update_option_post_count', 'clean_site_details_cache', 10, 0 ); 91 add_action( 'update_option_home', 'clean_site_details_cache', 10, 0 ); 92 92 93 93 // If the network upgrade hasn't run yet, assume ms-files.php rewriting is used.
Note: See TracChangeset
for help on using the changeset viewer.