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
This commit is contained in:
Peter Wilson 2020-12-06 02:21:07 +00:00
parent 90510b8762
commit 675620a844
6 changed files with 6 additions and 6 deletions

View File

@ -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.

View File

@ -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.
*

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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
*/