#8781 closed feature request (fixed)
Plugins Dashboard Widget: Dont show installed plugins (or offer to install them)
Reported by: | DD32 | Owned by: | Viper007Bond |
---|---|---|---|
Milestone: | 2.8 | Priority: | normal |
Severity: | normal | Version: | 2.7 |
Component: | Widgets | Keywords: | has-patch needs-testing |
Focuses: | Cc: |
Description
As Chris Moody suggested: http://comox.textdrive.com/pipermail/wp-testers/2009-January/011011.html
Personally i think skipping the plugin if its already installed would be best, Not sure how much overhead it'd introduce matching the plugins up (Slug/Name in Widget vs. the actual plugins WP has installed vs. reading plugins from directory to get names, etc.)
Could possibly be a good candidate to introduce a cached option inside WP for a WP-Slug => Local Plugin file/Plugin Name lookup, Which would aid in displaying which plugins couldnt be automatically checked for updates too..
Attachments (9)
Change History (16)
@
16 years ago
More redundancy removal thanks to rmccue (why don't I think of these things when writing it?)
#4
@
16 years ago
- Component changed from Administration to Widgets
Needs update now that SimplePie has landed.
#5
@
16 years ago
Should be good to go now. Installed a couple of the current "Most Popular" plugins and they stopped showing up in the list.
The transient API is really slick BTW. Gotta remember to make more use of that in the future. I set the caching time to 24 hours though, dunno if that's an acceptable cache time for caching the list of installed plugin slugs (it's updated on a visit to the plugins page anyway).
Needs testing and the
while()
could be troublesome if it somehow gets stuck in an infinite loop, but I tested it on my localhost and it seems to work great. Akismet no longer shows up under "Most Popular" for example.