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

Props bnap00, Arena94.
Fixes #40553.
Built from https://develop.svn.wordpress.org/trunk@41566


git-svn-id: http://core.svn.wordpress.org/trunk@41399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2017-09-22 18:31:48 +00:00
parent f69b784ec7
commit c2dcfa5278
2 changed files with 8 additions and 8 deletions

View File

@ -34,8 +34,8 @@ get_current_screen()->add_help_tab( array(
) ) ; ) ) ;
get_current_screen()->add_help_tab( array( get_current_screen()->add_help_tab( array(
'id' => 'screen-display', 'id' => 'screen-content',
'title' => __('Screen Display'), 'title' => __('Screen Content'),
'content' => '<p>' . __('You can customize the display of this screen in a number of ways:') . '</p>' . 'content' => '<p>' . __('You can customize the display of this screen in a number of ways:') . '</p>' .
'<ul>' . '<ul>' .
'<li>' . __('You can hide/display columns based on your needs and decide how many users to list per screen using the Screen Options tab.') . '</li>' . '<li>' . __('You can hide/display columns based on your needs and decide how many users to list per screen using the Screen Options tab.') . '</li>' .
@ -46,18 +46,18 @@ get_current_screen()->add_help_tab( array(
$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>' . $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>' .
'<ul>' . '<ul>' .
'<li>' . __('Edit takes you to the editable profile screen for that user. You can also reach that screen by clicking on the username.') . '</li>'; '<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>';
if ( is_multisite() ) if ( is_multisite() )
$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>'; $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>';
else else
$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>'; $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>';
$help .= '</ul>'; $help .= '</ul>';
get_current_screen()->add_help_tab( array( get_current_screen()->add_help_tab( array(
'id' => 'actions', 'id' => 'action-links',
'title' => __('Actions'), 'title' => __('Available Actions'),
'content' => $help, 'content' => $help,
) ); ) );
unset( $help ); unset( $help );

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.9-alpha-41565'; $wp_version = '4.9-alpha-41566';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.