Changeset 24740 for trunk/wp-content/themes/twentythirteen/functions.php
- Timestamp:
- 07/18/2013 07:46:38 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentythirteen/functions.php
r24736 r24740 157 157 */ 158 158 function twentythirteen_scripts_styles() { 159 global $wp_styles;160 161 159 // Adds JavaScript to pages with the comment form to support sites with 162 160 // threaded comments (when in use). … … 182 180 // Loads the Internet Explorer specific stylesheet. 183 181 wp_enqueue_style( 'twentythirteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentythirteen-style' ), '2013-07-18' ); 184 $wp_styles->add_data( 'twentythirteen-ie', 'conditional', 'lt IE 9' );182 wp_style_add_data( 'twentythirteen-ie', 'conditional', 'lt IE 9' ); 185 183 } 186 184 add_action( 'wp_enqueue_scripts', 'twentythirteen_scripts_styles' );
Note: See TracChangeset
for help on using the changeset viewer.