Changeset 5139
- Timestamp:
- 03/29/2007 02:30:57 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/users.php
r4944 r5139 451 451 <div class="narrow"> 452 452 453 <?php echo '<p>'.sprintf(__('Users can <a href="%1$s">register themselves</a> or you can manually create users here.'), get_option('siteurl').'/wp-login.php?action=register').'</p>'; ?> 453 <?php 454 if ( get_option('users_can_register') ) 455 echo '<p>' . sprintf(__('Users can <a href="%1$s">register themselves</a> or you can manually create users here.'), get_option('siteurl').'/wp-register.php') . '</p>'; 456 else 457 echo '<p>' . sprintf(__('Users cannot currently <a href="%1$s">register themselves</a>, but you can manually create users here.'), get_option('siteurl').'/wp-admin/options-general.php#users_can_register') . '</p>'; 458 ?> 454 459 <form action="#add-new-user" method="post" name="adduser" id="adduser"> 455 460 <?php wp_nonce_field('add-user') ?>
Note: See TracChangeset
for help on using the changeset viewer.