Make WordPress Core


Ignore:
Timestamp:
12/14/2015 04:39:48 PM (10 years ago)
Author:
afercia
Message:

Authentication modal dialog: the spinner should disappear when loading is done.

Also, when using spinners as background images, the re-painted area should be the
smallest possible one. See similar performance issue in #33311.

Fixes #34951.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r35880 r35925  
    49404940    if ( $same_domain ) {
    49414941        ?>
    4942         <div id="wp-auth-check-form" data-src="<?php echo esc_url( add_query_arg( array( 'interim-login' => 1 ), $login_url ) ); ?>"></div>
     4942        <div id="wp-auth-check-form" class="loading" data-src="<?php echo esc_url( add_query_arg( array( 'interim-login' => 1 ), $login_url ) ); ?>"></div>
    49434943        <?php
    49444944    }
Note: See TracChangeset for help on using the changeset viewer.