From 949312bf0b8746ce20a158c69991ff7e8dc6eb1b Mon Sep 17 00:00:00 2001 From: rob1n Date: Thu, 29 Mar 2007 02:30:57 +0000 Subject: [PATCH] Change the message when registration isn't enabled to reflect that. Props markjaquith. fixes #3640 git-svn-id: http://svn.automattic.com/wordpress/trunk@5139 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/users.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/wp-admin/users.php b/wp-admin/users.php index 1fcaf1357..56144e2c8 100644 --- a/wp-admin/users.php +++ b/wp-admin/users.php @@ -450,7 +450,12 @@ foreach ( (array) $roleclass as $user_object ) {
-'.sprintf(__('Users can register themselves or you can manually create users here.'), get_option('siteurl').'/wp-login.php?action=register').'

'; ?> +' . sprintf(__('Users can register themselves or you can manually create users here.'), get_option('siteurl').'/wp-register.php') . '

'; + else + echo '

' . sprintf(__('Users cannot currently register themselves, but you can manually create users here.'), get_option('siteurl').'/wp-admin/options-general.php#users_can_register') . '

'; +?>