Ticket #18753: 18753.twentythirteen.1.diff
File 18753.twentythirteen.1.diff, 910 bytes (added by , 12 years ago) |
---|
-
wp-content/themes/twentythirteen/functions.php
206 206 * @return void 207 207 */ 208 208 function twentythirteen_scripts_styles() { 209 global $wp_styles;210 211 209 /* 212 210 * Adds JavaScript to pages with the comment form to support sites with 213 211 * threaded comments (when in use). … … 227 225 228 226 // Loads the Internet Explorer specific stylesheet. 229 227 wp_enqueue_style( 'twentythirteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentythirteen-style' ), '20130213' ); 230 $wp_styles->add_data( 'twentythirteen-ie', 'conditional', 'lt IE 9' );228 wp_style_add_data( 'twentythirteen-ie', 'conditional', 'lt IE 9' ); 231 229 } 232 230 add_action( 'wp_enqueue_scripts', 'twentythirteen_scripts_styles' ); 233 231