Make WordPress Core

Changeset 38718


Ignore:
Timestamp:
10/04/2016 06:53:20 AM (10 years ago)
Author:
afercia
Message:

Accessibility: Remove target=_blank from the comment/edit-comments help tabs links.

Stop taking control of users' browsers.

Props rianrietveld.
Fixes #38140. See #23432.

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

Legend:

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

    r38424 r38718  
    4949        get_current_screen()->set_help_sidebar(
    5050        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    51         '<p>' . __( '<a href="https://codex.wordpress.org/Administration_Screens#Comments" target="_blank">Documentation on Comments</a>' ) . '</p>' .
    52         '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>'
     51        '<p>' . __( '<a href="https://codex.wordpress.org/Administration_Screens#Comments">Documentation on Comments</a>' ) . '</p>' .
     52        '<p>' . __( '<a href="https://wordpress.org/support/">Support Forums</a>' ) . '</p>'
    5353        );
    5454
  • trunk/src/wp-admin/edit-comments.php

    r38647 r38718  
    179179get_current_screen()->set_help_sidebar(
    180180        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    181         '<p>' . __( '<a href="https://codex.wordpress.org/Administration_Screens#Comments" target="_blank">Documentation on Comments</a>' ) . '</p>' .
    182         '<p>' . __( '<a href="https://codex.wordpress.org/Comment_Spam" target="_blank">Documentation on Comment Spam</a>' ) . '</p>' .
    183         '<p>' . __( '<a href="https://codex.wordpress.org/Keyboard_Shortcuts" target="_blank">Documentation on Keyboard Shortcuts</a>' ) . '</p>' .
    184         '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>'
     181        '<p>' . __( '<a href="https://codex.wordpress.org/Administration_Screens#Comments">Documentation on Comments</a>' ) . '</p>' .
     182        '<p>' . __( '<a href="https://codex.wordpress.org/Comment_Spam">Documentation on Comment Spam</a>' ) . '</p>' .
     183        '<p>' . __( '<a href="https://codex.wordpress.org/Keyboard_Shortcuts">Documentation on Keyboard Shortcuts</a>' ) . '</p>' .
     184        '<p>' . __( '<a href="https://wordpress.org/support/">Support Forums</a>' ) . '</p>'
    185185);
    186186
Note: See TracChangeset for help on using the changeset viewer.