Make WordPress Core


Ignore:
Timestamp:
10/04/2016 08:26:09 PM (7 years ago)
Author:
afercia
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit.php

    r38647 r38725  
    174174             * @param string $sendback The redirect URL.
    175175             * @param string $doaction The action being taken.
    176              * @param array  $post_ids The post IDs to take the action on. 
     176             * @param array  $post_ids The post IDs to take the action on.
    177177             */
    178178            $sendback = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $sendback, $doaction, $post_ids );
     
    237237    get_current_screen()->set_help_sidebar(
    238238    '<p><strong>' . __('For more information:') . '</strong></p>' .
    239     '<p>' . __('<a href="https://codex.wordpress.org/Posts_Screen" target="_blank">Documentation on Managing Posts</a>') . '</p>' .
    240     '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
     239    '<p>' . __('<a href="https://codex.wordpress.org/Posts_Screen">Documentation on Managing Posts</a>') . '</p>' .
     240    '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>'
    241241    );
    242242
     
    258258    get_current_screen()->set_help_sidebar(
    259259    '<p><strong>' . __('For more information:') . '</strong></p>' .
    260     '<p>' . __('<a href="https://codex.wordpress.org/Pages_Screen" target="_blank">Documentation on Managing Pages</a>') . '</p>' .
    261     '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
     260    '<p>' . __('<a href="https://codex.wordpress.org/Pages_Screen">Documentation on Managing Pages</a>') . '</p>' .
     261    '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>'
    262262    );
    263263
Note: See TracChangeset for help on using the changeset viewer.