Skip to content

Commit 632b243

Browse files
committed
Merge pull request #2 from IRus/master
Fix UI on login form.
2 parents 20147d3 + e10284c commit 632b243

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

login.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
wp_admin_css( 'wp-admin', true );
99
wp_admin_css( 'colors-fresh', true );
10+
wp_admin_css( 'login', true );
1011

1112
// Don't index any of these forms
1213
add_action( 'login_head', 'wp_no_robots' );
@@ -47,7 +48,7 @@ function shake(id,a,d){c=a.shift();s(id,c);if(a.length>0){setTimeout(function(){
4748

4849
?>
4950
</head>
50-
<body class="login<?php if ( wp_is_mobile() ) echo ' mobile'; ?>">
51+
<body class="wp-core-ui login<?php if ( wp_is_mobile() ) echo ' mobile'; ?>">
5152
<div id="login">
5253
<h1><a href="<?php echo esc_url( $login_header_url ); ?>" title="<?php echo esc_attr( $login_header_title ); ?>"><?php bloginfo( 'name' ); ?></a></h1>
5354
<?php
@@ -85,7 +86,7 @@ function shake(id,a,d){c=a.shift();s(id,c);if(a.length>0){setTimeout(function(){
8586
</p>
8687
<?php do_action('login_form'); ?>
8788
<p class="submit">
88-
<input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="<?php esc_attr_e('Log In'); ?>" />
89+
<input type="submit" name="wp-submit" id="wp-submit" class="button button-primary button-large" value="<?php esc_attr_e('Log In'); ?>" />
8990
<input type="hidden" name="redirect_to" value="<?php echo esc_attr($redirect_to); ?>" />
9091
<input type="hidden" name="testcookie" value="1" />
9192
<?php wp_nonce_field( 'passwordless_login_request', 'nonce', false ) ?>

0 commit comments

Comments
 (0)