WordPress.org

Make WordPress Core

Changeset 12147


Ignore:
Timestamp:
11/05/2009 08:28:46 PM (9 years ago)
Author:
westi
Message:

Remove unecessary reference to wpdb global. Fixes 11087 props aaroncampbell.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/registration.php

    r11978 r12147  
    284284 * @since 2.0.0
    285285 * @see wp_insert_user() More complete way to create a new user
    286  * @uses $wpdb Escapes $username and $email parameters
    287286 *
    288287 * @param string $username The user's username.
     
    292291 */
    293292function wp_create_user($username, $password, $email = '') {
    294     global $wpdb;
    295 
    296293    $user_login = esc_sql( $username );
    297294    $user_email = esc_sql( $email    );
Note: See TracChangeset for help on using the changeset viewer.