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:
Andrew Nacin
2010-10-27 10:46:24 +00:00
parent 82443ce769
commit 8db82e5ea1
10 changed files with 332 additions and 348 deletions
-3
View File
@@ -15,9 +15,6 @@ if ( !current_user_can('create_users') )
if ( is_multisite() && !get_site_option( 'add_new_users' ) )
wp_die( __('Page disabled by the administrator') );
/** WordPress Registration API */
require_once( ABSPATH . WPINC . '/registration.php');
if ( is_multisite() ) {
function admin_created_user_email( $text ) {
/* translators: 1: Site name, 2: site URL, 3: role */