Make WordPress Core

Changeset 15011


Ignore:
Timestamp:
05/27/2010 11:10:26 PM (15 years ago)
Author:
nacin
Message:

Users help. props dragoonis. see #13467.

Location:
trunk/wp-admin
Files:
3 edited

Legend:

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

    r14802 r15011  
    3333    $submenu_file = 'profile.php';
    3434$parent_file = 'users.php';
     35
     36// contextual help - choose Help on the top right of admin panel to preview this.
     37add_contextual_help($current_screen,
     38    '<p>' . __('Your profile contains information about you (your "account") as well as some personal options related to using WordPress.') . '</p>' .
     39    '<p>' . __('You can change your password, turn on keyboard shortcuts, change the color scheme of your WordPress administration screens, and turn off the WYSIWYG (Visual) editor, among other things.') . '</p>' .
     40    '<p>' . __('Your username cannot be changed, but you can use other fields to enter your real name or a nickname, and change which name to display on your posts.') . '</p>' .
     41    '<p>' . __('Required fields are indicated; the rest are optional. Profile information will only be displayed if your theme is set up to do so.') . '</p>' .
     42    '<p>' . __('Remember to click the Update Profile button when you are finished.') . '</p>' .
     43    '<p><strong>' . __('For more information:') . '</strong></p>' .
     44    '<p>' . __('<a target="_blank" href="http://codex.wordpress.org/Users_Your_Profile_SubPanel">User Profile</a>') . '</p>' .
     45    '<p>' . __('<a target="_blank" href="http://wordpress.org/support/">Support Forums</a>') . '</p>'
     46);
     47
    3548
    3649$wp_http_referer = remove_query_arg(array('update', 'delete_count'), stripslashes($wp_http_referer));
  • trunk/wp-admin/user-new.php

    r14326 r15011  
    109109$parent_file = 'users.php';
    110110
     111add_contextual_help($current_screen,
     112    '<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>' .
     113    '<ul style="list-style: inside;">' .
     114        '<li>' . __('Administrators have access to all the administration features') . '</li>' .
     115        '<li>' . __('Editors can publish posts, manage posts as well as manage other people&#8217;s posts, etc.')  . '</li>' .
     116        '<li>' . __('Authors can publish and manage their own posts') . '</li>' .
     117        '<li>' . __('Contributors can write and manage their posts but not publish posts or upload media files') . '</li>' .
     118        '<li>' . __('Subscribers can read comments/comment/receive newsletters, etc.') . '</li>' . 
     119    '</ul>' .
     120    '<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>' .
     121    '<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 do not the password to be included in the welcome email.') . '</p>' .
     122    '<p>' . __('Remember to click the Add User button at the bottom of this screen when you are finished.') . '</p>' .
     123    '<p><strong>' . __('For more information:') . '</strong></p>' .
     124    '<p>' . __('<a target="_blank" href="http://codex.wordpress.org/Users_Add_New_SubPanel">Add New Users</a>') . '</p>' .
     125    '<p>' . __('<a target="_blank" href="http://wordpress.org/support/">Support Forums</a>') . '</p>'
     126);
     127
    111128wp_enqueue_script('wp-ajax-response');
    112129wp_enqueue_script('user-profile');
  • trunk/wp-admin/users.php

    r14664 r15011  
    1818$title = __('Users');
    1919$parent_file = 'users.php';
     20
     21// contextual help - choose Help on the top right of admin panel to preview this.
     22add_contextual_help($current_screen,
     23    '<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 when they are logged in, based on their role.') . '</p>' .
     24    '<p>' . __('You can customize the display of information on this screen as you can on other screens, by using the Screen Options tab and the on-screen filters.') . '</p>' .
     25    '<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 Appearance menu section.') . '</p>' .
     26    '<p><strong>' . __('For more information:') . '</strong></p>' .
     27    '<p>' . __('<a target="_blank" href=http://codex.wordpress.org/Users_Authors_and_Users_SubPanel">Documentation on Authors and Users</a>') . '</p>' .
     28    '<p>' . __('<a target="_blank" href="http://codex.wordpress.org/Roles_and_Capabilities">Roles and Capabilities Descriptions</a>') . '</p>' .
     29    '<p>' . __('<a target="_blank" href="http://wordpress.org/support/">Support Forums</a>') . '</p>'
     30);
    2031
    2132$update = $doaction = '';
Note: See TracChangeset for help on using the changeset viewer.