Make WordPress Core


Ignore:
Timestamp:
12/03/2013 08:11:22 PM (10 years ago)
Author:
iammattthomas
Message:

Reset the login form inputs to the standard sans-serif font in IE8 to prevent invisible password field inputs when webfonts are used. Fixes #26348, props SergeyBiryukov, iammattthomas.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-login.php

    r26120 r26583  
    5858
    5959    ?><!DOCTYPE html>
    60     <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
     60    <!--[if IE 8]>
     61        <html xmlns="http://www.w3.org/1999/xhtml" class="ie8" <?php language_attributes(); ?>>
     62    <![endif]-->
     63    <!--[if !(IE 8) ]><!-->
     64        <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
     65    <!--<![endif]-->
    6166    <head>
    6267    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
     
    6671    wp_admin_css( 'wp-admin', true );
    6772    wp_admin_css( 'colors-fresh', true );
     73    wp_admin_css( 'ie', true );
    6874
    6975    // Remove all stored post data on logging out.
Note: See TracChangeset for help on using the changeset viewer.