Help/About: Change the HTML `title` of Themes Screen and add related HelpHub Docs link.

This change replaces the title of the Appearance Themes Screen to make it consistent with the main heading of the screen and with other Admin screens. It also adds a link to the related HelpHub Documentation in the Help tab of the screen.

Props jdy68.
Fixes #54707.

Built from https://develop.svn.wordpress.org/trunk@52543


git-svn-id: http://core.svn.wordpress.org/trunk@52133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2022-01-09 23:14:04 +00:00
parent 6dde735e3e
commit 461cd1373e
2 changed files with 3 additions and 2 deletions

View File

@ -124,7 +124,7 @@ if ( current_user_can( 'switch_themes' ) && isset( $_GET['action'] ) ) {
}
// Used in the HTML title tag.
$title = __( 'Manage Themes' );
$title = __( 'Themes' );
$parent_file = 'themes.php';
// Help tab: Overview.
@ -205,6 +205,7 @@ if ( current_user_can( 'update_themes' ) && wp_is_auto_update_enabled_for_type(
get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/using-themes/">Documentation on Using Themes</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/appearance-themes-screen/">Documentation on the Appearance Themes Screen</a>' ) . '</p>' .
$help_sidebar_autoupdates .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
);

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.0-alpha-52540';
$wp_version = '6.0-alpha-52543';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.