From 902cb70328cc11cf397322f66164689c0eb25442 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Tue, 4 Oct 2016 07:03:31 +0000 Subject: [PATCH] Accessibility: Remove target=_blank from the Network screens help tabs links. Stop taking control of users' browsers. Props rianrietveld. Fixes #38159. See #23432. Built from https://develop.svn.wordpress.org/trunk@38721 git-svn-id: http://core.svn.wordpress.org/trunk@38664 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/my-sites.php | 4 ++-- wp-admin/network/index.php | 4 ++-- wp-admin/network/settings.php | 4 ++-- wp-admin/network/site-info.php | 4 ++-- wp-admin/network/site-new.php | 4 ++-- wp-admin/network/site-settings.php | 4 ++-- wp-admin/network/site-themes.php | 4 ++-- wp-admin/network/site-users.php | 4 ++-- wp-admin/network/sites.php | 4 ++-- wp-admin/network/themes.php | 4 ++-- wp-admin/network/upgrade.php | 4 ++-- wp-admin/network/user-new.php | 4 ++-- wp-admin/network/users.php | 4 ++-- wp-includes/version.php | 2 +- 14 files changed, 27 insertions(+), 27 deletions(-) diff --git a/wp-admin/my-sites.php b/wp-admin/my-sites.php index a6b4dd9c71..54f5bc4849 100644 --- a/wp-admin/my-sites.php +++ b/wp-admin/my-sites.php @@ -44,8 +44,8 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

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

' . - '

' . __('Documentation on My Sites') . '

' . - '

' . __('Support Forums') . '

' + '

' . __('Documentation on My Sites') . '

' . + '

' . __('Support Forums') . '

' ); require_once( ABSPATH . 'wp-admin/admin-header.php' ); diff --git a/wp-admin/network/index.php b/wp-admin/network/index.php index ab6f6b4708..81ededbe37 100644 --- a/wp-admin/network/index.php +++ b/wp-admin/network/index.php @@ -47,8 +47,8 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

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

' . - '

' . __('Documentation on the Network Admin') . '

' . - '

' . __('Support Forums') . '

' + '

' . __('Documentation on the Network Admin') . '

' . + '

' . __('Support Forums') . '

' ); wp_dashboard_setup(); diff --git a/wp-admin/network/settings.php b/wp-admin/network/settings.php index 80c6c33382..07f2a26e3f 100644 --- a/wp-admin/network/settings.php +++ b/wp-admin/network/settings.php @@ -37,8 +37,8 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

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

' . - '

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

' . - '

' . __('Support Forums') . '

' + '

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

' . + '

' . __('Support Forums') . '

' ); if ( $_POST ) { diff --git a/wp-admin/network/site-info.php b/wp-admin/network/site-info.php index 405e63f2c5..0379dc250d 100644 --- a/wp-admin/network/site-info.php +++ b/wp-admin/network/site-info.php @@ -27,8 +27,8 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

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

' . - '

' . __( 'Documentation on Site Management' ) . '

' . - '

' . __( 'Support Forums' ) . '

' + '

' . __( 'Documentation on Site Management' ) . '

' . + '

' . __( 'Support Forums' ) . '

' ); $id = isset( $_REQUEST['id'] ) ? intval( $_REQUEST['id'] ) : 0; diff --git a/wp-admin/network/site-new.php b/wp-admin/network/site-new.php index a44064caea..62346499bc 100644 --- a/wp-admin/network/site-new.php +++ b/wp-admin/network/site-new.php @@ -26,8 +26,8 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

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

' . - '

' . __('Documentation on Site Management') . '

' . - '

' . __('Support Forums') . '

' + '

' . __('Documentation on Site Management') . '

' . + '

' . __('Support Forums') . '

' ); if ( isset($_REQUEST['action']) && 'add-site' == $_REQUEST['action'] ) { diff --git a/wp-admin/network/site-settings.php b/wp-admin/network/site-settings.php index 8e8cd242fe..478ba8b79c 100644 --- a/wp-admin/network/site-settings.php +++ b/wp-admin/network/site-settings.php @@ -26,8 +26,8 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

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

' . - '

' . __('Documentation on Site Management') . '

' . - '

' . __('Support Forums') . '

' + '

' . __('Documentation on Site Management') . '

' . + '

' . __('Support Forums') . '

' ); $id = isset( $_REQUEST['id'] ) ? intval( $_REQUEST['id'] ) : 0; diff --git a/wp-admin/network/site-themes.php b/wp-admin/network/site-themes.php index ec2b1d851c..f4c8f1df48 100644 --- a/wp-admin/network/site-themes.php +++ b/wp-admin/network/site-themes.php @@ -26,8 +26,8 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

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

' . - '

' . __('Documentation on Site Management') . '

' . - '

' . __('Support Forums') . '

' + '

' . __('Documentation on Site Management') . '

' . + '

' . __('Support Forums') . '

' ); get_current_screen()->set_screen_reader_content( array( diff --git a/wp-admin/network/site-users.php b/wp-admin/network/site-users.php index 5c869ebb86..70e097e25d 100644 --- a/wp-admin/network/site-users.php +++ b/wp-admin/network/site-users.php @@ -29,8 +29,8 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

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

' . - '

' . __('Documentation on Site Management') . '

' . - '

' . __('Support Forums') . '

' + '

' . __('Documentation on Site Management') . '

' . + '

' . __('Support Forums') . '

' ); get_current_screen()->set_screen_reader_content( array( diff --git a/wp-admin/network/sites.php b/wp-admin/network/sites.php index a272229026..31bf3e9724 100644 --- a/wp-admin/network/sites.php +++ b/wp-admin/network/sites.php @@ -39,8 +39,8 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

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

' . - '

' . __('Documentation on Site Management') . '

' . - '

' . __('Support Forums') . '

' + '

' . __('Documentation on Site Management') . '

' . + '

' . __('Support Forums') . '

' ); get_current_screen()->set_screen_reader_content( array( diff --git a/wp-admin/network/themes.php b/wp-admin/network/themes.php index d6e4e95290..b100a52597 100644 --- a/wp-admin/network/themes.php +++ b/wp-admin/network/themes.php @@ -237,8 +237,8 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

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

' . - '

' . __('Documentation on Network Themes') . '

' . - '

' . __('Support Forums') . '

' + '

' . __('Documentation on Network Themes') . '

' . + '

' . __('Support Forums') . '

' ); get_current_screen()->set_screen_reader_content( array( diff --git a/wp-admin/network/upgrade.php b/wp-admin/network/upgrade.php index b2001e1364..b9c2bcf343 100644 --- a/wp-admin/network/upgrade.php +++ b/wp-admin/network/upgrade.php @@ -26,8 +26,8 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

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

' . - '

' . __('Documentation on Upgrade Network') . '

' . - '

' . __('Support Forums') . '

' + '

' . __('Documentation on Upgrade Network') . '

' . + '

' . __('Support Forums') . '

' ); require_once( ABSPATH . 'wp-admin/admin-header.php' ); diff --git a/wp-admin/network/user-new.php b/wp-admin/network/user-new.php index 1dc6083dc9..52941e2920 100644 --- a/wp-admin/network/user-new.php +++ b/wp-admin/network/user-new.php @@ -23,8 +23,8 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

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

' . - '

' . __('Documentation on Network Users') . '

' . - '

' . __('Support Forums') . '

' + '

' . __('Documentation on Network Users') . '

' . + '

' . __('Support Forums') . '

' ); if ( isset($_REQUEST['action']) && 'add-user' == $_REQUEST['action'] ) { diff --git a/wp-admin/network/users.php b/wp-admin/network/users.php index 0d74664a2b..3f9b688dcc 100644 --- a/wp-admin/network/users.php +++ b/wp-admin/network/users.php @@ -187,8 +187,8 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

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

' . - '

' . __('Documentation on Network Users') . '

' . - '

' . __('Support Forums') . '

' + '

' . __('Documentation on Network Users') . '

' . + '

' . __('Support Forums') . '

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