mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Move registration.php functions to user.php. Deprecate registration.php, everything is now included by default. fixes #13761.
git-svn-id: https://develop.svn.wordpress.org/trunk@16009 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -496,8 +496,6 @@ case 'register' :
|
||||
$user_login = '';
|
||||
$user_email = '';
|
||||
if ( $http_post ) {
|
||||
require_once( ABSPATH . WPINC . '/registration.php');
|
||||
|
||||
$user_login = $_POST['user_login'];
|
||||
$user_email = $_POST['user_email'];
|
||||
$errors = register_new_user($user_login, $user_email);
|
||||
|
||||
Reference in New Issue
Block a user