* @param string $wp_error Optional. The error to pass. Default empty.
* @param WP_Error $wp_error Optional. WordPress Error Object
*/
-function login_header($title = 'Log In', $message = '', $wp_error = '') {
- global $error, $interim_login, $current_site, $action;
+function login_header( $title = 'Log In', $message = '', $wp_error = '' ) {
+ global $error, $interim_login, $action;
// Don't index any of these forms
add_action( 'login_head', 'wp_no_robots' );
add_action( 'login_head', 'wp_shake_js', 12 );
?><!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
+ <!--[if IE 8]>
+ <html xmlns="http://www.w3.org/1999/xhtml" class="ie8" <?php language_attributes(); ?>>
+ <![endif]-->
+ <!--[if !(IE 8) ]><!-->
+ <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
+ <!--<![endif]-->
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php bloginfo('name'); ?> › <?php echo $title; ?></title>
wp_admin_css( 'wp-admin', true );
wp_admin_css( 'colors-fresh', true );
+ wp_admin_css( 'ie', true );
// Remove all stored post data on logging out.
// This could be added by add_action('login_head'...) like wp_shake_js()
if ( is_multisite() ) {
$login_header_url = network_home_url();
- $login_header_title = $current_site->site_name;
+ $login_header_title = get_current_site()->site_name;
} else {
$login_header_url = __( 'http://wordpress.org/' );
$login_header_title = __( 'Powered by WordPress' );
* @return bool|WP_Error True: when finish. WP_Error on error
*/
function retrieve_password() {
- global $wpdb, $current_site, $wp_hasher;
+ global $wpdb, $wp_hasher;
$errors = new WP_Error();
/**
* Fires before a new password is retrieved.
*
- * @since 1.5.2
- * @deprecated 1.5.2 Misspelled. Use 'retrieve_password' hook instead.
+ * @since 1.5.0
+ * @deprecated 1.5.1 Misspelled. Use 'retrieve_password' hook instead.
*
* @param string $user_login The user login name.
*/
/**
* Fires before a new password is retrieved.
*
- * @since 1.5.2
+ * @since 1.5.1
*
* @param string $user_login The user login name.
*/
/**
* Fires before the lost password form.
*
- * @since 1.5.2
+ * @since 1.5.1
*/
do_action( 'lost_password' );
/**
* Filter the registration URL below the login form.
*
- * @since 1.5.2
+ * @since 1.5.0
*
* @param string $registration_url Registration URL.
*/