Changeset 6139 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-template.php
- Timestamp:
- 11/17/2017 10:08:15 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-template.php
r6118 r6139 677 677 wp_cache_add_global_groups( array( 'locale-associations' ) ); 678 678 679 if ( false === ( $sites = wp_cache_get( 'local-sites-' .get_post()->post_name, 'locale-associations' ) ) ) {679 if ( false === ( $sites = wp_cache_get( 'local-sites-' . get_post()->post_name, 'locale-associations' ) ) ) { 680 680 681 681 // get subdomain/locale associations 682 $subdomains = $wpdb->get_results( 'SELECT locale, subdomain FROM locales', OBJECT_K );682 $subdomains = $wpdb->get_results( 'SELECT locale, subdomain FROM wporg_locales', OBJECT_K ); 683 683 684 684 $sites = Plugin_I18n::instance()->get_locales();
Note: See TracChangeset
for help on using the changeset viewer.