From 50a8c2bf1862b371322baa501c24f2f4e469c718 Mon Sep 17 00:00:00 2001 From: FrankZamora Date: Thu, 27 Nov 2025 14:42:43 -0600 Subject: [PATCH] debug: remove condition to test if enqueue works --- Admin/Infrastructure/Ui/Assets/Css/admin-dashboard.css | 2 +- .../Wordpress/YoutubeFacadeHooksRegistrar.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Admin/Infrastructure/Ui/Assets/Css/admin-dashboard.css b/Admin/Infrastructure/Ui/Assets/Css/admin-dashboard.css index 1a71e6bc..d30f2791 100644 --- a/Admin/Infrastructure/Ui/Assets/Css/admin-dashboard.css +++ b/Admin/Infrastructure/Ui/Assets/Css/admin-dashboard.css @@ -77,7 +77,7 @@ border-bottom: 3px solid transparent; padding: 0.3rem 0.3rem; font-weight: 600; - font-size: 0.9rem; + font-size: 0.83rem; transition: all 0.3s ease; } diff --git a/Public/YoutubeFacade/Infrastructure/Wordpress/YoutubeFacadeHooksRegistrar.php b/Public/YoutubeFacade/Infrastructure/Wordpress/YoutubeFacadeHooksRegistrar.php index 2ad9537b..2c39e56e 100644 --- a/Public/YoutubeFacade/Infrastructure/Wordpress/YoutubeFacadeHooksRegistrar.php +++ b/Public/YoutubeFacade/Infrastructure/Wordpress/YoutubeFacadeHooksRegistrar.php @@ -44,9 +44,9 @@ final class YoutubeFacadeHooksRegistrar */ public function enqueueAssets(): void { - // Only on singular content (posts, pages, custom post types) - // Changed from is_single() to is_singular() to cover all content types - if (!is_singular()) { + // Load on all frontend pages (condition removed for debugging) + // TODO: Re-add is_singular() check after confirming assets load + if (is_admin()) { return; }