WordPress.org

Make WordPress Core

Changeset 38721


Ignore:
Timestamp:
10/04/2016 07:02:48 AM (3 years ago)
Author:
afercia
Message:

Accessibility: Remove target=_blank from the Network screens help tabs links.

Stop taking control of users' browsers.

Props rianrietveld.
Fixes #38159. See #23432.

Location:
trunk/src/wp-admin
Files:
13 edited

Legend:

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

    r38474 r38721  
    4545get_current_screen()->set_help_sidebar(
    4646    '<p><strong>' . __('For more information:') . '</strong></p>' .
    47     '<p>' . __('<a href="https://codex.wordpress.org/Dashboard_My_Sites_Screen" target="_blank">Documentation on My Sites</a>') . '</p>' .
    48     '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
     47    '<p>' . __('<a href="https://codex.wordpress.org/Dashboard_My_Sites_Screen">Documentation on My Sites</a>') . '</p>' .
     48    '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>'
    4949);
    5050
  • trunk/src/wp-admin/network/index.php

    r38657 r38721  
    4848get_current_screen()->set_help_sidebar(
    4949    '<p><strong>' . __('For more information:') . '</strong></p>' .
    50     '<p>' . __('<a href="https://codex.wordpress.org/Network_Admin" target="_blank">Documentation on the Network Admin</a>') . '</p>' .
    51     '<p>' . __('<a href="https://wordpress.org/support/forum/multisite/" target="_blank">Support Forums</a>') . '</p>'
     50    '<p>' . __('<a href="https://codex.wordpress.org/Network_Admin">Documentation on the Network Admin</a>') . '</p>' .
     51    '<p>' . __('<a href="https://wordpress.org/support/forum/multisite/">Support Forums</a>') . '</p>'
    5252);
    5353
  • trunk/src/wp-admin/network/settings.php

    r38657 r38721  
    3838get_current_screen()->set_help_sidebar(
    3939    '<p><strong>' . __('For more information:') . '</strong></p>' .
    40     '<p>' . __('<a href="https://codex.wordpress.org/Network_Admin_Settings_Screen" target="_blank">Documentation on Network Settings</a>') . '</p>' .
    41     '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
     40    '<p>' . __('<a href="https://codex.wordpress.org/Network_Admin_Settings_Screen">Documentation on Network Settings</a>') . '</p>' .
     41    '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>'
    4242);
    4343
  • trunk/src/wp-admin/network/site-info.php

    r38657 r38721  
    2828get_current_screen()->set_help_sidebar(
    2929    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    30     '<p>' . __( '<a href="https://codex.wordpress.org/Network_Admin_Sites_Screen" target="_blank">Documentation on Site Management</a>' ) . '</p>' .
    31     '<p>' . __( '<a href="https://wordpress.org/support/forum/multisite/" target="_blank">Support Forums</a>' ) . '</p>'
     30    '<p>' . __( '<a href="https://codex.wordpress.org/Network_Admin_Sites_Screen">Documentation on Site Management</a>' ) . '</p>' .
     31    '<p>' . __( '<a href="https://wordpress.org/support/forum/multisite/">Support Forums</a>' ) . '</p>'
    3232);
    3333
  • trunk/src/wp-admin/network/site-new.php

    r38657 r38721  
    2727get_current_screen()->set_help_sidebar(
    2828    '<p><strong>' . __('For more information:') . '</strong></p>' .
    29     '<p>' . __('<a href="https://codex.wordpress.org/Network_Admin_Sites_Screen" target="_blank">Documentation on Site Management</a>') . '</p>' .
    30     '<p>' . __('<a href="https://wordpress.org/support/forum/multisite/" target="_blank">Support Forums</a>') . '</p>'
     29    '<p>' . __('<a href="https://codex.wordpress.org/Network_Admin_Sites_Screen">Documentation on Site Management</a>') . '</p>' .
     30    '<p>' . __('<a href="https://wordpress.org/support/forum/multisite/">Support Forums</a>') . '</p>'
    3131);
    3232
  • trunk/src/wp-admin/network/site-settings.php

    r38657 r38721  
    2727get_current_screen()->set_help_sidebar(
    2828    '<p><strong>' . __('For more information:') . '</strong></p>' .
    29     '<p>' . __('<a href="https://codex.wordpress.org/Network_Admin_Sites_Screen" target="_blank">Documentation on Site Management</a>') . '</p>' .
    30     '<p>' . __('<a href="https://wordpress.org/support/forum/multisite/" target="_blank">Support Forums</a>') . '</p>'
     29    '<p>' . __('<a href="https://codex.wordpress.org/Network_Admin_Sites_Screen">Documentation on Site Management</a>') . '</p>' .
     30    '<p>' . __('<a href="https://wordpress.org/support/forum/multisite/">Support Forums</a>') . '</p>'
    3131);
    3232
  • trunk/src/wp-admin/network/site-themes.php

    r38657 r38721  
    2727get_current_screen()->set_help_sidebar(
    2828    '<p><strong>' . __('For more information:') . '</strong></p>' .
    29     '<p>' . __('<a href="https://codex.wordpress.org/Network_Admin_Sites_Screen" target="_blank">Documentation on Site Management</a>') . '</p>' .
    30     '<p>' . __('<a href="https://wordpress.org/support/forum/multisite/" target="_blank">Support Forums</a>') . '</p>'
     29    '<p>' . __('<a href="https://codex.wordpress.org/Network_Admin_Sites_Screen">Documentation on Site Management</a>') . '</p>' .
     30    '<p>' . __('<a href="https://wordpress.org/support/forum/multisite/">Support Forums</a>') . '</p>'
    3131);
    3232
  • trunk/src/wp-admin/network/site-users.php

    r38665 r38721  
    3030get_current_screen()->set_help_sidebar(
    3131    '<p><strong>' . __('For more information:') . '</strong></p>' .
    32     '<p>' . __('<a href="https://codex.wordpress.org/Network_Admin_Sites_Screen" target="_blank">Documentation on Site Management</a>') . '</p>' .
    33     '<p>' . __('<a href="https://wordpress.org/support/forum/multisite/" target="_blank">Support Forums</a>') . '</p>'
     32    '<p>' . __('<a href="https://codex.wordpress.org/Network_Admin_Sites_Screen">Documentation on Site Management</a>') . '</p>' .
     33    '<p>' . __('<a href="https://wordpress.org/support/forum/multisite/">Support Forums</a>') . '</p>'
    3434);
    3535
  • trunk/src/wp-admin/network/sites.php

    r38657 r38721  
    4040get_current_screen()->set_help_sidebar(
    4141    '<p><strong>' . __('For more information:') . '</strong></p>' .
    42     '<p>' . __('<a href="https://codex.wordpress.org/Network_Admin_Sites_Screen" target="_blank">Documentation on Site Management</a>') . '</p>' .
    43     '<p>' . __('<a href="https://wordpress.org/support/forum/multisite/" target="_blank">Support Forums</a>') . '</p>'
     42    '<p>' . __('<a href="https://codex.wordpress.org/Network_Admin_Sites_Screen">Documentation on Site Management</a>') . '</p>' .
     43    '<p>' . __('<a href="https://wordpress.org/support/forum/multisite/">Support Forums</a>') . '</p>'
    4444);
    4545
  • trunk/src/wp-admin/network/themes.php

    r38672 r38721  
    238238get_current_screen()->set_help_sidebar(
    239239    '<p><strong>' . __('For more information:') . '</strong></p>' .
    240     '<p>' . __('<a href="https://codex.wordpress.org/Network_Admin_Themes_Screen" target="_blank">Documentation on Network Themes</a>') . '</p>' .
    241     '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
     240    '<p>' . __('<a href="https://codex.wordpress.org/Network_Admin_Themes_Screen">Documentation on Network Themes</a>') . '</p>' .
     241    '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>'
    242242);
    243243
  • trunk/src/wp-admin/network/upgrade.php

    r38680 r38721  
    2727get_current_screen()->set_help_sidebar(
    2828    '<p><strong>' . __('For more information:') . '</strong></p>' .
    29     '<p>' . __('<a href="https://codex.wordpress.org/Network_Admin_Updates_Screen" target="_blank">Documentation on Upgrade Network</a>') . '</p>' .
    30     '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
     29    '<p>' . __('<a href="https://codex.wordpress.org/Network_Admin_Updates_Screen">Documentation on Upgrade Network</a>') . '</p>' .
     30    '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>'
    3131);
    3232
  • trunk/src/wp-admin/network/user-new.php

    r38657 r38721  
    2424get_current_screen()->set_help_sidebar(
    2525    '<p><strong>' . __('For more information:') . '</strong></p>' .
    26     '<p>' . __('<a href="https://codex.wordpress.org/Network_Admin_Users_Screen" target="_blank">Documentation on Network Users</a>') . '</p>' .
    27     '<p>' . __('<a href="https://wordpress.org/support/forum/multisite/" target="_blank">Support Forums</a>') . '</p>'
     26    '<p>' . __('<a href="https://codex.wordpress.org/Network_Admin_Users_Screen">Documentation on Network Users</a>') . '</p>' .
     27    '<p>' . __('<a href="https://wordpress.org/support/forum/multisite/">Support Forums</a>') . '</p>'
    2828);
    2929
  • trunk/src/wp-admin/network/users.php

    r38657 r38721  
    188188get_current_screen()->set_help_sidebar(
    189189    '<p><strong>' . __('For more information:') . '</strong></p>' .
    190     '<p>' . __('<a href="https://codex.wordpress.org/Network_Admin_Users_Screen" target="_blank">Documentation on Network Users</a>') . '</p>' .
    191     '<p>' . __('<a href="https://wordpress.org/support/forum/multisite/" target="_blank">Support Forums</a>') . '</p>'
     190    '<p>' . __('<a href="https://codex.wordpress.org/Network_Admin_Users_Screen">Documentation on Network Users</a>') . '</p>' .
     191    '<p>' . __('<a href="https://wordpress.org/support/forum/multisite/">Support Forums</a>') . '</p>'
    192192);
    193193
Note: See TracChangeset for help on using the changeset viewer.