Skip to content

Commit 1fcdbf7

Browse files
author
Erika Gili
committed
Remove default available translation for plugins and themes
1 parent 257b536 commit 1fcdbf7

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎src/WP_CLI/CommandWithTranslation.php‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,6 @@ protected function download_language_pack( $download, $slug = null ) {
251251
protected function get_installed_languages( $slug = 'default' ) {
252252
$available = wp_get_installed_translations( $this->obj_type );
253253
$available = ! empty( $available[ $slug ] ) ? array_keys( $available[ $slug ] ) : array();
254-
$available[] = 'en_US';
255254

256255
return $available;
257256
}

0 commit comments

Comments
 (0)