From dc560984bae3f61a7a4a82bb6b6e2ebdff702852 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Tue, 4 Oct 2016 06:54:30 +0000 Subject: [PATCH] Accessibility: Remove target=_blank from the comment/edit-comments help tabs links. Stop taking control of users' browsers. Props rianrietveld. Fixes #38140. See #23432. Built from https://develop.svn.wordpress.org/trunk@38718 git-svn-id: http://core.svn.wordpress.org/trunk@38661 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/comment.php | 4 ++-- wp-admin/edit-comments.php | 8 ++++---- wp-includes/version.php | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/wp-admin/comment.php b/wp-admin/comment.php index 00ebcd9d82..c2eca11ec3 100644 --- a/wp-admin/comment.php +++ b/wp-admin/comment.php @@ -48,8 +48,8 @@ case 'editcomment' : get_current_screen()->set_help_sidebar( '

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

' . - '

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

' . - '

' . __( 'Support Forums' ) . '

' + '

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

' . + '

' . __( 'Support Forums' ) . '

' ); wp_enqueue_script('comment'); diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index d1f62b49ba..7ec33bc3d1 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -178,10 +178,10 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

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

' . - '

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

' . - '

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

' . - '

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

' . - '

' . __( 'Support Forums' ) . '

' + '

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

' . + '

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

' . + '

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

' . + '

' . __( 'Support Forums' ) . '

' ); get_current_screen()->set_screen_reader_content( array( diff --git a/wp-includes/version.php b/wp-includes/version.php index b5582c93fe..214da9b5a1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-alpha-38717'; +$wp_version = '4.7-alpha-38718'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.