WordPress.org

Make WordPress Core

Changeset 38723


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

Accessibility: Remove target=_blank from the Users and Widgets screens help tabs links.

Stop taking control of users' browsers.

Props rianrietveld.
Fixes #38217. See #23432.

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

Legend:

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

    r38705 r38723  
    5252get_current_screen()->set_help_sidebar(
    5353    '<p><strong>' . __('For more information:') . '</strong></p>' .
    54     '<p>' . __('<a href="https://codex.wordpress.org/Users_Your_Profile_Screen" target="_blank">Documentation on User Profiles</a>') . '</p>' .
    55     '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
     54    '<p>' . __('<a href="https://codex.wordpress.org/Users_Your_Profile_Screen">Documentation on User Profiles</a>') . '</p>' .
     55    '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>'
    5656);
    5757
  • trunk/src/wp-admin/user-new.php

    r38672 r38723  
    204204get_current_screen()->set_help_sidebar(
    205205    '<p><strong>' . __('For more information:') . '</strong></p>' .
    206     '<p>' . __('<a href="https://codex.wordpress.org/Users_Add_New_Screen" target="_blank">Documentation on Adding New Users</a>') . '</p>' .
    207     '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
     206    '<p>' . __('<a href="https://codex.wordpress.org/Users_Add_New_Screen">Documentation on Adding New Users</a>') . '</p>' .
     207    '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>'
    208208);
    209209
  • trunk/src/wp-admin/users.php

    r38666 r38723  
    6565get_current_screen()->set_help_sidebar(
    6666    '<p><strong>' . __('For more information:') . '</strong></p>' .
    67     '<p>' . __('<a href="https://codex.wordpress.org/Users_Screen" target="_blank">Documentation on Managing Users</a>') . '</p>' .
    68     '<p>' . __('<a href="https://codex.wordpress.org/Roles_and_Capabilities" target="_blank">Descriptions of Roles and Capabilities</a>') . '</p>' .
    69     '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
     67    '<p>' . __('<a href="https://codex.wordpress.org/Users_Screen">Documentation on Managing Users</a>') . '</p>' .
     68    '<p>' . __('<a href="https://codex.wordpress.org/Roles_and_Capabilities">Descriptions of Roles and Capabilities</a>') . '</p>' .
     69    '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>'
    7070);
    7171
  • trunk/src/wp-admin/widgets.php

    r38672 r38723  
    7272get_current_screen()->set_help_sidebar(
    7373    '<p><strong>' . __('For more information:') . '</strong></p>' .
    74     '<p>' . __('<a href="https://codex.wordpress.org/Appearance_Widgets_Screen" target="_blank">Documentation on Widgets</a>') . '</p>' .
    75     '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
     74    '<p>' . __('<a href="https://codex.wordpress.org/Appearance_Widgets_Screen">Documentation on Widgets</a>') . '</p>' .
     75    '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>'
    7676);
    7777
Note: See TracChangeset for help on using the changeset viewer.