WordPress.org

Make WordPress Core

Changeset 35789


Ignore:
Timestamp:
12/06/2015 08:31:04 PM (4 years ago)
Author:
rachelbaker
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/network/site-new.php

    r35786 r35789  
    9292    if ( !$user_id ) { // Create a new user with a random password
    9393        /**
    94          * Fires when a new user will be created via the network site-new.php page.
     94         * Fires before a new user is created via the network site-new.php page.
    9595         *
    9696         * @since 4.5.0
     
    9898         * @param string $email Email of the non-existent user.
    9999         */
    100         do_action( 'network_site_new_created_user_pending', $email );
     100        do_action( 'pre_network_site_new_created_user', $email );
    101101
    102102        $user_id = username_exists( $domain );
Note: See TracChangeset for help on using the changeset viewer.