mirror of
git://develop.git.wordpress.org/
synced 2025-04-05 04:33:18 +02:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@52543 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
34edb06d59
commit
52cc52a8f4
@ -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>'
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user