Changeset 22000
- Timestamp:
- 09/25/2012 09:13:06 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-login.php
r21996 r22000 40 40 */ 41 41 function login_header($title = 'Log In', $message = '', $wp_error = '') { 42 global $error, $interim_login, $current_site ;42 global $error, $interim_login, $current_site, $action; 43 43 44 44 // Don't index any of these forms … … 87 87 $login_header_url = '#'; 88 88 89 $classes = array( 'login-action-' . $action ); 90 if ( wp_is_mobile() ) 91 $classes[] = 'mobile'; 92 if ( is_rtl() ) 93 $classes[] = 'rtl'; 94 $classes = apply_filters( 'login_body_class', $classes, $action ); 89 95 ?> 90 96 </head> 91 <body class="login <?php if ( wp_is_mobile() ) echo ' mobile'; ?>">97 <body class="login <?php echo esc_attr( implode( ' ', $classes ) ); ?>"> 92 98 <div id="login"> 93 99 <h1><a href="<?php echo esc_url( $login_header_url ); ?>" title="<?php echo esc_attr( $login_header_title ); ?>"><?php bloginfo( 'name' ); ?></a></h1>
Note: See TracChangeset
for help on using the changeset viewer.