WordPress.org

Make WordPress Core

Ticket #3348: wp-login.diff

File wp-login.diff, 3.8 KB (added by bryanveloso, 7 years ago)
  • Users/Bryan/Code/wporg/wp-login.php

     
    4444        </script> 
    4545<?php do_action('login_head'); ?> 
    4646</head> 
    47 <body> 
     47<body class="login"> 
    4848 
    4949<div id="login"><h1><a href="<?php echo apply_filters('login_headerurl', 'http://wordpress.org/'); ?>" title="<?php echo apply_filters('login_headertitle', __('Powered by WordPress')); ?>"><span class="hide"><?php bloginfo('name'); ?></span></a></h1> 
    5050<?php 
     
    147147<?php do_action('lostpassword_form'); ?> 
    148148        <p class="submit"><input type="submit" name="submit" id="submit" value="<?php _e('Get New Password &raquo;'); ?>" tabindex="100" /></p> 
    149149</form> 
     150</div> 
     151 
    150152<ul> 
    151153<?php if (get_option('users_can_register')) : ?> 
    152154        <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php"><?php _e('Login') ?></a></li> 
    153155        <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=register"><?php _e('Register') ?></a></li> 
    154         <li><a href="<?php bloginfo('home'); ?>/" title="<?php _e('Are you lost?') ?>" class="fullwidth">&laquo; <?php _e('Back to blog') ?></a></li> 
     156        <li><a href="<?php bloginfo('home'); ?>/" title="<?php _e('Are you lost?') ?>"><?php _e('Back to') ?> <?php bloginfo('title'); ?></a></li> 
    155157<?php else : ?> 
    156         <li><a href="<?php bloginfo('home'); ?>/" title="<?php _e('Are you lost?') ?>">&laquo; <?php _e('Back to blog') ?></a></li> 
     158        <li><a href="<?php bloginfo('home'); ?>/" title="<?php _e('Are you lost?') ?>"><?php _e('Back to') ?> <?php bloginfo('title'); ?></a></li> 
    157159        <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php"><?php _e('Login') ?></a></li> 
    158160<?php endif; ?> 
    159161</ul> 
    160 </div> 
     162 
    161163</body> 
    162164</html> 
    163165<?php 
     
    263265        <p id="reg_passmail"><?php _e('A password will be e-mailed to you.') ?></p> 
    264266        <p class="submit"><input type="submit" name="submit" id="submit" value="<?php _e('Register &raquo;'); ?>" tabindex="100" /></p> 
    265267</form> 
     268</div> 
     269 
    266270<ul> 
    267271        <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php"><?php _e('Login') ?></a></li> 
    268272        <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=lostpassword" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a></li> 
    269         <li><a href="<?php bloginfo('home'); ?>/" title="<?php _e('Are you lost?') ?>" class="fullwidth">&laquo; <?php _e('Back to blog') ?></a></li> 
     273        <li><a href="<?php bloginfo('home'); ?>/" title="<?php _e('Are you lost?') ?>"><?php _e('Back to') ?> <?php bloginfo('title'); ?></a></li> 
    270274</ul> 
    271 </div> 
     275 
    272276</body> 
    273277</html> 
    274278<?php 
     
    351355                <input type="hidden" name="redirect_to" value="<?php echo wp_specialchars($redirect_to); ?>" /> 
    352356        </p> 
    353357</form> 
     358</div> 
     359 
    354360<ul> 
    355361<?php if (get_option('users_can_register')) : ?> 
    356362        <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=register"><?php _e('Register') ?></a></li> 
    357363        <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=lostpassword" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a></li> 
    358         <li><a href="<?php bloginfo('home'); ?>/" title="<?php _e('Are you lost?') ?>" class="fullwidth">&laquo; <?php _e('Back to blog') ?></a></li> 
     364        <li><a href="<?php bloginfo('home'); ?>/" title="<?php _e('Are you lost?') ?>"><?php _e('Back to') ?> <?php bloginfo('title'); ?></a></li> 
    359365<?php else : ?> 
    360         <li><a href="<?php bloginfo('home'); ?>/" title="<?php _e('Are you lost?') ?>">&laquo; <?php _e('Back to blog') ?></a></li> 
     366        <li><a href="<?php bloginfo('home'); ?>/" title="<?php _e('Are you lost?') ?>"><?php _e('Back to') ?> <?php bloginfo('title'); ?></a></li> 
    361367        <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=lostpassword" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a></li> 
    362368<?php endif; ?> 
    363369</ul> 
    364 </div> 
    365370 
     371 
    366372</body> 
    367373</html> 
    368374<?php