WordPress.org

Make WordPress Core

Changeset 38720


Ignore:
Timestamp:
10/04/2016 06:58:36 AM (3 years ago)
Author:
afercia
Message:

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

Stop taking control of users' browsers.

Props rianrietveld.
Fixes #38143. See #23432.

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

Legend:

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

    r37914 r38720  
    2626get_current_screen()->set_help_sidebar(
    2727    '<p><strong>' . __('For more information:') . '</strong></p>' .
    28     '<p>' . __('<a href="https://codex.wordpress.org/Settings_Discussion_Screen" target="_blank">Documentation on Discussion Settings</a>') . '</p>' .
    29     '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
     28    '<p>' . __('<a href="https://codex.wordpress.org/Settings_Discussion_Screen">Documentation on Discussion Settings</a>') . '</p>' .
     29    '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>'
    3030);
    3131
  • trunk/src/wp-admin/options-general.php

    r38502 r38720  
    4343get_current_screen()->set_help_sidebar(
    4444    '<p><strong>' . __('For more information:') . '</strong></p>' .
    45     '<p>' . __('<a href="https://codex.wordpress.org/Settings_General_Screen" target="_blank">Documentation on General Settings</a>') . '</p>' .
    46     '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
     45    '<p>' . __('<a href="https://codex.wordpress.org/Settings_General_Screen">Documentation on General Settings</a>') . '</p>' .
     46    '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>'
    4747);
    4848
  • trunk/src/wp-admin/options-media.php

    r37914 r38720  
    3232get_current_screen()->set_help_sidebar(
    3333    '<p><strong>' . __('For more information:') . '</strong></p>' .
    34     '<p>' . __('<a href="https://codex.wordpress.org/Settings_Media_Screen" target="_blank">Documentation on Media Settings</a>') . '</p>' .
    35     '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
     34    '<p>' . __('<a href="https://codex.wordpress.org/Settings_Media_Screen">Documentation on Media Settings</a>') . '</p>' .
     35    '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>'
    3636);
    3737
  • trunk/src/wp-admin/options-permalink.php

    r38067 r38720  
    4242get_current_screen()->set_help_sidebar(
    4343    '<p><strong>' . __('For more information:') . '</strong></p>' .
    44     '<p>' . __('<a href="https://codex.wordpress.org/Settings_Permalinks_Screen" target="_blank">Documentation on Permalinks Settings</a>') . '</p>' .
    45     '<p>' . __('<a href="https://codex.wordpress.org/Using_Permalinks" target="_blank">Documentation on Using Permalinks</a>') . '</p>' .
    46     '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
     44    '<p>' . __('<a href="https://codex.wordpress.org/Settings_Permalinks_Screen">Documentation on Permalinks Settings</a>') . '</p>' .
     45    '<p>' . __('<a href="https://codex.wordpress.org/Using_Permalinks">Documentation on Using Permalinks</a>') . '</p>' .
     46    '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>'
    4747);
    4848
  • trunk/src/wp-admin/options-reading.php

    r37914 r38720  
    3636get_current_screen()->set_help_sidebar(
    3737    '<p><strong>' . __('For more information:') . '</strong></p>' .
    38     '<p>' . __('<a href="https://codex.wordpress.org/Settings_Reading_Screen" target="_blank">Documentation on Reading Settings</a>') . '</p>' .
    39     '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
     38    '<p>' . __('<a href="https://codex.wordpress.org/Settings_Reading_Screen">Documentation on Reading Settings</a>') . '</p>' .
     39    '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>'
    4040);
    4141
  • trunk/src/wp-admin/options-writing.php

    r37914 r38720  
    4343get_current_screen()->set_help_sidebar(
    4444    '<p><strong>' . __('For more information:') . '</strong></p>' .
    45     '<p>' . __('<a href="https://codex.wordpress.org/Settings_Writing_Screen" target="_blank">Documentation on Writing Settings</a>') . '</p>' .
    46     '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
     45    '<p>' . __('<a href="https://codex.wordpress.org/Settings_Writing_Screen">Documentation on Writing Settings</a>') . '</p>' .
     46    '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>'
    4747);
    4848
Note: See TracChangeset for help on using the changeset viewer.