Make WordPress Core

Ticket #40478: 40478.2.diff

File 40478.2.diff, 1.2 KB (added by afercia, 7 years ago)
  • src/wp-admin/includes/ms.php

     
    10501050                // Don't show a spinner for English and installed languages,
    10511051                // as there is nothing to download.
    10521052                if ( ! languageSelect.find( 'option:selected' ).data( 'installed' ) ) {
    1053                         $( '#submit', this ).after( '<span class="spinner language-install-spinner" />' );
     1053                        $( '#submit', this ).after( '<span class="spinner language-install-spinner is-active" />' );
    10541054                }
    10551055        });
    10561056});
  • src/wp-admin/includes/options.php

     
    7878                        // Don't show a spinner for English and installed languages,
    7979                        // as there is nothing to download.
    8080                        if ( ! languageSelect.find( 'option:selected' ).data( 'installed' ) ) {
    81                                 $( '#submit', this ).after( '<span class="spinner language-install-spinner" />' );
     81                                $( '#submit', this ).after( '<span class="spinner language-install-spinner is-active" />' );
    8282                        }
    8383                });
    8484        });