Ticket #28073: 28073.patch
File 28073.patch, 492 bytes (added by , 11 years ago) |
---|
-
src/wp-admin/js/updates.js
32 32 $elem = $( '#menu-plugins' ); 33 33 pluginCount = $elem.find( '.plugin-count' ).eq(0).text(); 34 34 pluginCount = parseInt( pluginCount, 10 ) - 1; 35 if ( count < 0 ) {35 if ( pluginCount < 0 ) { 36 36 return; 37 37 } 38 38 $elem.find( '.plugin-count' ).text( pluginCount );