Make WordPress Core

Ticket #35142: 35142.patch

File 35142.patch, 1.7 KB (added by afercia, 9 years ago)
  • src/wp-includes/css/wp-auth-check.css

     
    8787
    8888#wp-auth-check-wrap .wp-auth-check-close {
    8989        position: absolute;
    90         top: 8px;
    91         right: 8px;
     90        top: 5px;
     91        right: 5px;
    9292        height: 22px;
    9393        width: 22px;
    94         cursor: pointer;
     94        color: #72777c;
    9595}
    9696
    9797#wp-auth-check-wrap .wp-auth-check-close:before {
    9898        content: "\f158";
    99         display: block !important;
    100         font: normal 20px/1 dashicons;
     99        font: normal 20px/22px dashicons;
    101100        speak: none;
    102         height: 22px;
    103         margin: 2px 0;
    104         text-align: center;
    105         width: 22px;
    106         color: #777;
    107101        -webkit-font-smoothing: antialiased !important;
    108102        -moz-osx-font-smoothing: grayscale;
    109103}
    110104
    111 #wp-auth-check-wrap .wp-auth-check-close:hover:before {
     105#wp-auth-check-wrap .wp-auth-check-close:hover,
     106#wp-auth-check-wrap .wp-auth-check-close:focus {
    112107        color: #0073aa;
    113108}
    114109
    115 #wp-auth-check-wrap .wp-auth-check-close:focus {
    116         outline: 1px dotted #82878c;
    117 }
    118 
    119110#wp-auth-check-wrap .wp-auth-fallback-expired {
    120111        outline: 0;
    121112}
  • src/wp-includes/functions.php

     
    49344934        <div id="wp-auth-check-wrap" class="<?php echo $wrap_class; ?>">
    49354935        <div id="wp-auth-check-bg"></div>
    49364936        <div id="wp-auth-check">
    4937         <div class="wp-auth-check-close" tabindex="0" title="<?php esc_attr_e('Close'); ?>"></div>
     4937        <button type="button" class="wp-auth-check-close button-link"><span class="screen-reader-text"><?php _e( 'Close dialog' ); ?></span></button>
    49384938        <?php
    49394939
    49404940        if ( $same_domain ) {