WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/25/2017 03:30:41 PM (3 years ago)
Author:
swissspidy
Message:

Multisite: After [40305], rename clean_site_details_cache() method as it's not really private.

See #40063.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ms-default-filters.php

    r40305 r40333  
    8686
    8787// 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 );
     88add_action( 'update_option_blogname',   'clean_site_details_cache', 10, 0 );
     89add_action( 'update_option_siteurl',    'clean_site_details_cache', 10, 0 );
     90add_action( 'update_option_post_count', 'clean_site_details_cache', 10, 0 );
     91add_action( 'update_option_home',       'clean_site_details_cache', 10, 0 );
    9292
    9393// 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.