From 1ed4478fc832e3cb87b50475e78aa956a08ad2fd Mon Sep 17 00:00:00 2001 From: WordPress Fan <146129302+wordpressfan@users.noreply.github.com> Date: Thu, 12 Dec 2024 13:44:05 +0200 Subject: [PATCH] Update google fonts option's label and docs urls (#7182) --- inc/Engine/Admin/Beacon/Beacon.php | 6 +++--- inc/Engine/Admin/Settings/Page.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/inc/Engine/Admin/Beacon/Beacon.php b/inc/Engine/Admin/Beacon/Beacon.php index 1125cccbe0..fc7fcef09f 100644 --- a/inc/Engine/Admin/Beacon/Beacon.php +++ b/inc/Engine/Admin/Beacon/Beacon.php @@ -834,11 +834,11 @@ public function get_suggest( $doc_id ) { 'host_fonts_locally' => [ 'en' => [ 'id' => '673358b02ddbd952f6241b38', - 'url' => 'https://docs.wp-rocket.me/article/1847-host-google-fonts-locally?utm_source=wp_plugin&utm_medium=wp_rocket', + 'url' => 'https://docs.wp-rocket.me/article/1847-self-host-google-fonts?utm_source=wp_plugin&utm_medium=wp_rocket', ], 'fr' => [ - 'id' => '6733652e2ddbd952f6241b67', - 'url' => 'https://fr.docs.wp-rocket.me/article/1848-heberger-localement-les-polices-google-fonts?utm_source=wp_plugin&utm_medium=wp_rocket', + 'id' => '675ab51d46b8d26833b2af82', + 'url' => 'https://fr.docs.wp-rocket.me/article/1852-auto-heberger-google-fonts?utm_source=wp_plugin&utm_medium=wp_rocket', ], ], ]; diff --git a/inc/Engine/Admin/Settings/Page.php b/inc/Engine/Admin/Settings/Page.php index 5d6f93ac4c..de8b129777 100644 --- a/inc/Engine/Admin/Settings/Page.php +++ b/inc/Engine/Admin/Settings/Page.php @@ -1020,7 +1020,7 @@ private function media_section() { ], 'host_fonts_locally' => [ 'type' => 'checkbox', - 'label' => __( 'Host Google Fonts locally', 'rocket' ), + 'label' => __( 'Self-host Google Fonts', 'rocket' ), 'section' => 'font_optimization_section', 'page' => 'media', 'default' => 0,