mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin.
Props JustinSainton, SergeyBiryukov, DrewAPicture. Fixes #26713. git-svn-id: https://develop.svn.wordpress.org/trunk@26868 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
/**
|
||||
* Creates a new user from the "Users" form using $_POST information.
|
||||
*
|
||||
* @since 2.0
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @return null|WP_Error|int Null when adding user, WP_Error or User ID integer when no parameters.
|
||||
*/
|
||||
@@ -22,7 +22,7 @@ function add_user() {
|
||||
*
|
||||
* Used on user-edit.php and profile.php to manage and process user options, passwords etc.
|
||||
*
|
||||
* @since 2.0
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @param int $user_id Optional. User ID.
|
||||
* @return int user id of the updated user
|
||||
@@ -193,7 +193,7 @@ function edit_user( $user_id = 0 ) {
|
||||
* only editors or authors. This filter allows admins to delegate
|
||||
* user management.
|
||||
*
|
||||
* @since 2.8
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @return unknown
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user