]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/js/updates.js
WordPress 4.0
[autoinstalls/wordpress.git] / wp-admin / js / updates.js
index 40b04e3c2c5400a256acb4db74c2d1a949b51dc1..3139c3ef241e54f6478f89d95678c4e980d72a5e 100644 (file)
@@ -32,7 +32,7 @@ window.wp = window.wp || {};
                        $elem = $( '#menu-plugins' );
                        pluginCount = $elem.find( '.plugin-count' ).eq(0).text();
                        pluginCount = parseInt( pluginCount, 10 ) - 1;
-                       if ( count < 0 ) {
+                       if ( pluginCount < 0 ) {
                                return;
                        }
                        $elem.find( '.plugin-count' ).text( pluginCount );