Make WordPress Core

Ticket #26348: 26348-1.diff

File 26348-1.diff, 1.3 KB (added by iammattthomas, 11 years ago)

Proposed solution for invisible characters in ≤IE8 password field.

  • src/wp-admin/css/ie.css

     
    612612* html #adminmenu div.wp-menu-image {
    613613        height: 29px;
    614614}
     615
     616input[type=password] {
     617        font-family: sans-serif;
     618}
     619 No newline at end of file
  • src/wp-includes/script-loader.php

     
    556556        $styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array( 'open-sans', 'dashicons' ) );
    557557
    558558        $styles->add( 'ie', "/wp-admin/css/ie$suffix.css" );
    559         $styles->add_data( 'ie', 'conditional', 'lte IE 7' );
     559        $styles->add_data( 'ie', 'conditional', 'lte IE 8' );
    560560
    561561        $open_sans_font_url = '';
    562562
  • src/wp-login.php

     
    6565
    6666        wp_admin_css( 'wp-admin', true );
    6767        wp_admin_css( 'colors-fresh', true );
     68        wp_admin_css( 'ie', true );
    6869
    6970        // Remove all stored post data on logging out.
    7071        // This could be added by add_action('login_head'...) like wp_shake_js()