Ticket #51476: 51476-new.patch
File 51476-new.patch, 1.5 KB (added by , 4 years ago) |
---|
-
src/js/_enqueues/wp/updates.js
440 440 */ 441 441 wp.updates.updatePlugin = function( args ) { 442 442 var $updateRow, $card, $message, message; 443 443 var $adminBarUpdates = $( '#wp-admin-bar-updates' ); 444 444 445 args = _.extend( { 445 446 success: wp.updates.updatePluginSuccess, 446 447 error: wp.updates.updatePluginError … … 447 448 }, args ); 448 449 449 450 if ( 'plugins' === pagenow || 'plugins-network' === pagenow ) { 450 $updateRow = $( 'tr[data-plugin="' + args.plugin + '"]' ); 451 $adminBarUpdates.addClass( 'updating-message' ); 452 453 $updateRow = $( 'tr[data-plugin="' + args.plugin + '"]' ); 451 454 $message = $updateRow.find( '.update-message' ).removeClass( 'notice-error' ).addClass( 'updating-message notice-warning' ).find( 'p' ); 452 455 message = sprintf( 453 456 /* translators: %s: Plugin name and version. */ -
src/wp-includes/css/admin-bar.css
588 588 top: 2px; 589 589 } 590 590 591 #wpadminbar #wp-admin-bar-updates.updating-message .ab-icon:before { 592 display: inline-block; 593 animation: rotation 2s infinite linear; 594 } 595 591 596 /** 592 597 * Search 593 598 */