diff --git a/wp-admin/includes/user.php b/wp-admin/includes/user.php index b3e2a9373a..789d26d8d9 100644 --- a/wp-admin/includes/user.php +++ b/wp-admin/includes/user.php @@ -837,21 +837,4 @@ function default_password_nag() { echo '

'; } -/** - * Setup the default contact methods - * - * @access private - * @since - * - * @return array $user_contactmethods Array of contact methods and their labels. - */ -function _wp_get_user_contactmethods() { - $user_contactmethods = array( - 'aim' => __('AIM'), - 'yim' => __('Yahoo IM'), - 'jabber' => __('Jabber / Google Talk') - ); - return apply_filters('user_contactmethods',$user_contactmethods); -} - ?> diff --git a/wp-includes/registration.php b/wp-includes/registration.php index 1481e24b88..c71708a093 100644 --- a/wp-includes/registration.php +++ b/wp-includes/registration.php @@ -300,4 +300,22 @@ function wp_create_user($username, $password, $email = '') { return wp_insert_user($userdata); } + +/** + * Setup the default contact methods + * + * @access private + * @since + * + * @return array $user_contactmethods Array of contact methods and their labels. + */ +function _wp_get_user_contactmethods() { + $user_contactmethods = array( + 'aim' => __('AIM'), + 'yim' => __('Yahoo IM'), + 'jabber' => __('Jabber / Google Talk') + ); + return apply_filters('user_contactmethods',$user_contactmethods); +} + ?>