diff --git a/functions.php b/functions.php index 443035f3..29482ad0 100644 --- a/functions.php +++ b/functions.php @@ -33,7 +33,7 @@ function twentytwentyfour_block_styles() { array( 'handle' => 'twentytwentyfour-button-style-outline', 'src' => get_theme_file_uri( 'assets/css/button-outline.css' ), - 'ver' => wp_get_theme()->get( 'Version' ), + 'ver' => wp_get_theme( 'twentytwentyfour' )->get( 'Version' ), 'path' => get_theme_file_path( 'assets/css/button-outline.css' ), ) );