Make WordPress Core


Ignore:
Timestamp:
12/06/2020 02:19:56 AM (4 years ago)
Author:
peterwilsoncc
Message:

Docs, Tests: Correctly capitalize JavaScript.

Correct Javascript to JavaScript within Wordpress core ;)

See #51800, #51802.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class.wp-scripts.php

    r48897 r49758  
    416416     * @param string $handle   Name of the script to add the inline script to.
    417417     *                         Must be lowercase.
    418      * @param string $data     String containing the javascript to be added.
     418     * @param string $data     String containing the JavaScript to be added.
    419419     * @param string $position Optional. Whether to add the inline script
    420420     *                         before the handle or after. Default 'after'.
Note: See TracChangeset for help on using the changeset viewer.