From 50e9ae1cbbc0e8545de4dfc0c6b13fc36298ea5f Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Tue, 10 Jan 2023 08:59:14 +0000 Subject: [PATCH] Help/About: Improve comments keyboard shortcuts HelpHub links. This changeset adds an anchor in Comments keyboard shortcut documentation links to direct the user to a more specific section of the HelpHub documentation. It also removes `target="_blank" from a link, since preventing data loss when clicking any on User Edit and Comment Edit screens is already handled by another existing ticket (#40493). Props NekoJonez, SergeyBiryukov, sabernhardt, dennisatyoast, robinwpdeveloper. Fixes #56920. git-svn-id: https://develop.svn.wordpress.org/trunk@55042 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/edit-comments.php | 2 +- src/wp-admin/user-edit.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/edit-comments.php b/src/wp-admin/edit-comments.php index ed34545584..ec6abc1972 100644 --- a/src/wp-admin/edit-comments.php +++ b/src/wp-admin/edit-comments.php @@ -209,7 +209,7 @@ get_current_screen()->set_help_sidebar( '

' . __( 'For more information:' ) . '

' . '

' . __( 'Documentation on Comments' ) . '

' . '

' . __( 'Documentation on Comment Spam' ) . '

' . - '

' . __( 'Documentation on Keyboard Shortcuts' ) . '

' . + '

' . __( 'Documentation on Keyboard Shortcuts' ) . '

' . '

' . __( 'Support' ) . '

' ); diff --git a/src/wp-admin/user-edit.php b/src/wp-admin/user-edit.php index edcdfb1ac5..ae16550b45 100644 --- a/src/wp-admin/user-edit.php +++ b/src/wp-admin/user-edit.php @@ -330,7 +330,7 @@ switch ( $action ) { comment_shortcuts ); ?> /> - More information' ); ?> + Documentation on Keyboard Shortcuts' ); ?>