Changeset 58397
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-script-loader.php
r56556 r58397 1 1 <?php 2 2 /** 3 * Java script Loader Class3 * JavaScript Loader Class 4 4 * 5 * Allow `async` and `defer` while enqueuing Java script.5 * Allow `async` and `defer` while enqueuing JavaScript. 6 6 * 7 7 * Based on a solution in WP Rig. -
trunk/src/wp-includes/html-api/class-wp-html-tag-processor.php
r58364 r58397 295 295 * The special elements are: 296 296 * - `SCRIPT` whose contents are treated as raw plaintext but supports a legacy 297 * style of including Java script inside of HTML comments to avoid accidentally298 * closing the SCRIPT from inside a Java script string. E.g. `console.log( '</script>' )`.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>' )`. 299 299 * - `TITLE` and `TEXTAREA` whose contents are treated as plaintext and then any 300 300 * character references are decoded. E.g. `1 < 2 < 3` becomes `1 < 2 < 3`.
Note: See TracChangeset
for help on using the changeset viewer.