Skip to content

Commit

Permalink
Help/About: Change the HTML title of Themes Screen and add related …
Browse files Browse the repository at this point in the history
…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.


git-svn-id: https://develop.svn.wordpress.org/trunk@52543 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
audrasjb committed Jan 9, 2022
1 parent 34edb06 commit 52cc52a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/wp-admin/themes.php
Expand Up @@ -124,7 +124,7 @@
}

// Used in the HTML title tag.
$title = __( 'Manage Themes' );
$title = __( 'Themes' );
$parent_file = 'themes.php';

// Help tab: Overview.
Expand Down Expand Up @@ -205,6 +205,7 @@
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>'
);
Expand Down

0 comments on commit 52cc52a

Please sign in to comment.