mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
General: Fix some precision alignment formatting warnings.
The WPCS `WordPress.WhiteSpace.PrecisionAlignment` rule throws warnings for a bunch of code that will likely cause issues for `wpcbf`. Fixing these manually beforehand gives us better auto-fixed results later. See #41057. git-svn-id: https://develop.svn.wordpress.org/trunk@42228 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -200,14 +200,14 @@ function edit_user( $user_id = 0 ) {
|
||||
$notify = isset( $_POST['send_user_notification'] ) ? 'both' : 'admin';
|
||||
|
||||
/**
|
||||
* Fires after a new user has been created.
|
||||
*
|
||||
* @since 4.4.0
|
||||
*
|
||||
* @param int $user_id ID of the newly created user.
|
||||
* @param string $notify Type of notification that should happen. See wp_send_new_user_notifications()
|
||||
* for more information on possible values.
|
||||
*/
|
||||
* Fires after a new user has been created.
|
||||
*
|
||||
* @since 4.4.0
|
||||
*
|
||||
* @param int $user_id ID of the newly created user.
|
||||
* @param string $notify Type of notification that should happen. See wp_send_new_user_notifications()
|
||||
* for more information on possible values.
|
||||
*/
|
||||
do_action( 'edit_user_created_user', $user_id, $notify );
|
||||
}
|
||||
return $user_id;
|
||||
|
||||
Reference in New Issue
Block a user