From f5b1f4ceba2ae129fb66349777341b0adc7c26cc Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Tue, 4 Oct 2016 06:59:29 +0000 Subject: [PATCH] Accessibility: Remove target=_blank from the Settings screens help tabs links. Stop taking control of users' browsers. Props rianrietveld. Fixes #38143. See #23432. Built from https://develop.svn.wordpress.org/trunk@38720 git-svn-id: http://core.svn.wordpress.org/trunk@38663 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/options-discussion.php | 4 ++-- wp-admin/options-general.php | 4 ++-- wp-admin/options-media.php | 4 ++-- wp-admin/options-permalink.php | 6 +++--- wp-admin/options-reading.php | 4 ++-- wp-admin/options-writing.php | 4 ++-- wp-includes/version.php | 2 +- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/wp-admin/options-discussion.php b/wp-admin/options-discussion.php index 5b27e14a3c..0f92bfeff4 100644 --- a/wp-admin/options-discussion.php +++ b/wp-admin/options-discussion.php @@ -25,8 +25,8 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

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

' . - '

' . __('Documentation on Discussion Settings') . '

' . - '

' . __('Support Forums') . '

' + '

' . __('Documentation on Discussion Settings') . '

' . + '

' . __('Support Forums') . '

' ); include( ABSPATH . 'wp-admin/admin-header.php' ); diff --git a/wp-admin/options-general.php b/wp-admin/options-general.php index 765c93f8d7..7b1c999277 100644 --- a/wp-admin/options-general.php +++ b/wp-admin/options-general.php @@ -42,8 +42,8 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

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

' . - '

' . __('Documentation on General Settings') . '

' . - '

' . __('Support Forums') . '

' + '

' . __('Documentation on General Settings') . '

' . + '

' . __('Support Forums') . '

' ); include( ABSPATH . 'wp-admin/admin-header.php' ); diff --git a/wp-admin/options-media.php b/wp-admin/options-media.php index 2f7e0abbda..698b98dce6 100644 --- a/wp-admin/options-media.php +++ b/wp-admin/options-media.php @@ -31,8 +31,8 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

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

' . - '

' . __('Documentation on Media Settings') . '

' . - '

' . __('Support Forums') . '

' + '

' . __('Documentation on Media Settings') . '

' . + '

' . __('Support Forums') . '

' ); include( ABSPATH . 'wp-admin/admin-header.php' ); diff --git a/wp-admin/options-permalink.php b/wp-admin/options-permalink.php index b6c52c517a..95c1a3e0ba 100644 --- a/wp-admin/options-permalink.php +++ b/wp-admin/options-permalink.php @@ -41,9 +41,9 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

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

' . - '

' . __('Documentation on Permalinks Settings') . '

' . - '

' . __('Documentation on Using Permalinks') . '

' . - '

' . __('Support Forums') . '

' + '

' . __('Documentation on Permalinks Settings') . '

' . + '

' . __('Documentation on Using Permalinks') . '

' . + '

' . __('Support Forums') . '

' ); add_filter('admin_head', 'options_permalink_add_js'); diff --git a/wp-admin/options-reading.php b/wp-admin/options-reading.php index 7ad94fbad4..69c425f759 100644 --- a/wp-admin/options-reading.php +++ b/wp-admin/options-reading.php @@ -35,8 +35,8 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

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

' . - '

' . __('Documentation on Reading Settings') . '

' . - '

' . __('Support Forums') . '

' + '

' . __('Documentation on Reading Settings') . '

' . + '

' . __('Support Forums') . '

' ); include( ABSPATH . 'wp-admin/admin-header.php' ); diff --git a/wp-admin/options-writing.php b/wp-admin/options-writing.php index 6248ba9e15..aa314f3bf2 100644 --- a/wp-admin/options-writing.php +++ b/wp-admin/options-writing.php @@ -42,8 +42,8 @@ if ( apply_filters( 'enable_update_services_configuration', true ) ) { get_current_screen()->set_help_sidebar( '

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

' . - '

' . __('Documentation on Writing Settings') . '

' . - '

' . __('Support Forums') . '

' + '

' . __('Documentation on Writing Settings') . '

' . + '

' . __('Support Forums') . '

' ); include( ABSPATH . 'wp-admin/admin-header.php' ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 59449b3e4c..cdeedb5e78 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-alpha-38719'; +$wp_version = '4.7-alpha-38720'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.