Make WordPress Core


Ignore:
Timestamp:
09/11/2015 07:09:12 PM (10 years ago)
Author:
ocean90
Message:

Users: Import the global var $wp_hasher in wp_new_user_notification().

Adds @global entries to the DocBlock.

Fixes #33826.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/pluggable.php

    r34042 r34052  
    16921692 * @since 4.3.0 The `$plaintext_pass` parameter was changed to `$notify`.
    16931693 *
     1694 * @global wpdb         $wpdb      WordPress database object for queries.
     1695 * @global PasswordHash $wp_hasher Portable PHP password hashing framework instance.
     1696 *
    16941697 * @param int    $user_id User ID.
    16951698 * @param string $notify  Optional. Type of notification that should happen. Accepts 'admin' or an empty
     
    16981701 */
    16991702function wp_new_user_notification( $user_id, $notify = '' ) {
    1700     global $wpdb;
     1703    global $wpdb, $wp_hasher;
    17011704    $user = get_userdata( $user_id );
    17021705
Note: See TracChangeset for help on using the changeset viewer.