Use the correct filename. Props Mark Jaquith. fixes #2815

git-svn-id: http://svn.automattic.com/wordpress/trunk@3863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-06-11 17:55:18 +00:00
parent c93efa866e
commit f94f2f0bcf
2 changed files with 2 additions and 2 deletions

View File

@ -212,7 +212,7 @@ case 'update-meta' :
case 'add-user' :
if ( !current_user_can('edit_users') )
die('-1');
require_once( ABSPATH . WPINC . '/registration-functions.php');
require_once(ABSPATH . WPINC . '/registration.php');
$user_id = add_user();
if ( is_wp_error( $user_id ) ) {
foreach( $user_id->get_error_messages() as $message )

View File

@ -5,7 +5,7 @@ if ( file_exists(ABSPATH . 'wp-content/install.php') )
require_once(ABSPATH . '/wp-admin/admin-functions.php');
require_once(ABSPATH . '/wp-admin/admin-db.php');
require_once(ABSPATH . '/wp-admin/upgrade-schema.php');
require_once(ABSPATH . '/wp-includes/registration-functions.php');
require_once(ABSPATH . WPINC . '/registration.php');
if ( !function_exists('wp_install') ) :
function wp_install($blog_title, $user_name, $user_email, $public, $meta='') {