mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-01 11:14:36 +00:00
Docs, Tests: Correctly capitalize JavaScript.
Correct Javascript to JavaScript within Wordpress core ;) See #51800, #51802. git-svn-id: https://develop.svn.wordpress.org/trunk@49758 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user