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/theme-install.php

    r38672 r38722  
    7979    '<p>' . sprintf(
    8080            /* translators: %s: Theme Directory URL */
    81             __( 'You can find additional themes for your site by using the Theme Browser/Installer on this screen, which will display themes from the <a href="%s" target="_blank">WordPress Theme Directory</a>. These themes are designed and developed by third parties, are available free of charge, and are compatible with the license WordPress uses.' ),
     81            __( 'You can find additional themes for your site by using the Theme Browser/Installer on this screen, which will display themes from the <a href="%s">WordPress Theme Directory</a>. These themes are designed and developed by third parties, are available free of charge, and are compatible with the license WordPress uses.' ),
    8282            __( 'https://wordpress.org/themes/' )
    8383        ) . '</p>' .
     
    108108get_current_screen()->set_help_sidebar(
    109109    '<p><strong>' . __('For more information:') . '</strong></p>' .
    110     '<p>' . __('<a href="https://codex.wordpress.org/Using_Themes#Adding_New_Themes" target="_blank">Documentation on Adding New Themes</a>') . '</p>' .
    111     '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
     110    '<p>' . __('<a href="https://codex.wordpress.org/Using_Themes#Adding_New_Themes">Documentation on Adding New Themes</a>') . '</p>' .
     111    '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>'
    112112);
    113113
Note: See TracChangeset for help on using the changeset viewer.