Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-login.php

    r18013 r18223  
    6060<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    6161<head>
     62    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    6263    <title><?php bloginfo('name'); ?> &rsaquo; <?php echo $title; ?></title>
    63     <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    6464<?php
    6565    wp_admin_css( 'login', true );
     
    9393    if ( !empty( $message ) ) echo $message . "\n";
    9494
    95     // Incase a plugin uses $error rather than the $errors object
     95    // In case a plugin uses $error rather than the $wp_errors object
    9696    if ( !empty( $error ) ) {
    9797        $wp_error->add('error', $error);
     
    124124 */
    125125function login_footer($input_id = '') {
    126     echo "</div>\n";
    127 
    128     if ( !empty($input_id) ) {
    129 ?>
     126    ?>
     127    <p id="backtoblog"><a href="<?php bloginfo('url'); ?>/" title="<?php esc_attr_e('Are you lost?') ?>"><?php printf(__('&larr; Back to %s'), get_bloginfo('title', 'display' )); ?></a></p>
     128    </div>
     129
     130<?php if ( !empty($input_id) ) : ?>
    130131<script type="text/javascript">
    131132try{document.getElementById('<?php echo $input_id; ?>').focus();}catch(e){}
    132133if(typeof wpOnload=='function')wpOnload();
    133134</script>
    134 <?php
    135     }
    136 ?>
    137 <p id="backtoblog"><a href="<?php bloginfo('url'); ?>/" title="<?php esc_attr_e('Are you lost?') ?>"><?php printf(__('&larr; Back to %s'), get_bloginfo('title', 'display' )); ?></a></p>
     135<?php endif; ?>
     136
    138137<?php do_action('login_footer'); ?>
    139138</body>
     
    665664<?php endif; ?>
    666665</p>
    667 </div>
    668 <p id="backtoblog"><a href="<?php bloginfo('url'); ?>/" title="<?php esc_attr_e('Are you lost?') ?>"><?php printf(__('&larr; Back to %s'), get_bloginfo('title', 'display' )); ?></a></p>
    669 <?php } else { ?>
    670 </div>
    671666<?php } ?>
    672667
     
    696691if(typeof wpOnload=='function')wpOnload();
    697692</script>
    698 <?php do_action( 'login_footer' ); ?>
    699 </body>
    700 </html>
    701 <?php
    702 
     693
     694<?php
     695login_footer();
    703696break;
    704697} // end action switch
Note: See TracChangeset for help on using the changeset viewer.