Changeset 5571
- Timestamp:
- 06/15/2017 01:03:19 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-template.php
r5570 r5571 642 642 wp_cache_add_global_groups( array( 'locale-associations' ) ); 643 643 644 if ( false === ( $sites = wp_cache_get( 'local-sites ', 'locale-associations' ) ) ) {644 if ( false === ( $sites = wp_cache_get( 'local-sites-'.get_post()->post_name, 'locale-associations' ) ) ) { 645 645 646 646 // get subdomain/locale associations … … 689 689 } ); 690 690 691 692 wp_cache_set( 'local-sites', $sites, 'locale-associations' ); 691 wp_cache_set( 'local-sites-'.get_post()->post_name, $sites, 'locale-associations', DAY_IN_SECONDS ); 693 692 } 694 693
Note: See TracChangeset
for help on using the changeset viewer.