Skip to content

Commit 31d8733

Browse files
committed
fix(Assets): update theme style registration to use asset version from data array
1 parent 84f9bad commit 31d8733

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎inc/Services/Assets.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function register_assets(): void {
7979
);
8080

8181
// Styles
82-
wp_register_style( 'theme-style', get_stylesheet_uri(), [], $theme->get( 'Version' ) );
82+
wp_register_style( 'theme-style', get_stylesheet_uri(), [], $asset_data['version'] );
8383
}
8484

8585
/**

0 commit comments

Comments
 (0)