Changeset 2343
- Timestamp:
- 01/20/2016 11:18:28 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-plugin-directory/cli/import-plugin-translations.php
r2307 r2343 35 35 } 36 36 37 $locale = GP_Locales::by_field( 'wp_locale', $args[ 0] );37 $locale = GP_Locales::by_field( 'wp_locale', $args[1] ); 38 38 if ( ! $locale ) { 39 $locale = GP_Locales::by_field( 'slug', $args[ 0] );39 $locale = GP_Locales::by_field( 'slug', $args[1] ); 40 40 } 41 41
Note: See TracChangeset
for help on using the changeset viewer.