Changeset 6726 for trunk/wp-login.php
- Timestamp:
- 02/05/2008 06:47:27 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-login.php
r6711 r6726 65 65 if ( $errors->get_error_code() ) 66 66 return $errors; 67 67 68 68 if ( !$user_data ) { 69 69 $errors->add('invalidcombo', __('<strong>ERROR</strong>: Invalid username or e-mail.')); … … 171 171 } 172 172 173 // 173 // 174 174 // Main 175 175 // … … 243 243 <p id="nav"> 244 244 <?php if (get_option('users_can_register')) : ?> 245 <a href="<?php bloginfo('wpurl'); ?>/wp-login.php"><?php _e('Log in') ?></a> | 245 <a href="<?php bloginfo('wpurl'); ?>/wp-login.php"><?php _e('Log in') ?></a> | 246 246 <a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=register"><?php _e('Register') ?></a> 247 247 <?php else : ?> … … 312 312 313 313 <p id="nav"> 314 <a href="<?php bloginfo('wpurl'); ?>/wp-login.php"><?php _e('Log in') ?></a> | 314 <a href="<?php bloginfo('wpurl'); ?>/wp-login.php"><?php _e('Log in') ?></a> | 315 315 <a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=lostpassword" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a> 316 316 </p> … … 337 337 // If the user can't edit posts, send them to their profile. 338 338 if ( !$user->has_cap('edit_posts') && ( empty( $redirect_to ) || $redirect_to == 'wp-admin/' ) ) 339 $redirect_to = get_option('siteurl') . '/wp-admin/profile.php'; 339 $redirect_to = get_option('siteurl') . '/wp-admin/profile.php'; 340 340 wp_safe_redirect($redirect_to); 341 341 exit(); 342 342 } 343 343 344 344 $errors = $user; 345 345 // Clear errors if loggedout is set.
Note: See TracChangeset
for help on using the changeset viewer.