From 2a26acdd9a27e238aa63f922923b9daae2e357c1 Mon Sep 17 00:00:00 2001 From: Corey McKrill <916023+coreymckrill@users.noreply.github.com> Date: Wed, 16 Feb 2022 09:42:42 -0800 Subject: [PATCH 01/15] Update blog id to production News site for generating global styles --- mu-plugins/blocks/global-header-footer/blocks.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mu-plugins/blocks/global-header-footer/blocks.php b/mu-plugins/blocks/global-header-footer/blocks.php index c60c88dd9..239f2e430 100644 --- a/mu-plugins/blocks/global-header-footer/blocks.php +++ b/mu-plugins/blocks/global-header-footer/blocks.php @@ -903,8 +903,8 @@ function get_global_styles() { return fetch_global_styles(); } - // Switch to `w.org/news-test` to generate correct theme properties. - switch_to_blog( 706 ); // TODO change this to `w.org/news` when the redesign launches. + // Switch to `w.org/news` to generate correct theme properties. + switch_to_blog( WPORG_NEWS_BLOGID ); // Clear the static `$theme` property, which is set by the current (classic theme) site. WP_Theme_JSON_Resolver::clean_cached_data(); From c5d7bee250946527723b0f3960932b087247c538 Mon Sep 17 00:00:00 2001 From: Kelly Dwan Date: Wed, 16 Feb 2022 13:31:22 -0500 Subject: [PATCH 02/15] Footer: Load the logo SVG inline See #160, fixes #162 --- .../blocks/global-header-footer/footer.php | 26 +++++++++---------- .../postcss/footer/logos.pcss | 12 +++++++++ 2 files changed, 24 insertions(+), 14 deletions(-) diff --git a/mu-plugins/blocks/global-header-footer/footer.php b/mu-plugins/blocks/global-header-footer/footer.php index 95ea2e7f0..d6bfb0d82 100644 --- a/mu-plugins/blocks/global-header-footer/footer.php +++ b/mu-plugins/blocks/global-header-footer/footer.php @@ -57,22 +57,20 @@