Changeset 45213 for trunk/src/wp-content/themes/twentyeleven/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/twentyeleven/functions.php
r45081 r45213 295 295 function twentyeleven_scripts_styles() { 296 296 // Theme block stylesheet. 297 wp_enqueue_style( 'twentyeleven-block-style', get_template_directory_uri() . '/blocks.css', array(), '20181230');297 wp_enqueue_style( 'twentyeleven-block-style', get_template_directory_uri() . '/blocks.css', array(), wp_get_theme()->get( 'Version' ) ); 298 298 } 299 299 add_action( 'wp_enqueue_scripts', 'twentyeleven_scripts_styles' ); … … 306 306 function twentyeleven_block_editor_styles() { 307 307 // Block styles. 308 wp_enqueue_style( 'twentyeleven-block-editor-style', get_template_directory_uri() . '/editor-blocks.css', array(), '20181230');308 wp_enqueue_style( 'twentyeleven-block-editor-style', get_template_directory_uri() . '/editor-blocks.css', array(), wp_get_theme()->get( 'Version' ) ); 309 309 } 310 310 add_action( 'enqueue_block_editor_assets', 'twentyeleven_block_editor_styles' );
Note: See TracChangeset
for help on using the changeset viewer.