Make WordPress Core

Changeset 19509


Ignore:
Timestamp:
12/01/2011 01:17:14 AM (12 years ago)
Author:
nacin
Message:

Help tweaks for users, tools. props jane, see #19020.

Location:
trunk/wp-admin
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/export.php

    r19462 r19509  
    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>',
     
    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>
  • trunk/wp-admin/import.php

    r19461 r19509  
    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>',
     
    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
  • trunk/wp-admin/tools.php

    r19464 r19509  
    1919get_current_screen()->add_help_tab( array(
    2020    'id'      => 'converter',
    21     '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>',
     21    'title'   => __('Categories and Tags Converter'),
     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.' ) . '</p>' .
     23    '<p>' . __( '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>',
    2324) );
    2425
     
    5859<div class="tool-box">
    5960    <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>
     61    <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>
    6162</div>
    6263<?php
  • trunk/wp-admin/user-edit.php

    r19459 r19509  
    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) );
  • trunk/wp-admin/user-new.php

    r19438 r19509  
    140140    $do_both = true;
    141141
     142$help = '<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>';
     143
     144if ( is_multisite() ) {
     145    $help .= '<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>' .
     146    '<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>';
     147} else {
     148    $help .= '<p>' . __('You must assign a password to the new user, which they can change after logging in. The username, however, cannot be changed.') . '</p>' .
     149    '<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>';
     150}
     151
     152$help .= '<p>' . __('Remember to click the Add New User button at the bottom of this screen when you are finished.') . '</p>';
     153
    142154get_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>' .
     155    'id'      => 'overview',
     156    'title'   => __('Overview'),
     157    'content' => $help,
     158) );
     159
     160get_current_screen()->add_help_tab( array( 
     161'id'      => 'user-roles',
     162'title'   => __('User Roles'),
     163'content' => '<p>' . __('Here is a basic overview of the different user roles and the permissions associated with each one:') . '</p>' .
    146164                '<ul>' .
    147165                '<li>' . __('Administrators have access to all the administration features.') . '</li>' .
    148166                '<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>' .
     167                '<li>' . __('Authors can publish and manage their own posts, and are able to upload files.') . '</li>' .
    150168                '<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>' .
    152                 '</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>'
     169                '<li>' . __('Subscribers can read comments/comment/receive newsletters, etc. but cannot create regular site content.') . '</li>' .
     170                '</ul>'
    156171) );
    157172
  • trunk/wp-admin/users.php

    r19438 r19509  
    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>'
     
    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>' .
     
    3939) );
    4040
     41$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>' .
     42    '<ul>' .
     43    '<li>' . __('Edit takes you to the editable profile screen for that user. You can also reach that screen by clicking on the username.') . '</li>';
     44
     45if ( is_multisite() )
     46    $help .= '<li>' . __( 'Remove allows you to remove a user from your site. It does not delete their posts. You can also remove multiple users at once by using Bulk Actions.' ) . '</li>';
     47else
     48    $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 posts. You can also delete multiple users at once by using Bulk Actions.' ) . '</li>';
     49
     50$help .= '</ul>';
     51
    4152get_current_screen()->add_help_tab( array(
    42     'id'      => 'row-actions',
    43     'title'   => __('Action Links'),
    44     '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>' .
    45                     '<ul>' .
    46                     '<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>' ) .
    48                     '</ul>'
     53    'id'      => 'actions',
     54    'title'   => __('Actions'),
     55    'content' => $help,
    4956) );
    50    
     57unset( $help );
     58
    5159get_current_screen()->set_help_sidebar(
    5260    '<p><strong>' . __('For more information:') . '</strong></p>' .
Note: See TracChangeset for help on using the changeset viewer.