Make WordPress Core

Changeset 58397

Timestamp:
06/12/2024 11:10:50 PM (6 weeks ago)
Author:
peterwilsoncc
Message:

Docs: Correct typos in JavaScript wordmark.

Fixes documentation and comment references to capitalize JavaScript in accordance with the wordmark.

Props peterwilsoncc, mukesh27, dmsnell.
See #60699.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-script-loader.php

    r56556 r58397  
    11<?php
    22/**
    3  * Javascript Loader Class
     3 * Javacript Loader Class
    44 *
    5  * Allow `async` and `defer` while enqueuing Javascript.
     5 * Allow `async` and `defer` while enqueuing Javacript.
    66 *
    77 * Based on a solution in WP Rig.
  • trunk/src/wp-includes/html-api/class-wp-html-tag-processor.php

    r58364 r58397  
    295295 * The special elements are:
    296296 *  - `SCRIPT` whose contents are treated as raw plaintext but supports a legacy
    297  *    style of including Javascript inside of HTML comments to avoid accidentally
    298  *    closing the SCRIPT from inside a Javascript string. E.g. `console.log( '</script>' )`.
     297 *    style of including Javacript inside of HTML comments to avoid accidentally
     298 *    closing the SCRIPT from inside a Javacript string. E.g. `console.log( '</script>' )`.
    299299 *  - `TITLE` and `TEXTAREA` whose contents are treated as plaintext and then any
    300300 *    character references are decoded. E.g. `1 &lt; 2 < 3` becomes `1 < 2 < 3`.
Note: See TracChangeset for help on using the changeset viewer.