mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Docs: Remove & prefixes from parameter documentation to avoid doc parsing errors.
Props sudar for the original patch. See #35974 git-svn-id: https://develop.svn.wordpress.org/trunk@41686 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -134,8 +134,8 @@ function edit_user( $user_id = 0 ) {
|
||||
* @since 1.5.1
|
||||
*
|
||||
* @param string $user_login The username.
|
||||
* @param string &$pass1 The password, passed by reference.
|
||||
* @param string &$pass2 The confirmed password, passed by reference.
|
||||
* @param string $pass1 The password (passed by reference).
|
||||
* @param string $pass2 The confirmed password (passed by reference).
|
||||
*/
|
||||
do_action_ref_array( 'check_passwords', array( $user->user_login, &$pass1, &$pass2 ) );
|
||||
|
||||
@@ -184,9 +184,9 @@ function edit_user( $user_id = 0 ) {
|
||||
*
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @param WP_Error &$errors WP_Error object, passed by reference.
|
||||
* @param WP_Error $errors WP_Error object (passed by reference).
|
||||
* @param bool $update Whether this is a user update.
|
||||
* @param stdClass &$user User object, passed by reference.
|
||||
* @param stdClass $user User object (passed by reference).
|
||||
*/
|
||||
do_action_ref_array( 'user_profile_update_errors', array( &$errors, $update, &$user ) );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user