Changeset 9013 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-template.php
- Timestamp:
- 07/02/2019 04:26:17 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
r9012 r9013 858 858 foreach ( $sites as $key => $site ) { 859 859 $gp_locale = \GP_Locales::by_field( 'wp_locale', $site->wp_locale ); 860 if ( empty( $gp_locale ) ) {860 if ( empty( $gp_locale ) || ! isset( $subdomains[ $site->wp_locale ] ) ) { 861 861 unset( $sites[ $key ] ); 862 862 continue;
Note: See TracChangeset
for help on using the changeset viewer.