Changeset 45213 for trunk/src/wp-content/themes/twentytwelve/functions.php
- Timestamp:
- 04/16/2019 02:55:48 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwelve/functions.php
r45081 r45213 200 200 201 201 // Loads our main stylesheet. 202 wp_enqueue_style( 'twentytwelve-style', get_stylesheet_uri() );202 wp_enqueue_style( 'twentytwelve-style', get_stylesheet_uri(), array(), wp_get_theme()->get( 'Version' ) ); 203 203 204 204 // Theme block stylesheet. 205 wp_enqueue_style( 'twentytwelve-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentytwelve-style' ), '20181230');205 wp_enqueue_style( 'twentytwelve-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentytwelve-style' ), wp_get_theme()->get( 'Version' ) ); 206 206 207 207 // Loads the Internet Explorer specific stylesheet. 208 wp_enqueue_style( 'twentytwelve-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentytwelve-style' ), '20121010');208 wp_enqueue_style( 'twentytwelve-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentytwelve-style' ), wp_get_theme()->get( 'Version' ) ); 209 209 $wp_styles->add_data( 'twentytwelve-ie', 'conditional', 'lt IE 9' ); 210 210 } … … 218 218 function twentytwelve_block_editor_styles() { 219 219 // Block styles. 220 wp_enqueue_style( 'twentytwelve-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20181230');220 wp_enqueue_style( 'twentytwelve-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), wp_get_theme()->get( 'Version' ) ); 221 221 // Add custom fonts. 222 222 wp_enqueue_style( 'twentytwelve-fonts', twentytwelve_get_font_url(), array(), null );
Note: See TracChangeset
for help on using the changeset viewer.