Make WordPress Core

Changeset 41566


Ignore:
Timestamp:
09/22/2017 06:30:10 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Help/About: Tweak Help tabs on Users screen for consistency with Posts screen.

Props bnap00, Arena94.
Fixes #40553.

File:
1 edited

Legend:

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

    r40940 r41566  
    3535
    3636get_current_screen()->add_help_tab( array(
    37     'id'      => 'screen-display',
    38     'title'   => __('Screen Display'),
     37    'id'      => 'screen-content',
     38    'title'   => __('Screen Content'),
    3939    'content' => '<p>' . __('You can customize the display of this screen in a number of ways:') . '</p>' .
    4040                    '<ul>' .
     
    4747$help = '<p>' . __('Hovering over a row in the users list will display action links that allow you to manage users. You can perform the following actions:') . '</p>' .
    4848    '<ul>' .
    49     '<li>' . __('Edit takes you to the editable profile screen for that user. You can also reach that screen by clicking on the username.') . '</li>';
     49    '<li>' . __('<strong>Edit</strong> takes you to the editable profile screen for that user. You can also reach that screen by clicking on the username.') . '</li>';
    5050
    5151if ( is_multisite() )
    52     $help .= '<li>' . __( 'Remove allows you to remove a user from your site. It does not delete their content. You can also remove multiple users at once by using Bulk Actions.' ) . '</li>';
     52    $help .= '<li>' . __( '<strong>Remove</strong> allows you to remove a user from your site. It does not delete their content. You can also remove multiple users at once by using Bulk Actions.' ) . '</li>';
    5353else
    54     $help .= '<li>' . __( 'Delete brings you to the Delete Users screen for confirmation, where you can permanently remove a user from your site and delete their content. You can also delete multiple users at once by using Bulk Actions.' ) . '</li>';
     54    $help .= '<li>' . __( '<strong>Delete</strong> brings you to the Delete Users screen for confirmation, where you can permanently remove a user from your site and delete their content. You can also delete multiple users at once by using Bulk Actions.' ) . '</li>';
    5555
    5656$help .= '</ul>';
    5757
    5858get_current_screen()->add_help_tab( array(
    59     'id'      => 'actions',
    60     'title'   => __('Actions'),
     59    'id'      => 'action-links',
     60    'title'   => __('Available Actions'),
    6161    'content' => $help,
    6262) );
Note: See TracChangeset for help on using the changeset viewer.