Make WordPress Core

Opened 3 months ago

Closed 3 months ago

Last modified 3 months ago

#60589 closed defect (bug) (fixed)

update-count is not updated when I do Plugins Updates with WordPress Updates.

Reported by: nendeb55's profile nendeb55 Owned by: swissspidy's profile swissspidy
Milestone: 6.5 Priority: normal
Severity: normal Version:
Component: Upgrade/Install Keywords: has-patch commit
Focuses: Cc:


I have several Plugins Updates with WordPress Updates, but the update-count is not updated.

The console shows the following error in updates.min.js.

Uncaught TypeError: Cannot read properties of undefined (reading 'slug')

WordPress 6.5-beta2-57673
Plugins none
Twenty Twenty-Four

Attachments (2)

Update_Plugins_err.jpg (217.5 KB) - added by nendeb55 3 months ago.
60589.diff (733 bytes) - added by swissspidy 3 months ago.

Download all attachments as: .zip

Change History (6)

#1 @swissspidy
3 months ago

  • Component changed from General to Upgrade/Install
  • Keywords has-patch commit added
  • Milestone changed from Awaiting Review to 6.5
  • Owner set to swissspidy
  • Status changed from new to assigned
  • Version trunk deleted

Thanks for your report! I can confirm this.

Not sure when this was introduced, but seems like it has been a while.

3 months ago

#2 @swissspidy
3 months ago

  • Severity changed from critical to normal

#3 @swissspidy
3 months ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 57696:

Upgrade/Install: Fix upgrade count decrement on Updates page.

Fixes a JavaScript error that caused the update count bubble not to decrement when updating a plugin.

Props nendeb55, swissspidy.
Fixes #60589.

#4 @nendeb55
3 months ago

I have confirmed that it is working properly with WordPress 6.5-beta2-57698.

Thank you for your support.

Note: See TracTickets for help on using tickets.