Changeset 38210
- Timestamp:
- 08/05/2016 11:00:30 PM (8 years ago)
- Location:
- branches/4.6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.6
-
branches/4.6/src/wp-admin/js/updates.js
r38206 r38210 351 351 if ( 'plugins' === pagenow || 'plugins-network' === pagenow ) { 352 352 $updateRow = $( 'tr[data-plugin="' + args.plugin + '"]' ); 353 $message = $updateRow.find( '.update-message' ). addClass( 'updating-message' ).find( 'p' );353 $message = $updateRow.find( '.update-message' ).removeClass( 'notice-error' ).addClass( 'updating-message notice-warning' ).find( 'p' ); 354 354 message = wp.updates.l10n.updatingLabel.replace( '%s', $updateRow.find( '.plugin-title strong' ).text() ); 355 355 } else if ( 'plugin-install' === pagenow || 'plugin-install-network' === pagenow ) { … … 901 901 902 902 if ( 'themes-network' === pagenow ) { 903 $notice = $( '[data-slug="' + args.slug + '"]' ).find( '.update-message' ). addClass( 'updating-message' ).find( 'p' );903 $notice = $( '[data-slug="' + args.slug + '"]' ).find( '.update-message' ).removeClass( 'notice-error' ).addClass( 'updating-message notice-warning' ).find( 'p' ); 904 904 905 905 } else { … … 2028 2028 success++; 2029 2029 } else { 2030 itemName = response.pluginName ? response.pluginName : $( '[data-slug="' + response.slug + '"]' ).find( '. theme-titlestrong' ).text();2030 itemName = response.pluginName ? response.pluginName : $( '[data-slug="' + response.slug + '"]' ).find( '.column-primary strong' ).text(); 2031 2031 2032 2032 error++;
Note: See TracChangeset
for help on using the changeset viewer.