From 657d6e3cf6e414d3a03deeb192067f41b7b06a36 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Mon, 14 Nov 2022 21:51:57 +0000 Subject: [PATCH] Help/About: Fix inconsistency in auto-updates help tabs. This changeset ensures the wording of auto-updates related help tabs is consistent with other help tabs. Props NekoJonez, SergeyBiryukov, mukesh27, audrasjb. Fixes #56921. git-svn-id: https://develop.svn.wordpress.org/trunk@54839 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/network/themes.php | 2 +- src/wp-admin/plugins.php | 2 +- src/wp-admin/themes.php | 2 +- src/wp-admin/update-core.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-admin/network/themes.php b/src/wp-admin/network/themes.php index 09c15001f5..930f4a190a 100644 --- a/src/wp-admin/network/themes.php +++ b/src/wp-admin/network/themes.php @@ -316,7 +316,7 @@ if ( current_user_can( 'update_themes' ) && wp_is_auto_update_enabled_for_type( ) ); - $help_sidebar_autoupdates = '

' . __( 'Learn more: Auto-updates documentation' ) . '

'; + $help_sidebar_autoupdates = '

' . __( 'Documentation on Auto-updates' ) . '

'; } get_current_screen()->set_help_sidebar( diff --git a/src/wp-admin/plugins.php b/src/wp-admin/plugins.php index dd8f8679d8..bc7774b197 100644 --- a/src/wp-admin/plugins.php +++ b/src/wp-admin/plugins.php @@ -580,7 +580,7 @@ if ( current_user_can( 'update_plugins' ) && wp_is_auto_update_enabled_for_type( ) ); - $help_sidebar_autoupdates = '

' . __( 'Learn more: Auto-updates documentation' ) . '

'; + $help_sidebar_autoupdates = '

' . __( 'Documentation on Auto-updates' ) . '

'; } get_current_screen()->set_help_sidebar( diff --git a/src/wp-admin/themes.php b/src/wp-admin/themes.php index 6dcc909252..486270648a 100644 --- a/src/wp-admin/themes.php +++ b/src/wp-admin/themes.php @@ -199,7 +199,7 @@ if ( current_user_can( 'update_themes' ) && wp_is_auto_update_enabled_for_type( ) ); - $help_sidebar_autoupdates = '

' . __( 'Learn more: Auto-updates documentation' ) . '

'; + $help_sidebar_autoupdates = '

' . __( 'Documentation on Auto-updates' ) . '

'; } // End if 'update_themes' && 'wp_is_auto_update_enabled_for_type'. get_current_screen()->set_help_sidebar( diff --git a/src/wp-admin/update-core.php b/src/wp-admin/update-core.php index 4fd65cc165..25dea0a291 100644 --- a/src/wp-admin/update-core.php +++ b/src/wp-admin/update-core.php @@ -1008,7 +1008,7 @@ if ( ( current_user_can( 'update_themes' ) && wp_is_auto_update_enabled_for_type ) ); - $help_sidebar_autoupdates = '

' . __( 'Learn more: Auto-updates documentation' ) . '

'; + $help_sidebar_autoupdates = '

' . __( 'Documentation on Auto-updates' ) . '

'; } get_current_screen()->set_help_sidebar(