Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

zh-cn:用户页面

用户 → 用户

您可在“用户”页面添加或删除站点中的用户,或编辑它们的个人资料。同时,您可搜索用户和对它们进行批量编辑和删除。

用户 作者和用户页面


返回管理页面列表


Users

Table of Users

The main part of the Users Screen displays a table of all the users listed by Username order.

The table of Users contains the following columns:

  • [ ] check box - Check this box if this user is to be affected by the Delete or Change User Role functions. There is also a checkbox in the column header to the left of the text Username--click that checkbox to cause all Users to be checked.
  • User Image - Avatar for this particular user.
  • Username - The login of the User. To edit a User, click on the Username link, the Users Your Profile Screen will then display for you to make the necessary changes. Also note that if you hover the mouse anywhere over the whole row for a particular user, the Edit and Delete links will be made visible for use. The current logged in user will not have the Delete link revealed.
  • Name - The first and last names of the User.
  • E-mail - The User's e-mail address.
  • Role - The Role assigned to that User.
  • Posts - The number of Posts written by that User. Click on that number to be directed to the Posts Screen to view or edit the Posts written by this User. All users have a unique identification number which WordPress uses to identify users internally. To determine that User ID, hover the mouse over the Posts number link, and the User ID (author=x) will be revealed as part of the URL in the browser status bar.

Screen Options

Under the top shaded area is the Screen Options hanging tab. Clicking on that hanging tab reveals the Show on screen choices of E-Mail, Role, and Posts checkboxes. Unchecking a box causes a column to be not shown in the Table below, and, of course, checking a box causes that column to be displayed in the Table below.

Search

At the top right of the User Table is a search box to help find users. Enter a string in the box and click the "Search users" box. Any User that contains the search string in the Username, Name, E-mail, or Website fields will be displayed, by Role. You can then add, change, and delete those users. A "No matching users were found! " message will be displayed if no Users can be found that match the search string you entered.

Filtering Options

Just above the User Table, are filter links to All Users, and to links to Users belonging to the each of the various Roles. Clicking on one of those links, say Subscribers, will display all the Users assigned the Subscriber Role. Click on All Users to again display all the Users in the table.

Using Selection, Actions, and Apply

Selection

This Screen allows Bulk Actions to be performed on one or more Users selected in the Table. For Bulk Actions to be performed on multiple Users at once, those Media must be first selected via one of these methods:
  • Select one User at a time - To select a User, the checkbox to the left of the User entry must be checked (clicked). It is possible to keep selecting more Users by checking their respective checkbox.
  • Select all Users in given Table - All Users in a given table can be selected by checking the checkbox in the Table's title, or footer bar. Of course, unchecking the header or footer title bar checkbox will cause all entries in that Table to be unchecked (NOT selected).
  • Reverse Selection - A Reverse Selection means checked items become unchecked, and unchecked items become checked. A Reverse Selection is accomplished by holding the Shift key on the keyboard and clicking the header or footer title bar checkbox.

Actions

Actions describe the process to be performed on particular Users. There are two styles of Actions that will be referred to as Bulk Actions and Immediate Actions. The follow describes these Actions:
  • Bulk Actions - These Actions can be performed on one, or more Users, at one time, if those Users have been previously selected. Bulk Actions are available, when appropriate, as choices in the Bulk Actions pulldown box, above the Table. The only Bulk Action allowed is Delete.
  • Immediate Actions - Immediate Actions are performed immediately, on an individual User. Hovering the mouse cursor over the User row reveals the Edit or Delete options under the Username column, in that User row. Clicking on a Username Name will also initiate the Edit Action.
The available Actions are described below:
  • Edit - This Immediate Action displays the Edit User Screen. This Action can be initiated by click on the Username or clicking on the Edit option just below the Username. See the Edit Users section at the bottom of this article.
  • Delete- This Action deletes the User. See the Delete Users section for detail.

Apply

After one or more Users are selected, and after a Bulk Action is specified, the Apply button performs the given Action on the selected Users.
  • Apply - Click the Apply button to execute the Bulk Action, specified in the Actions pulldown, on the selected Users. Remember, prior to executing Actions, one or more Users must be selected, as described before.

Delete Users

Available as both Bulk Action and an Immediate Action, the delete user capability is allowed on all but the current user (you cannot delete the user doing the deletion!). After the Delete action has begun, a Delete Users Screen will display with a message "You have specified these users for deletion:" with a list of the Users you are deleting with the following question:
What should be done with posts and links owned by this user?
  • Delete all posts and links - Check this radio button and click the Confirm Deletion button to delete the User(s) as well as any posts and links attributed to those User(s).
  • Attribute all posts and links to - Check this radio button, select a User from the adjacent drop-down box, and click the Confirm Deletion button to attribute all the posts and links for the Deleted User(s) to the User you selected in the pulldown box. Upon successful completion of the deletion process, a splash message box near the top of the Screen will display "x user(s) deleted".

Change Roles to

To the right of the Action pull-down box is the Change role to pull-down box. Select a Role, and all the Users that have been selected (checked), will be changed to that Role upon clicking the Change button. At successful completion of the changes, a splash box with the message "Changed roles." displays.

Edit Users

The Edit Users Screen is similar to editing your profile so see the Users Your Profile_Screen for all the details.

参见管理页面站点网络管理页面
本文已被标记为未完成状态。您可以将其补充或翻译完整,以此帮助完善 Codex。