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
This commit is contained in:
@@ -42,8 +42,8 @@ get_current_screen()->add_help_tab( array(
|
||||
|
||||
get_current_screen()->set_help_sidebar(
|
||||
'<p><strong>' . __('For more information:') . '</strong></p>' .
|
||||
'<p>' . __('<a href="https://codex.wordpress.org/Settings_General_Screen" target="_blank">Documentation on General Settings</a>') . '</p>' .
|
||||
'<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
|
||||
'<p>' . __('<a href="https://codex.wordpress.org/Settings_General_Screen">Documentation on General Settings</a>') . '</p>' .
|
||||
'<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>'
|
||||
);
|
||||
|
||||
include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
|
||||
Reference in New Issue
Block a user