WordPress.org

Make WordPress Core

Changeset 34053


Ignore:
Timestamp:
09/11/2015 07:17:52 PM (5 years ago)
Author:
ocean90
Message:

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

Adds @global entries to the DocBlock.

Merge of [34052] to the 4.3 branch.

See #33826.

File:
1 edited

Legend:

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

    r33620 r34053  
    16911691 * @since 4.3.0 The `$plaintext_pass` parameter was changed to `$notify`.
    16921692 *
     1693 * @global wpdb         $wpdb      WordPress database object for queries.
     1694 * @global PasswordHash $wp_hasher Portable PHP password hashing framework instance.
     1695 *
    16931696 * @param int    $user_id User ID.
    16941697 * @param string $notify  Whether admin and user should be notified ('both') or
     
    16961699 */
    16971700function wp_new_user_notification( $user_id, $notify = '' ) {
    1698     global $wpdb;
     1701    global $wpdb, $wp_hasher;
    16991702    $user = get_userdata( $user_id );
    17001703
Note: See TracChangeset for help on using the changeset viewer.