WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#7304 closed defect (bug) (fixed)

Red marker for plugins that needs upgrade don't disappear

Reported by: dzverbg Owned by: westi
Milestone: 2.6.1 Priority: normal
Severity: normal Version: 2.6
Component: Administration Keywords: has-patch
Focuses: Cc:

Description

I had 2 plugins to upgrade. I deleted them, because I don't use both.

The ugly red baloon is still active and shows 2 plugins to upgrade.

I've logged out, than logged in - the baloon is still there.

Attachments (1)

7304.diff (540 bytes) - added by DD32 7 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 @DD327 years ago

  • Component changed from General to Administration
  • Version set to 2.6

Next time an update is checked for (every 12 hours), That number will reset.

I'll attach a patch which checks to see if any of the plugins in the update list are no longer installed.

Note on the patch: Because the update check function is called after the menu's array are created, the number will be incorrect on the first pageload after the plugin has been deleted; however is correct for any furthur requests.

@DD327 years ago

comment:2 @westi7 years ago

  • Keywords has-patch added
  • Owner changed from anonymous to westi
  • Status changed from new to assigned

comment:3 @westi7 years ago

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

(In [8359]) Invalidate the plugin update cache if plugins are deleted. Fixes #7304 for trunk.

comment:4 @westi7 years ago

  • Milestone changed from 2.7 to 2.6.1
  • Resolution fixed deleted
  • Status changed from closed to reopened

Re-open for 2.6.1

comment:5 @westi7 years ago

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

(In [8360]) Invalidate the plugin update cache if plugins are deleted. Fixes #7304 for trunk. Props DD32.

Note: See TracTickets for help on using tickets.