WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/27/2010 10:46:24 AM (8 years ago)
Author:
nacin
Message:

Move registration.php functions to user.php. Deprecate registration.php, everything is now included by default. fixes #13761.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-ajax.php

    r15963 r16009  
    854854    if ( !current_user_can('create_users') )
    855855        die('-1');
    856     require_once(ABSPATH . WPINC . '/registration.php');
    857856    if ( !$user_id = add_user() )
    858857        die('0');
Note: See TracChangeset for help on using the changeset viewer.