Making WordPress.org


Ignore:
Timestamp:
01/22/2015 09:23:49 PM (12 years ago)
Author:
nacin
Message:

WP i18n Teams: Avoid a notice by skipping sets without a WP locale.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/wp-i18n-teams.php

    r1164 r1170  
    193193                                        continue;
    194194                                }
     195                                if ( ! isset( $set->wp_locale ) ) {
     196                                        continue;
     197                                }
    195198                                if ( ! isset( $counts[ $set->wp_locale ] ) ) {
    196199                                        $counts[ $set->wp_locale ] = array( 'current' => 0, 'total' => 0 );
Note: See TracChangeset for help on using the changeset viewer.