WordPress.org

Make WordPress Core

Changeset 39019


Ignore:
Timestamp:
10/30/2016 03:18:35 PM (3 years ago)
Author:
afercia
Message:

Accessibility: Remove target=_blank from the help tab links in network.php.

Stop taking control of users' browsers.

Props wolly.
Fixes #38572. See #23432.

File:
1 edited

Legend:

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

    r37914 r39019  
    6464    '<p>' . __('The choice of subdirectory sites is disabled if this setup is more than a month old because of permalink problems with &#8220;/blog/&#8221; from the main site. This disabling will be addressed in a future version.') . '</p>' .
    6565    '<p><strong>' . __('For more information:') . '</strong></p>' .
    66     '<p>' . __('<a href="https://codex.wordpress.org/Create_A_Network" target="_blank">Documentation on Creating a Network</a>') . '</p>' .
    67     '<p>' . __('<a href="https://codex.wordpress.org/Tools_Network_Screen" target="_blank">Documentation on the Network Screen</a>') . '</p>';
     66    '<p>' . __( '<a href="https://codex.wordpress.org/Create_A_Network">Documentation on Creating a Network</a>' ) . '</p>' .
     67    '<p>' . __( '<a href="https://codex.wordpress.org/Tools_Network_Screen">Documentation on the Network Screen</a>' ) . '</p>';
    6868
    6969get_current_screen()->add_help_tab( array(
     
    7575get_current_screen()->set_help_sidebar(
    7676    '<p><strong>' . __('For more information:') . '</strong></p>' .
    77     '<p>' . __('<a href="https://codex.wordpress.org/Create_A_Network" target="_blank">Documentation on Creating a Network</a>') . '</p>' .
    78     '<p>' . __('<a href="https://codex.wordpress.org/Tools_Network_Screen" target="_blank">Documentation on the Network Screen</a>') . '</p>' .
    79     '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
     77    '<p>' . __( '<a href="https://codex.wordpress.org/Create_A_Network">Documentation on Creating a Network</a>' ) . '</p>' .
     78    '<p>' . __( '<a href="https://codex.wordpress.org/Tools_Network_Screen">Documentation on the Network Screen</a>' ) . '</p>' .
     79    '<p>' . __( '<a href="https://wordpress.org/support/">Support Forums</a>' ) . '</p>'
    8080);
    8181
Note: See TracChangeset for help on using the changeset viewer.