From 6f3e4849fdf5dd70cadcdb46c3fdc9d14cbe0dfd Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Sun, 30 Oct 2016 15:18:35 +0000 Subject: [PATCH] Accessibility: Remove target=_blank from the help tab links in network.php. Stop taking control of users' browsers. Props wolly. Fixes #38572. See #23432. git-svn-id: https://develop.svn.wordpress.org/trunk@39019 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/network.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wp-admin/network.php b/src/wp-admin/network.php index 386bb33bbe..cce5ebfbf1 100644 --- a/src/wp-admin/network.php +++ b/src/wp-admin/network.php @@ -63,8 +63,8 @@ $network_help = '

' . __('This screen allows you to configure a network as hav '

' . __('Once you add this code and refresh your browser, multisite should be enabled. This screen, now in the Network Admin navigation menu, will keep an archive of the added code. You can toggle between Network Admin and Site Admin by clicking on the Network Admin or an individual site name under the My Sites dropdown in the Toolbar.') . '

' . '

' . __('The choice of subdirectory sites is disabled if this setup is more than a month old because of permalink problems with “/blog/” from the main site. This disabling will be addressed in a future version.') . '

' . '

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

' . - '

' . __('Documentation on Creating a Network') . '

' . - '

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

'; + '

' . __( 'Documentation on Creating a Network' ) . '

' . + '

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

'; get_current_screen()->add_help_tab( array( 'id' => 'network', @@ -74,9 +74,9 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

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

' . - '

' . __('Documentation on Creating a Network') . '

' . - '

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

' . - '

' . __('Support Forums') . '

' + '

' . __( 'Documentation on Creating a Network' ) . '

' . + '

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

' . + '

' . __( 'Support Forums' ) . '

' ); include( ABSPATH . 'wp-admin/admin-header.php' );