WordPress.org

Make WordPress Core

Changeset 18223 for trunk/wp-login.php


Ignore:
Timestamp:
06/10/2011 02:37:37 AM (11 years ago)
Author:
koopersmith
Message:

Refresh login form styles to match admin style refresh. Props iammattthomas. see #17324.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-login.php

    r18206 r18223  
    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.