Changeset 46171 for trunk/src/wp-includes/class.wp-styles.php
- Timestamp:
- 09/18/2019 10:41:29 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class.wp-styles.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class.wp-styles.php
r46170 r46171 118 118 */ 119 119 public function __construct() { 120 if ( ! is_admin() && ! current_theme_supports( 'html5', 'style' ) ) { 121 $this->type_attr = " type='text/css'"; 122 } 123 120 124 /** 121 125 * Fires when the WP_Styles instance is initialized. … … 126 130 */ 127 131 do_action_ref_array( 'wp_default_styles', array( &$this ) ); 128 129 if ( ! is_admin() && ! current_theme_supports( 'html5', 'style' ) ) {130 $this->type_attr = " type='text/css'";131 }132 132 } 133 133
Note: See TracChangeset
for help on using the changeset viewer.