Changeset 34112 for trunk/src/wp-includes/ms-functions.php
- Timestamp:
- 09/14/2015 03:27:47 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-functions.php
r33952 r34112 746 746 ) ); 747 747 748 wpmu_signup_blog_notification($domain, $path, $title, $user, $user_email, $key, $meta); 748 /** 749 * Fires after site signup information has been written to the database. 750 * 751 * @since 4.4.0 752 * 753 * @param string $domain The requested domain. 754 * @param string $path The requested path. 755 * @param string $title The requested site title. 756 * @param string $user The user's requested login name. 757 * @param string $user_email The user's email address. 758 * @param string $key The user's activation key 759 * @param array $meta By default, contains the requested privacy setting and lang_id. 760 */ 761 do_action( 'after_signup_site', $domain, $path, $title, $user, $user_email, $key, $meta ); 749 762 } 750 763 … … 783 796 ) ); 784 797 785 wpmu_signup_user_notification($user, $user_email, $key, $meta); 798 /** 799 * Fires after a user's signup information has been written to the database. 800 * 801 * @since 4.4.0 802 * 803 * @param string $user The user's requested login name. 804 * @param string $user_email The user's email address. 805 * @param string $key The user's activation key 806 * @param array $meta Additional signup meta. By default, this is an empty array. 807 */ 808 do_action( 'after_signup_user', $user, $user_email, $key, $meta ); 786 809 } 787 810 … … 1028 1051 return new WP_Error( 'user_already_exists', __( 'That username is already activated.' ), $signup); 1029 1052 1030 wpmu_welcome_user_notification( $user_id, $password, $meta );1031 1053 /** 1032 1054 * Fires immediately after a new user is activated. … … 1056 1078 1057 1079 $wpdb->update( $wpdb->signups, array('active' => 1, 'activated' => $now), array('activation_key' => $key) ); 1058 wpmu_welcome_notification($blog_id, $user_id, $password, $signup->title, $meta);1059 1080 /** 1060 1081 * Fires immediately after a site is activated.
Note: See TracChangeset
for help on using the changeset viewer.