Changeset 35925
- Timestamp:
- 12/14/2015 04:39:48 PM (9 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/css/wp-auth-check.css
r34011 r35925 49 49 50 50 #wp-auth-check-wrap #wp-auth-check-form { 51 background: url(../images/spinner-2x.gif) no-repeat center center;52 -webkit-background-size: 16px 16px;53 background-size: 16px 16px;54 51 height: 100%; 52 position: relative; 55 53 overflow: auto; 56 54 -webkit-overflow-scrolling: touch; 55 } 56 57 #wp-auth-check-form.loading:before { 58 content: ""; 59 display: block; 60 width: 20px; 61 height: 20px; 62 position: absolute; 63 left: 50%; 64 top: 50%; 65 margin: -10px 0 0 -10px; 66 background: url(../images/spinner.gif) no-repeat center; 67 -webkit-background-size: 20px 20px; 68 background-size: 20px 20px; 69 -webkit-transform: translateZ(0); 70 transform: translateZ(0); 71 } 72 73 @media print, 74 (-webkit-min-device-pixel-ratio: 1.25), 75 (min-resolution: 120dpi) { 76 77 #wp-auth-check-form.loading:before { 78 background-image: url(../images/spinner-2x.gif); 79 } 80 57 81 } 58 82 -
trunk/src/wp-includes/functions.php
r35880 r35925 4940 4940 if ( $same_domain ) { 4941 4941 ?> 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> 4943 4943 <?php 4944 4944 } -
trunk/src/wp-includes/js/wp-auth-check.js
r35568 r35925 21 21 22 22 loaded = true; 23 // Remove the spinner to avoid unnecessary CPU/GPU usage. 24 form.removeClass( 'loading' ); 23 25 24 26 try { … … 47 49 }).attr( 'src', form.data('src') ); 48 50 49 $('#wp-auth-check-form').append( frame );51 form.append( frame ); 50 52 } 51 53
Note: See TracChangeset
for help on using the changeset viewer.