Changeset 46170 for trunk/src/wp-includes/class.wp-scripts.php
- Timestamp:
- 09/18/2019 10:33:45 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class.wp-scripts.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class.wp-scripts.php
r46164 r46170 143 143 add_action( 'init', array( $this, 'init' ), 0 ); 144 144 145 if ( ! current_theme_supports( 'html5', 'script' ) ) {145 if ( ! is_admin() && ! current_theme_supports( 'html5', 'script' ) ) { 146 146 $this->type_attr = " type='text/javascript'"; 147 147 }
Note: See TracChangeset
for help on using the changeset viewer.