diff --git a/projects/plugins/jetpack/_inc/client/writing/custom-css.jsx b/projects/plugins/jetpack/_inc/client/writing/custom-css.jsx index 396ae1d89c710..4a8b545877b94 100644 --- a/projects/plugins/jetpack/_inc/client/writing/custom-css.jsx +++ b/projects/plugins/jetpack/_inc/client/writing/custom-css.jsx @@ -42,16 +42,14 @@ const CustomizerLink = ( { children, siteAdminUrl } ) => ( export const StartFreshDeprecationWarning = ( { siteAdminUrl } ) => createInterpolateElement( __( - "The Start Fresh option in the CSS customization panel is enabled, which means the theme's original CSS is not applied. This option will no longer be supported after August 6, 2024. and you'll need to modify your theme stylesheet.", + "The Start Fresh option in the CSS customization panel is enabled, which means the theme's original CSS is not applied. This option will no longer be supported after August 6, 2024. See how to keep your site intact.", 'jetpack' ), { i: , b: , a1: , - a2: ( - - ), + a2: , } ); diff --git a/projects/plugins/jetpack/modules/custom-css/custom-css.php b/projects/plugins/jetpack/modules/custom-css/custom-css.php index 1274eb7cfb32a..2f301d0453932 100644 --- a/projects/plugins/jetpack/modules/custom-css/custom-css.php +++ b/projects/plugins/jetpack/modules/custom-css/custom-css.php @@ -3,6 +3,7 @@ // phpcs:disable Universal.Files.SeparateFunctionsFromOO.Mixed -- TODO: Move classes to appropriately-named class files. use Automattic\Jetpack\Assets; +use Automattic\Jetpack\Redirect; /** * Alternate Custom CSS source for 4.7 compat. @@ -1020,11 +1021,11 @@ public static function display_frontend_warning() { sprintf( // translators: 1: URL to the CSS customization panel, 2: URL to the theme stylesheet documentation. __( - 'The Start Fresh option in the CSS customization panel is enabled, which means the theme\'s original CSS is not applied. This option will no longer be supported after August 6, 2024 and you\'ll need to modify your theme stylesheet.', + 'The Start Fresh option in the CSS customization panel is enabled, which means the theme\'s original CSS is not applied. This option will no longer be supported after August 6, 2024. See how to keep your site intact.', 'jetpack' ), esc_url( admin_url( 'customize.php?autofocus%5Bsection%5D=custom_css' ) ), - esc_url( 'https://developer.wordpress.org/themes/basics/main-stylesheet-style-css/' ) + esc_url( Redirect::get_url( 'jetpack-support-custom-css' ) ) ), array( 'i' => array(),