Changeset 40305 for trunk/src/wp-includes/ms-default-filters.php
- Timestamp:
- 03/19/2017 04:21:38 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-default-filters.php
r34251 r40305 85 85 remove_filter( 'option_home', '_config_wp_home' ); 86 86 87 // Some options changes should trigger blog details refresh. 88 add_action( 'update_option_blogname', 'refresh_blog_details', 10, 0 ); 89 add_action( 'update_option_siteurl', 'refresh_blog_details', 10, 0 ); 90 add_action( 'update_option_post_count', 'refresh_blog_details', 10, 0 ); 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 ); 91 92 92 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.