Multisite: Clarify purpose of hook from [35786] and match our naming convention.
`network_site_new_created_user_pending` -> `pre_network_site_new_created_user` See #33631 Built from https://develop.svn.wordpress.org/trunk@35789 git-svn-id: http://core.svn.wordpress.org/trunk@35753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e1966f061d
commit
2cd2cb6e17
|
@ -91,13 +91,13 @@ if ( isset($_REQUEST['action']) && 'add-site' == $_REQUEST['action'] ) {
|
|||
$user_id = email_exists($email);
|
||||
if ( !$user_id ) { // Create a new user with a random password
|
||||
/**
|
||||
* Fires when a new user will be created via the network site-new.php page.
|
||||
* Fires before a new user is created via the network site-new.php page.
|
||||
*
|
||||
* @since 4.5.0
|
||||
*
|
||||
* @param string $email Email of the non-existent user.
|
||||
*/
|
||||
do_action( 'network_site_new_created_user_pending', $email );
|
||||
do_action( 'pre_network_site_new_created_user', $email );
|
||||
|
||||
$user_id = username_exists( $domain );
|
||||
if ( $user_id ) {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.5-alpha-35788';
|
||||
$wp_version = '4.5-alpha-35789';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue