Make WordPress Core


Ignore:
Timestamp:
10/04/2016 07:07:17 AM (8 years ago)
Author:
afercia
Message:

Accessibility: Remove target=_blank from the Plugins, Themes, Media, Update, and Tools screens help tabs links.

Stop taking control of users' browsers.

Props rianrietveld.
Fixes #38215. See #23432.

File:
1 edited

Legend:

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

    r38672 r38722  
    401401    '<p>' . sprintf(
    402402        /* translators: %s: WordPress Plugin Directory URL */
    403         __( 'If you would like to see more plugins to choose from, click on the &#8220;Add New&#8221; button and you will be able to browse or search for additional plugins from the <a href="%s" target="_blank">WordPress Plugin Directory</a>. Plugins in the WordPress Plugin Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they&#8217;re free!' ),
     403        __( 'If you would like to see more plugins to choose from, click on the &#8220;Add New&#8221; button and you will be able to browse or search for additional plugins from the <a href="%s">WordPress Plugin Directory</a>. Plugins in the WordPress Plugin Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they&#8217;re free!' ),
    404404        __( 'https://wordpress.org/plugins/' )
    405405    ) . '</p>'
     
    419419get_current_screen()->set_help_sidebar(
    420420    '<p><strong>' . __('For more information:') . '</strong></p>' .
    421     '<p>' . __('<a href="https://codex.wordpress.org/Managing_Plugins#Plugin_Management" target="_blank">Documentation on Managing Plugins</a>') . '</p>' .
    422     '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
     421    '<p>' . __('<a href="https://codex.wordpress.org/Managing_Plugins#Plugin_Management">Documentation on Managing Plugins</a>') . '</p>' .
     422    '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>'
    423423);
    424424
Note: See TracChangeset for help on using the changeset viewer.