Changeset 57842
- Timestamp:
- 03/15/2024 01:38:36 PM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwenty/functions.php
r57589 r57842 193 193 194 194 // Enqueue the CSS file for the variable font, Inter. 195 wp_enqueue_style( 'twentytwenty-fonts', get_theme_file_uri( '/assets/css/font-inter.css' ), array(), wp_get_theme()->get( 'Version' ), 'all' );195 wp_enqueue_style( 'twentytwenty-fonts', get_theme_file_uri( '/assets/css/font-inter.css' ), array(), $theme_version, 'all' ); 196 196 197 197 // Add output of Customizer settings as inline style. … … 426 426 function twentytwenty_block_editor_styles() { 427 427 428 $theme_version = wp_get_theme()->get( 'Version' ); 429 428 430 // Enqueue the editor styles. 429 wp_enqueue_style( 'twentytwenty-block-editor-styles', get_theme_file_uri( '/assets/css/editor-style-block.css' ), array(), wp_get_theme()->get( 'Version' ), 'all' );431 wp_enqueue_style( 'twentytwenty-block-editor-styles', get_theme_file_uri( '/assets/css/editor-style-block.css' ), array(), $theme_version, 'all' ); 430 432 wp_style_add_data( 'twentytwenty-block-editor-styles', 'rtl', 'replace' ); 431 433 … … 437 439 438 440 // Enqueue the CSS file for the variable font, Inter. 439 wp_enqueue_style( 'twentytwenty-fonts', get_theme_file_uri( '/assets/css/font-inter.css' ), array(), wp_get_theme()->get( 'Version' ), 'all' );441 wp_enqueue_style( 'twentytwenty-fonts', get_theme_file_uri( '/assets/css/font-inter.css' ), array(), $theme_version, 'all' ); 440 442 441 443 // Add inline style for non-latin fonts.
Note: See TracChangeset
for help on using the changeset viewer.