diff --git a/Gruntfile.js b/Gruntfile.js index a13c6e49526c5..2f299befa0366 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -1314,7 +1314,7 @@ module.exports = function(grunt) { }); // Allow builds to be minimal. - if( grunt.option( 'minimal-copy' ) ) { + if ( grunt.option( 'minimal-copy' ) ) { var copyFilesOptions = grunt.config.get( 'copy.files.files' ); copyFilesOptions[0].src.push( '!wp-content/plugins/**' ); copyFilesOptions[0].src.push( '!wp-content/themes/!(twenty*)/**' ); diff --git a/src/wp-admin/includes/class-language-pack-upgrader.php b/src/wp-admin/includes/class-language-pack-upgrader.php index 89b9f9ac87d96..40521b846a243 100644 --- a/src/wp-admin/includes/class-language-pack-upgrader.php +++ b/src/wp-admin/includes/class-language-pack-upgrader.php @@ -356,7 +356,7 @@ public function check_package( $source, $remote_source ) { $this->strings['incompatible_archive'], sprintf( /* translators: 1: .po, 2: .mo, 3: .l10n.php */ - __( 'The language pack is missing either the %1$s, %2$s, or %3$s files.' ), + __( 'The language pack is missing both the %1$s and %2$s files, or the %3$s file.' ), '.po', '.mo', '.l10n.php' diff --git a/tests/phpunit/includes/bootstrap.php b/tests/phpunit/includes/bootstrap.php index e308dcb5a6e1c..6d2f0fbf2fb67 100644 --- a/tests/phpunit/includes/bootstrap.php +++ b/tests/phpunit/includes/bootstrap.php @@ -181,7 +181,7 @@ 'Error: The following required PHP extensions are missing from the testing environment: %s.' . PHP_EOL, implode( ', ', $missing_extensions ) ); - echo 'Please make sure they are installed and enabled.' . PHP_EOL, + echo 'Please make sure they are installed and enabled.' . PHP_EOL; exit( 1 ); } }