WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#19546 closed defect (bug) (invalid)

Updates Counter retains 1 outstanding

Reported by: kraftbj Owned by:
Milestone: Priority: normal
Severity: trivial Version: 3.3
Component: Administration Keywords:
Focuses: Cc:

Description

Admin panel indicated three new plugin updates, updates dashboard displayed two plugins in need of updates. Ran updates and "1" update still display as needed on admin bar and on the sidebar for "Updates" and "Plugins".

Selected all plugins on plugin screen and bulk "Update", all responded at latest version.

"Check again" on updates page, refreshed page, logged out/in. Outstanding number remains.

Ran script located at (http://codex.wordpress.org/Reporting_Bugs#Before_You_Report_a_Bug), no errors reported.

(n.b. Newbie to trac, trying to follow the codex advice for reporting bugs. If advice can be given to help me find the info to improve the ticket, please let me know.

Attachments (1)

40.png (87.7 KB) - added by kraftbj 2 years ago.
Screenshot of /wp-admin/update-core.php

Download all attachments as: .zip

Change History (11)

comment:1 Ipstenu2 years ago

Check your themes, just for a laugh. They should all show up together in the update screen, mind you.

comment:2 kraftbj2 years ago

No updates listed in themes (via Appearance>Themes). The notifier number does show next to the Plugins dashboard sidebar item (as well as adminbar and dashboard>updates). Deleted the few themes in the system that I'm not using to reduce clutter, no change in notifier number.

Thanks for the quick response.

comment:3 justindgivens2 years ago

What does it show when you go to Dashboard->Updates. Add a screenshot.

Any caching setup on the server?

Last edited 2 years ago by justindgivens (previous) (diff)

kraftbj2 years ago

Screenshot of /wp-admin/update-core.php

comment:4 kraftbj2 years ago

W3 Total Cache is the only caching setup within WP or on the server as far as I'm aware. I emptied those caches with no change. Deactivated plugin with no change.

With all previous updates, the notifier count remained when the update confirmation screen was displayed, but did not show afterwards after navigating elsewhere beyond that initial update confirmation screen.

comment:5 follow-up: justindgivens2 years ago

It looks like plugin data might still be held in Cache. Look at WP_Object_Cache.

  • My suggestion would be try renaming a folder within the Plugins Directory /wp-content/plugins/.
  • Then loading the WP-Admin Plugins Page.
  • Then rename that folder back.
  • Then loading the WP-Admin Plugins Page again.

See if the number still show an update.

comment:6 in reply to: ↑ 5 ; follow-up: nacin2 years ago

Replying to justindgivens:

It looks like plugin data might still be held in Cache. Look at WP_Object_Cache.

Plugins are only held in cache for the duration of the pageload (non-persistent).

Do you have the WordPress Beta Tester plugin enabled? That will sometimes result in the '1' count. You can also, in the admin area, var_dump( wp_get_update_data() ); to get the calculations.

comment:7 in reply to: ↑ 6 justindgivens2 years ago

Replying to nacin:

Replying to justindgivens:

It looks like plugin data might still be held in Cache. Look at WP_Object_Cache.

Plugins are only held in cache for the duration of the pageload (non-persistent).

Oh okay, thanks for clearing that up. I apologize for any misleading information.

comment:8 kraftbj2 years ago

Negative on WP Beta Tester.

Apologies, but where/how on admin for the code. Attempted in address bar, led to Google (Using latest stable Firefox on Ubuntu) and in the console resulted in var_dump not defined error.

comment:9 kraftbj2 years ago

  • Resolution set to invalid
  • Severity changed from minor to trivial
  • Status changed from new to closed

I renamed my plugins folder (to quickly remove all plugins). The update notifier returned to 0.
I renamed it back to add plugins back, it reverted back to 1.

Removed each plugin from the directory until offending plugin (Premise by Copyblogger) was determined. Note sent to the developer informing them that plugin was reporting update available but giving no indication via update-core, nor the plugins page, nor the plugin's admin pages.

Updated plugin to most recent version manually; update notifier cleared, as expected.

comment:10 SergeyBiryukov2 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.