From ea98d87af385b7705f736547ab74e8e74d1656a4 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: https://develop.svn.wordpress.org/trunk@5139 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 1fcaf1357b..56144e2c89 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') . '

'; +?>