Accessibility: Remove target=_blank from the help tab links on several admin screens.
Stop taking control of users' browsers. Props rianrietveld. Fixes #38145. See #23432. Built from https://develop.svn.wordpress.org/trunk@38725 git-svn-id: http://core.svn.wordpress.org/trunk@38668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
1 parent
62a43623a4
commit
86ad7855be
12 files changed
+34
-34
No files matched your search
+2
-2
@@ -80,8 +80,8 @@ case 'edit' :
|
||||
|
||||
get_current_screen()->set_help_sidebar(
|
||||
'<p><strong>' . __('For more information:') . '</strong></p>' .
|
||||
'<p>' . __('<a href="https://codex.wordpress.org/Media_Add_New_Screen#Edit_Media" target="_blank">Documentation on Edit Media</a>') . '</p>' .
|
||||
'<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
|
||||
'<p>' . __('<a href="https://codex.wordpress.org/Media_Add_New_Screen#Edit_Media">Documentation on Edit Media</a>') . '</p>' .
|
||||
'<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>'
|
||||
);
|
||||
|
||||
require( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
|
||||
Reference in new issue
Block a user