Undefined Registration function in MS

Several global multisite functions, defined in wp-includes/ms-functions.php, call WP functions (such as username_exists) that are defined in wp-includes/registration.php and hence are not defined by default in wp-includes/ms-functions.php.

Patch includes the required registration.php file where needed if not already included.

Change History (8)

I think username_exists() and some other functions should eventually move to user.php. In the meantime, do we really need to worry about this? Those functions are only called from wp-signup.php, which includes registration.php.