From 675620a844908b2f06eca0bccf40ea2d0781220a Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Sun, 6 Dec 2020 02:21:07 +0000 Subject: [PATCH] Docs, Tests: Correctly capitalize JavaScript. Correct Javascript to JavaScript within Wordpress core ;) See #51800, #51802. Built from https://develop.svn.wordpress.org/trunk@49758 git-svn-id: http://core.svn.wordpress.org/trunk@49481 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentythirteen/functions.php | 2 +- wp-content/themes/twentytwelve/functions.php | 2 +- wp-includes/class.wp-scripts.php | 2 +- wp-includes/functions.wp-scripts.php | 2 +- wp-includes/version.php | 2 +- wp-login.php | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wp-content/themes/twentythirteen/functions.php b/wp-content/themes/twentythirteen/functions.php index cb6fd568cb..bd01ace4e5 100644 --- a/wp-content/themes/twentythirteen/functions.php +++ b/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/wp-content/themes/twentytwelve/functions.php b/wp-content/themes/twentytwelve/functions.php index 5df6529527..ad5ba6f30e 100644 --- a/wp-content/themes/twentytwelve/functions.php +++ b/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/wp-includes/class.wp-scripts.php b/wp-includes/class.wp-scripts.php index aa4935da6b..a629248df4 100644 --- a/wp-includes/class.wp-scripts.php +++ b/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/wp-includes/functions.wp-scripts.php b/wp-includes/functions.wp-scripts.php index 6005c039e1..641da53feb 100644 --- a/wp-includes/functions.wp-scripts.php +++ b/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/wp-includes/version.php b/wp-includes/version.php index b24e79ece9..8459f34763 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.7-alpha-49757'; +$wp_version = '5.7-alpha-49758'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-login.php b/wp-login.php index 98d20d416b..f244433609 100644 --- a/wp-login.php +++ b/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 */