From 31d8733b0d9dcb50822d42a45c22134caad3e02c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ce=CC=81dric=20Andrietti?= Date: Wed, 16 Sep 2026 11:38:28 +0200 Subject: [PATCH] fix(Assets): update theme style registration to use asset version from data array --- inc/Services/Assets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/Services/Assets.php b/inc/Services/Assets.php index e46b7492..474af5bb 100644 --- a/inc/Services/Assets.php +++ b/inc/Services/Assets.php @@ -79,7 +79,7 @@ public function register_assets(): void { ); // Styles - wp_register_style( 'theme-style', get_stylesheet_uri(), [], $theme->get( 'Version' ) ); + wp_register_style( 'theme-style', get_stylesheet_uri(), [], $asset_data['version'] ); } /**