Changes from trunk/src/wp-includes/pluggable.php at r33620 to branches/4.3/src/wp-includes/pluggable.php at r34118
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.3/src/wp-includes/pluggable.php
r33620 r34118 1690 1690 * @since 2.0.0 1691 1691 * @since 4.3.0 The `$plaintext_pass` parameter was changed to `$notify`. 1692 * 1693 * @param int $user_id User ID. 1694 * @param string $notify Whether admin and user should be notified ('both') or 1695 * only the admin ('admin' or empty). 1696 */ 1697 function wp_new_user_notification( $user_id, $notify = '' ) { 1698 global $wpdb; 1692 * @since 4.3.1 The `$plaintext_pass` parameter was deprecated. `$notify` added as a third parameter. 1693 * 1694 * @global wpdb $wpdb WordPress database object for queries. 1695 * @global PasswordHash $wp_hasher Portable PHP password hashing framework instance. 1696 * 1697 * @param int $user_id User ID. 1698 * @param null $deprecated Not used (argument deprecated). 1699 * @param string $notify Optional. Type of notification that should happen. Accepts 'admin' or an empty 1700 * string (admin only), or 'both' (admin and user). The empty string value was kept 1701 * for backward-compatibility purposes with the renamed parameter. Default empty. 1702 */ 1703 function wp_new_user_notification( $user_id, $deprecated = null, $notify = '' ) { 1704 if ( $deprecated !== null ) { 1705 _deprecated_argument( __FUNCTION__, '4.3.1' ); 1706 } 1707 1708 global $wpdb, $wp_hasher; 1699 1709 $user = get_userdata( $user_id ); 1700 1710
Note: See TracChangeset
for help on using the changeset viewer.