Multisite: Correct the docs for `maybe_add_existing_user_to_blog()`.

See #41017


git-svn-id: https://develop.svn.wordpress.org/trunk@41552 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2017-09-21 12:27:30 +00:00
parent 9ad6dab3db
commit 40088ea12a
1 changed files with 2 additions and 2 deletions

View File

@ -2069,10 +2069,10 @@ function maybe_redirect_404() {
} }
/** /**
* Add a new user to a blog by visiting /newbloguser/username/. * Add a new user to a blog by visiting /newbloguser/{key}/.
* *
* This will only work when the user's details are saved as an option * This will only work when the user's details are saved as an option
* keyed as 'new_user_x', where 'x' is the username of the user to be * keyed as 'new_user_{key}', where '{key}' is a hash generated for the user to be
* added, as when a user is invited through the regular WP Add User interface. * added, as when a user is invited through the regular WP Add User interface.
* *
* @since MU (3.0.0) * @since MU (3.0.0)