[wp-trac] [WordPress Trac] #55316: Counter for total plugins is not updated after a plugin is deleted

WordPress Trac noreply at wordpress.org
Fri Mar 4 15:38:13 UTC 2022


#55316: Counter for total plugins is not updated after a plugin is deleted
-------------------------------------------------+-------------------------
 Reporter:  mitogh                               |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  6.0
Component:  Plugins                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  needs-testing has-testing-info       |     Focuses:  ui,
  needs-refresh                                  |  administration
-------------------------------------------------+-------------------------

Comment (by costdev):

 Thanks for the tests @azouamauriac!

 The patch is changing the value to `plugins.all.length`.

 That's why it looked like the patch worked in your second test, when in
 fact it was a coincedence that **All** and **Auto-updates Disabled** were
 the same number. I've have another look at the patch.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55316#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list