Changeset 45213 for trunk/src/wp-content/themes/twentyten/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/twentyten/functions.php
r45081 r45213 704 704 function twentyten_scripts_styles() { 705 705 // Theme block stylesheet. 706 wp_enqueue_style( 'twentyten-block-style', get_template_directory_uri() . '/blocks.css', array(), '20181018');706 wp_enqueue_style( 'twentyten-block-style', get_template_directory_uri() . '/blocks.css', array(), wp_get_theme()->get( 'Version' ) ); 707 707 } 708 708 add_action( 'wp_enqueue_scripts', 'twentyten_scripts_styles' ); … … 715 715 function twentyten_block_editor_styles() { 716 716 // Block styles. 717 wp_enqueue_style( 'twentyten-block-editor-style', get_template_directory_uri() . '/editor-blocks.css' );717 wp_enqueue_style( 'twentyten-block-editor-style', get_template_directory_uri() . '/editor-blocks.css', array(), wp_get_theme()->get( 'Version' ) ); 718 718 } 719 719 add_action( 'enqueue_block_editor_assets', 'twentyten_block_editor_styles' );
Note: See TracChangeset
for help on using the changeset viewer.