Changeset 57341 for trunk/src/wp-includes/script-loader.php
- Timestamp:
- 01/23/2024 05:54:25 PM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r57312 r57341 2880 2880 * @see https://www.w3.org/TR/xhtml1/#h-4.8 2881 2881 */ 2882 if ( ! $is_html5 ) { 2882 if ( 2883 ! $is_html5 && 2884 ( 2885 ! isset( $attributes['type'] ) || 2886 'module' === $attributes['type'] || 2887 str_contains( $attributes['type'], 'javascript' ) || 2888 str_contains( $attributes['type'], 'ecmascript' ) || 2889 str_contains( $attributes['type'], 'jscript' ) || 2890 str_contains( $attributes['type'], 'livescript' ) 2891 ) 2892 ) { 2883 2893 /* 2884 2894 * If the string `]]>` exists within the JavaScript it would break
Note: See TracChangeset
for help on using the changeset viewer.