Changeset 4144 for trunk/wp-register.php
- Timestamp:
- 08/30/2006 09:46:31 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-register.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-register.php
r3862 r4144 4 4 5 5 $action = $_REQUEST['action']; 6 if ( !get_ settings('users_can_register') )6 if ( !get_option('users_can_register') ) 7 7 $action = 'disabled'; 8 8 … … 45 45 $user_id = wp_create_user( $user_login, $password, $user_email ); 46 46 if ( !$user_id ) 47 $errors['user_id'] = sprintf(__('<strong>ERROR</strong>: Couldn’t register you... please contact the <a href="mailto:%s">webmaster</a> !'), get_ settings('admin_email'));47 $errors['user_id'] = sprintf(__('<strong>ERROR</strong>: Couldn’t register you... please contact the <a href="mailto:%s">webmaster</a> !'), get_option('admin_email')); 48 48 else 49 49 wp_new_user_notification($user_id, $password); … … 57 57 <head> 58 58 <title>WordPress » <?php _e('Registration Complete') ?></title> 59 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_ settings('blog_charset'); ?>" />59 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" /> 60 60 <link rel="stylesheet" href="wp-admin/wp-admin.css" type="text/css" /> 61 61 <style type="text/css"> … … 88 88 <head> 89 89 <title>WordPress » <?php _e('Registration Form') ?></title> 90 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_ settings('blog_charset'); ?>" />90 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" /> 91 91 <link rel="stylesheet" href="wp-admin/wp-admin.css" type="text/css" /> 92 92 <style type="text/css"> … … 137 137 <head> 138 138 <title>WordPress » <?php _e('Registration Currently Disabled') ?></title> 139 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_ settings('blog_charset'); ?>" />139 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" /> 140 140 <link rel="stylesheet" href="wp-admin/wp-admin.css" type="text/css"> 141 141 </head> … … 146 146 <h2><?php _e('Registration Disabled') ?></h2> 147 147 <p><?php _e('User registration is currently not allowed.') ?><br /> 148 <a href="<?php echo get_ settings('home'); ?>/" title="<?php _e('Go back to the blog') ?>"><?php _e('Home') ?></a>148 <a href="<?php echo get_option('home'); ?>/" title="<?php _e('Go back to the blog') ?>"><?php _e('Home') ?></a> 149 149 </p> 150 150 </div>
Note: See TracChangeset
for help on using the changeset viewer.