Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update google fonts option's label and docs urls #7182

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading