From 5fc4449730718f4fc999a621bb68b478d7890cb0 Mon Sep 17 00:00:00 2001 From: Dusty Reagan Date: Wed, 24 Jul 2024 18:06:54 -0500 Subject: [PATCH] Add Toolbar proxy notice for Atomic sites (#38519) * Add profile-settings-notices file * Update copy * changelog * Add translation * Update copy --- .../changelog/add-profile-toolbar-notice | 4 ++ .../src/class-jetpack-mu-wpcom.php | 3 +- .../profile-settings-notices.php | 52 +++++++++++++++++++ 3 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 projects/packages/jetpack-mu-wpcom/changelog/add-profile-toolbar-notice create mode 100644 projects/packages/jetpack-mu-wpcom/src/features/wpcom-profile-settings/profile-settings-notices.php diff --git a/projects/packages/jetpack-mu-wpcom/changelog/add-profile-toolbar-notice b/projects/packages/jetpack-mu-wpcom/changelog/add-profile-toolbar-notice new file mode 100644 index 0000000000000..808473c89f2ce --- /dev/null +++ b/projects/packages/jetpack-mu-wpcom/changelog/add-profile-toolbar-notice @@ -0,0 +1,4 @@ +Significance: minor +Type: added + +Add a12n notice about proxied toolbar diff --git a/projects/packages/jetpack-mu-wpcom/src/class-jetpack-mu-wpcom.php b/projects/packages/jetpack-mu-wpcom/src/class-jetpack-mu-wpcom.php index 0243eb50c573c..36cf05aa3c39b 100644 --- a/projects/packages/jetpack-mu-wpcom/src/class-jetpack-mu-wpcom.php +++ b/projects/packages/jetpack-mu-wpcom/src/class-jetpack-mu-wpcom.php @@ -92,6 +92,7 @@ public static function load_features() { require_once __DIR__ . '/features/error-reporting/error-reporting.php'; require_once __DIR__ . '/features/first-posts-stream/first-posts-stream-helpers.php'; require_once __DIR__ . '/features/font-smoothing-antialiased/font-smoothing-antialiased.php'; + require_once __DIR__ . '/features/google-analytics/google-analytics.php'; require_once __DIR__ . '/features/import-customizations/import-customizations.php'; require_once __DIR__ . '/features/marketplace-products-updater/class-marketplace-products-updater.php'; require_once __DIR__ . '/features/media/heif-support.php'; @@ -99,8 +100,8 @@ public static function load_features() { require_once __DIR__ . '/features/wpcom-admin-dashboard/wpcom-admin-dashboard.php'; require_once __DIR__ . '/features/wpcom-block-editor/class-jetpack-wpcom-block-editor.php'; require_once __DIR__ . '/features/wpcom-block-editor/functions.editor-type.php'; + require_once __DIR__ . '/features/wpcom-profile-settings/profile-settings-notices.php'; require_once __DIR__ . '/features/wpcom-themes/wpcom-theme-fixes.php'; - require_once __DIR__ . '/features/google-analytics/google-analytics.php'; // Initializers, if needed. \Marketplace_Products_Updater::init(); diff --git a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-profile-settings/profile-settings-notices.php b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-profile-settings/profile-settings-notices.php new file mode 100644 index 0000000000000..3099a10b01854 --- /dev/null +++ b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-profile-settings/profile-settings-notices.php @@ -0,0 +1,52 @@ + + + +