Skip to content

Commit

Permalink
Update google fonts option's label and docs urls (#7182)
Browse files Browse the repository at this point in the history
  • Loading branch information
wordpressfan authored Dec 12, 2024
1 parent 0afcb6a commit 1ed4478
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions inc/Engine/Admin/Beacon/Beacon.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
],
],
];
Expand Down
2 changes: 1 addition & 1 deletion inc/Engine/Admin/Settings/Page.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1ed4478

Please sign in to comment.