diff --git a/Gruntfile.js b/Gruntfile.js index 956a551e59..3c8706207a 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -1513,7 +1513,7 @@ module.exports = function(grunt) { } ); // Travis CI tasks. - grunt.registerTask('travis:js', 'Runs Javascript Travis CI tasks.', [ 'jshint:corejs', 'qunit:compiled' ]); + grunt.registerTask('travis:js', 'Runs JavaScript Travis CI tasks.', [ 'jshint:corejs', 'qunit:compiled' ]); grunt.registerTask('travis:phpunit', 'Runs PHPUnit Travis CI tasks.', [ 'build', 'phpunit' ]); grunt.registerTask('travis:phpcs', 'Runs PHP Coding Standards Travis CI tasks.', [ 'format:php:error', 'lint:php:travisErrors:error', 'lint:php:travisWarnings:error' ]); diff --git a/src/wp-content/themes/twentythirteen/functions.php b/src/wp-content/themes/twentythirteen/functions.php index cb6fd568cb..bd01ace4e5 100644 --- a/src/wp-content/themes/twentythirteen/functions.php +++ b/src/wp-content/themes/twentythirteen/functions.php @@ -758,7 +758,7 @@ function twentythirteen_customize_partial_blogdescription() { } /** - * Enqueue Javascript postMessage handlers for the Customizer. + * Enqueue JavaScript postMessage handlers for the Customizer. * * Binds JavaScript handlers to make the Customizer preview * reload changes asynchronously. diff --git a/src/wp-content/themes/twentytwelve/functions.php b/src/wp-content/themes/twentytwelve/functions.php index 5df6529527..ad5ba6f30e 100644 --- a/src/wp-content/themes/twentytwelve/functions.php +++ b/src/wp-content/themes/twentytwelve/functions.php @@ -674,7 +674,7 @@ function twentytwelve_customize_partial_blogdescription() { } /** - * Enqueue Javascript postMessage handlers for the Customizer. + * Enqueue JavaScript postMessage handlers for the Customizer. * * Binds JS handlers to make the Customizer preview reload changes asynchronously. * diff --git a/src/wp-includes/class.wp-scripts.php b/src/wp-includes/class.wp-scripts.php index aa4935da6b..a629248df4 100644 --- a/src/wp-includes/class.wp-scripts.php +++ b/src/wp-includes/class.wp-scripts.php @@ -415,7 +415,7 @@ class WP_Scripts extends WP_Dependencies { * * @param string $handle Name of the script to add the inline script to. * Must be lowercase. - * @param string $data String containing the javascript to be added. + * @param string $data String containing the JavaScript to be added. * @param string $position Optional. Whether to add the inline script * before the handle or after. Default 'after'. * @return bool True on success, false on failure. diff --git a/src/wp-includes/functions.wp-scripts.php b/src/wp-includes/functions.wp-scripts.php index 6005c039e1..641da53feb 100644 --- a/src/wp-includes/functions.wp-scripts.php +++ b/src/wp-includes/functions.wp-scripts.php @@ -122,7 +122,7 @@ function wp_print_scripts( $handles = false ) { * @see WP_Scripts::add_inline_script() * * @param string $handle Name of the script to add the inline script to. - * @param string $data String containing the javascript to be added. + * @param string $data String containing the JavaScript to be added. * @param string $position Optional. Whether to add the inline script before the handle * or after. Default 'after'. * @return bool True on success, false on failure. diff --git a/src/wp-login.php b/src/wp-login.php index 98d20d416b..f244433609 100644 --- a/src/wp-login.php +++ b/src/wp-login.php @@ -323,7 +323,7 @@ function login_footer( $input_id = '' ) { } /** - * Outputs the Javascript to handle the form shaking on the login page. + * Outputs the JavaScript to handle the form shaking on the login page. * * @since 3.0.0 */ diff --git a/tests/phpunit/tests/formatting/WPTrimWords.php b/tests/phpunit/tests/formatting/WPTrimWords.php index 10a4dd2dc9..b7ec436df0 100644 --- a/tests/phpunit/tests/formatting/WPTrimWords.php +++ b/tests/phpunit/tests/formatting/WPTrimWords.php @@ -41,7 +41,7 @@ class Tests_Formatting_WPTrimWords extends WP_UnitTestCase { function test_strips_script_and_style_content() { $trimmed = 'This text contains. It should go.'; - $text = 'This text contains. It should go.'; + $text = 'This text contains. It should go.'; $this->assertSame( $trimmed, wp_trim_words( $text ) ); $text = 'This text contains. It should go.';