Make WordPress Core

Changeset 55042


Ignore:
Timestamp:
01/10/2023 08:59:14 AM (21 months ago)
Author:
audrasjb
Message:

Help/About: Improve comments keyboard shortcuts HelpHub links.

This changeset adds an anchor in Comments keyboard shortcut documentation links to direct the user to a more specific section of the HelpHub documentation. It also removes `target="_blank" from a link, since preventing data loss when clicking any on User Edit and Comment Edit screens is already handled by another existing ticket (#40493).

Props NekoJonez, SergeyBiryukov, sabernhardt, dennisatyoast, robinwpdeveloper.
Fixes #56920.

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

Legend:

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

    r54062 r55042  
    210210    '<p>' . __( '<a href="https://wordpress.org/support/article/comments-screen/">Documentation on Comments</a>' ) . '</p>' .
    211211    '<p>' . __( '<a href="https://wordpress.org/support/article/comment-spam/">Documentation on Comment Spam</a>' ) . '</p>' .
    212     '<p>' . __( '<a href="https://wordpress.org/support/article/keyboard-shortcuts/">Documentation on Keyboard Shortcuts</a>' ) . '</p>' .
     212    '<p>' . __( '<a href="https://wordpress.org/support/article/keyboard-shortcuts/#keyboard-shortcuts-for-comments">Documentation on Keyboard Shortcuts</a>' ) . '</p>' .
    213213    '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    214214);
  • trunk/src/wp-admin/user-edit.php

    r54891 r55042  
    331331                                <?php _e( 'Enable keyboard shortcuts for comment moderation.' ); ?>
    332332                            </label>
    333                             <?php _e( '<a href="https://wordpress.org/support/article/keyboard-shortcuts/" target="_blank">More information</a>' ); ?>
     333                            <?php _e( '<a href="https://wordpress.org/support/article/keyboard-shortcuts/#keyboard-shortcuts-for-comments">Documentation on Keyboard Shortcuts</a>' ); ?>
    334334                        </td>
    335335                    </tr>
Note: See TracChangeset for help on using the changeset viewer.