WordPress.org

Make WordPress Core

Changeset 31608


Ignore:
Timestamp:
03/04/15 09:50:34 (2 years ago)
Author:
DrewAPicture
Message:

Correct a typo in the hash notation for wp_insert_user(): The argument name should be $user_registered not $date_registered.

Props floriansimeth.
Fixes #31513.

File:
1 edited

Legend:

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

    r31369 r31608  
    17031703 *     @type string|bool $rich_editing    Whether to enable the rich-editor for the user. False 
    17041704 *                                        if not empty. 
    1705  *     @type string      $date_registered Date the user registered. Format is 'Y-m-d H:i:s'. 
     1705 *     @type string      $user_registered Date the user registered. Format is 'Y-m-d H:i:s'. 
    17061706 *     @type string      $role            User's role. 
    17071707 *     @type string      $jabber          User's Jabber account username. 
Note: See TracChangeset for help on using the changeset viewer.