Use get_option instead of get_settings. Just 'cause.

git-svn-id: https://develop.svn.wordpress.org/trunk@4144 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2006-08-30 21:46:31 +00:00
parent 092369300d
commit 7e82eef627
70 changed files with 365 additions and 365 deletions
+2 -2
View File
@@ -436,7 +436,7 @@ foreach ( (array) $roleclass as $user_object ) {
<div class="wrap">
<h2 id="add-new-user"><?php _e('Add New User') ?></h2>
<?php echo '<p>'.sprintf(__('Users can <a href="%1$s">register themselves</a> or you can manually create users here.'), get_settings('siteurl').'/wp-register.php').'</p>'; ?>
<?php 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>'; ?>
<form action="#add-new-user" method="post" name="adduser" id="adduser">
<?php wp_nonce_field('add-user') ?>
<table class="editform" width="100%" cellspacing="2" cellpadding="5">
@@ -475,7 +475,7 @@ foreach ( (array) $roleclass as $user_object ) {
<td><select name="role" id="role">
<?php
if ( !$new_user_role )
$new_user_role = get_settings('default_role');
$new_user_role = get_option('default_role');
wp_dropdown_roles($new_user_role);
?>
</select>