WordPress.org

Make WordPress Core

Ticket #19020: users-tools-1130-jw.patch

File users-tools-1130-jw.patch, 12.5 KB (added by jane, 6 years ago)

Help updates for Tolls and Users section screens

  • wp-admin/users.php

     
    2121 
    2222// contextual help - choose Help on the top right of admin panel to preview this. 
    2323get_current_screen()->add_help_tab( array(  
    24         'id'      => 'screen-info', 
    25         'title'   => __('Users List'),  
     24        'id'      => 'overview', 
     25        'title'   => __('Overview'),  
    2626        'content' => '<p>' . __('This screen lists all the existing users for your site. Each user has one of five defined roles as set by the site admin: Site Administrator, Editor, Author, Contributor, or Subscriber. Users with roles other than Administrator will see fewer options in the dashboard navigation when they are logged in, based on their role.') . '</p>' . 
    2727                                 '<p>' . __('To add a new user for your site, click the Add New button at the top of the screen or Add New in the Users menu section.') . '</p>' 
    2828) ) ; 
    2929 
    3030get_current_screen()->add_help_tab( array(  
    31         'id'      => 'customize-display', 
    32         'title'   => __('Customizing This Display'),  
     31        'id'      => 'screen-display', 
     32        'title'   => __('Screen Display'),  
    3333        'content' => '<p>' . __('You can customize the display of this screen in a number of ways:') . '</p>' .  
    3434                                        '<ul>' .  
    3535                                        '<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>' .  
     
    3939) );  
    4040 
    4141get_current_screen()->add_help_tab( array(  
    42         'id'      => 'row-actions',  
    43         'title'   => __('Action Links'),  
     42        'id'      => 'actions',  
     43        'title'   => __('Actions'),  
    4444        'content' => '<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>' .  
    4545                                        '<ul>' . 
    4646                                        '<li>' . __('Edit takes you to the editable profile screen for that user. You can also reach that screen by clicking on the username.') . '</li>' . 
    47                                         ( is_multisite() ? '<li>' . __('Remove allows you to remove a user from your site.  It does not delete their posts.') . '</li>' : '<li>' . __('Delete brings you to the Delete Users screen for confirmation, where you can permanently remove a user from your site and delete their posts.') . '</li>' ) . 
     47                                        ( is_multisite() ? '<li>' . __('Remove allows you to remove a user from your site.  It does not delete their posts.') . '</li>' : '<li>' . __('Delete brings you to the Delete Users screen for confirmation, where you can permanently remove a user from your site and delete their posts. You can also delete multiple users at once by using Bulk Actions') . '</li>' ) . 
    4848                                        '</ul>'  
    4949) ); 
    5050         
  • wp-admin/user-new.php

     
    140140        $do_both = true; 
    141141 
    142142get_current_screen()->add_help_tab( array(   
    143 'id'      => 'add-new-user',  
    144 'title'   => __('Adding New Users'),  
    145 'content' => '<p>' . __('To add a new user to your site, fill in the form on this screen. If you&#8217;re not sure which role to assign, you can use the link below to review the different roles and their capabilities. Here is a basic overview of roles:') . '</p>' . 
     143'id'      => 'overview',  
     144'title'   => __('Overview'),  
     145'content' => '<p>' . __('To add a new user to your site, fill in the form on this screen and click the Add New User button at the bottom.') . '</p>' . 
     146                        ( is_multisite() ? '<p>' . __('Because this is a multisite installation, you may add accounts that already exist on the Network by specifying a username or email, and defining a role. For more options, such as specifying a password, you have to be a Network Administrator and use the hover link under an existing user&#8217;s name to Edit the user profile under Network Admin > All Users.') . '</p>' : '<p>' . __('You must assign a password to the new user, but don&#8217;t worry; when they log in for the first time they will be prompted to change it. The username, however, cannot be changed.') . '</p>' ). 
     147                        ( is_multisite() ? '<p>' . __('New users will receive an email letting them know they&#8217;ve been added as a user for your site. This email will also contain their password. Check the box if you don&#8217;t want the user to recieve a welcome email.') . '</p>' : '<p>' . __('New users will receive an email letting them know they&#8217;ve been added as a user for your site. By default, this email will also contain their password. Uncheck the box if you don&#8217;t want the password to be included in the welcome email.') . '</p>' ) . 
     148                         '<p>' . __('Remember to click the Add New User button at the bottom of this screen when you are finished.') . '</p>' 
     149) ); 
     150 
     151get_current_screen()->add_help_tab( array(   
     152'id'      => 'user-roles',  
     153'title'   => __('User Roles'),  
     154'content' => '<p>' . __('Here is a basic overview of the different user roles and the permissions associated with each one:') . '</p>' . 
    146155                                '<ul>' . 
    147156                                '<li>' . __('Administrators have access to all the administration features.') . '</li>' . 
    148157                                '<li>' . __('Editors can publish posts, manage posts as well as manage other people&#8217;s posts, etc.')  . '</li>' . 
    149                                 '<li>' . __('Authors can publish and manage their own posts.') . '</li>' . 
     158                                '<li>' . __('Authors can publish and manage their own posts, and are able to upload files.') . '</li>' . 
    150159                                '<li>' . __('Contributors can write and manage their posts but not publish posts or upload media files.') . '</li>' . 
    151                                 '<li>' . __('Subscribers can read comments/comment/receive newsletters, etc.') . '</li>' . 
     160                                '<li>' . __('Subscribers can read comments/comment/receive newsletters, etc. but cannot create regular site content.') . '</li>' . 
    152161                                '</ul>' . 
    153                         ( is_multisite() ? '<p>' . __('Because this is a multisite installation, you may add accounts that already exist on the Network by specifying a username or email, and defining a role. For more options, such as specifying a password, you have to be a Network Administrator and use the hover link under an existing user&#8217;s name to Edit the user profile under Network Admin > All Users.') . '</p>' : '<p>' . __('You must assign a password to the new user, but don&#8217;t worry; when they log in for the first time they will be prompted to change it. The username, however, cannot be changed.') . '</p>' ). 
    154                         ( is_multisite() ? '<p>' . __('New users will receive an email letting them know they&#8217;ve been added as a user for your site. This email will also contain their password. Check the box if you don&#8217;t want the user to recieve a welcome email.') . '</p>' : '<p>' . __('New users will receive an email letting them know they&#8217;ve been added as a user for your site. By default, this email will also contain their password. Uncheck the box if you don&#8217;t want the password to be included in the welcome email.') . '</p>' ) . 
    155                          '<p>' . __('Remember to click the Add User button at the bottom of this screen when you are finished.') . '</p>' 
    156162) ); 
    157163 
    158164get_current_screen()->set_help_sidebar( 
  • wp-admin/tools.php

     
    1919get_current_screen()->add_help_tab( array( 
    2020        'id'      => 'converter', 
    2121        'title'   => __('Categories Tags Converter'), 
    22         'content' => '<p>' . __('The &#8220;Use This&#8221; link for the Categories and Tags Converter will take you to the Import page, where that Converter is one of the plugins you can download. Once that plugin is installed, the link on this page takes you to a screen where you can choose to convert tags into categories or vice versa.') . '</p>', 
     22        'content' => '<p>' . __('Categories have hierarchy, meaning that you can nest sub-categories. Tags do not have hierachy and cannot be nested. Sometimes people start out using one on their posts, then later realize that the other would work better for their content.  The Categories and Tags Converter link on this screen will take you to the Import screen, where that Converter is one of the plugins you can install. Once that plugin is installed, return to this screen  and the link will take you to a screen where you can choose to convert tags into categories or vice versa.') . '</p>', 
    2323) ); 
    2424 
    2525get_current_screen()->set_help_sidebar( 
     
    5757if ( current_user_can($cats->cap->manage_terms) || current_user_can($tags->cap->manage_terms) ) : ?> 
    5858<div class="tool-box"> 
    5959    <h3 class="title"><?php _e( 'Categories and Tags Converter' ) ?></h3> 
    60     <p><?php printf( __('<a href="%s">Use this</a> to convert categories to tags or tags to categories.'), 'import.php' ); ?></p> 
     60    <p><?php printf( __('If you want to convert your categories to tags (or vice versa), use the <a href="%s">Categories and Tags Converter</a> available from the Import screen.'), 'import.php' ); ?></p> 
    6161</div> 
    6262<?php 
    6363endif; 
  • wp-admin/user-edit.php

     
    4444        '<p>' . __('Remember to click the Update Profile button when you are finished.') . '</p>'; 
    4545 
    4646get_current_screen()->add_help_tab( array( 
    47         'id'      => 'your-profile', 
    48         'title'   => __('Your Profile'), 
     47        'id'      => 'overview', 
     48        'title'   => __('Overview'), 
    4949        'content' => $profile_help, 
    5050) ); 
    5151 
  • wp-admin/import.php

     
    1717$title = __('Import'); 
    1818 
    1919get_current_screen()->add_help_tab( array( 
    20         'id'      => 'import', 
    21         'title'   => __('Import'), 
     20        'id'      => 'overview', 
     21        'title'   => __('Overview'), 
    2222        'content' => '<p>' . __('This screen lists links to plugins to import data from blogging/content management platforms. Choose the platform you want to import from, and click Install Now when you are prompted in the popup window. If your platform is not listed, click the link to search the plugin directory for other importer plugins to see if there is one for your platform.') . '</p>' . 
    2323                '<p>' . __('In previous versions of WordPress, all importers were built-in.  They have been turned into plugins since most people only use them once or infrequently.') . '</p>', 
    2424) ); 
     
    130130} 
    131131 
    132132if ( current_user_can('install_plugins') ) 
    133         echo '<p>' . sprintf( __('If the importer you need is not listed, <a href="%s">search the plugins directory</a> to see if an importer is available.'), esc_url( network_admin_url( 'plugin-install.php?tab=search&type=tag&s=importer' ) ) ) . '</p>'; 
     133        echo '<p>' . sprintf( __('If the importer you need is not listed, <a href="%s">search the plugin directory</a> to see if an importer is available.'), esc_url( network_admin_url( 'plugin-install.php?tab=search&type=tag&s=importer' ) ) ) . '</p>'; 
    134134?> 
    135135 
    136136</div> 
  • wp-admin/export.php

     
    3939add_action( 'admin_head', 'add_js' ); 
    4040 
    4141get_current_screen()->add_help_tab( array( 
    42         'id'      => 'export', 
    43         'title'   => __('Export'), 
     42        'id'      => 'overview', 
     43        'title'   => __('Overview'), 
    4444        'content' => '<p>' . __('You can export a file of your site&#8217;s content in order to import it into another installation or platform. The export file will be an XML file format called WXR. Posts, pages, comments, custom fields, categories, and tags can be included. You can choose for the WXR file to include only certain posts or pages by setting the dropdown filters to  limit the export by category, author, date range by month, or publishing status.') . '</p>' . 
    4545                '<p>' . __('Once generated, your WXR file can be imported by another WordPress site or by another blogging platform able to access this format.') . '</p>', 
    4646) ); 
     
    125125 
    126126<p><?php _e('When you click the button below WordPress will create an XML file for you to save to your computer.'); ?></p> 
    127127<p><?php _e('This format, which we call WordPress eXtended RSS or WXR, will contain your posts, pages, comments, custom fields, categories, and tags.'); ?></p> 
    128 <p><?php _e('Once you&#8217;ve saved the download file, you can use the Import function in another WordPress installation to import this site.'); ?></p> 
     128<p><?php _e('Once you&#8217;ve saved the download file, you can use the Import function in another WordPress installation to import the content from this site.'); ?></p> 
    129129 
    130130<h3><?php _e( 'Choose what to export' ); ?></h3> 
    131131<form action="" method="get" id="export-filters">