Skip to content

Commit

Permalink
Docs: Correct typos in JavaScript wordmark.
Browse files Browse the repository at this point in the history
Fixes documentation and comment references to capitalize JavaScript in accordance with the wordmark.

Props peterwilsoncc, mukesh27, dmsnell.
See #60699.


git-svn-id: https://develop.svn.wordpress.org/trunk@58397 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
peterwilsoncc committed Jun 12, 2024
1 parent cf2b0ee commit 459d996
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
/**
* Javascript Loader Class
* JavaScript Loader Class
*
* Allow `async` and `defer` while enqueuing Javascript.
* Allow `async` and `defer` while enqueuing JavaScript.
*
* Based on a solution in WP Rig.
*
Expand Down
4 changes: 2 additions & 2 deletions src/wp-includes/html-api/class-wp-html-tag-processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@
*
* The special elements are:
* - `SCRIPT` whose contents are treated as raw plaintext but supports a legacy
* style of including Javascript inside of HTML comments to avoid accidentally
* closing the SCRIPT from inside a Javascript string. E.g. `console.log( '</script>' )`.
* style of including JavaScript inside of HTML comments to avoid accidentally
* closing the SCRIPT from inside a JavaScript string. E.g. `console.log( '</script>' )`.
* - `TITLE` and `TEXTAREA` whose contents are treated as plaintext and then any
* character references are decoded. E.g. `1 &lt; 2 < 3` becomes `1 < 2 < 3`.
* - `IFRAME`, `NOSCRIPT`, `NOEMBED`, `NOFRAME`, `STYLE` whose contents are treated as
Expand Down

0 comments on commit 459d996

Please sign in to comment.