Skip to content

Commit

Permalink
Reduce calls the wp_get_theme()
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbingwide committed Apr 11, 2021
1 parent 00020f5 commit 4da45cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function fizzie_init() {
}

function fizzie_enqueue_styles() {
$theme_version = wp_get_theme()->get( 'Version' );
//$theme_version = wp_get_theme()->get( 'Version' );

if ( defined( 'SCRIPT_DEBUG') && SCRIPT_DEBUG ) {
$theme_version = filemtime( get_stylesheet_directory() . "/style.css" );
Expand Down

0 comments on commit 4da45cb

Please sign in to comment.