Opened 11 years ago
Closed 11 years ago
#25611 closed enhancement (duplicate)
Add filter to wp_update_plugins() to allow third-party updaters
Reported by: | rmccue | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Upgrade/Install | Keywords: | has-patch |
Focuses: | Cc: |
Description (last modified by )
At the moment, most third party updaters use pre_set_site_transient_update_plugins
to add extra update data. Unfortunately this method is prone to being a bit heavy handed, as update_plugins
is updated in other places, such as when it has the expiration bumped just before the actual request. Custom updaters can't really hook into this correctly without doing some stupid tricks.
Attached patch adds core_version_check_response
, plugins_update_check_response
, and themes_update_check_response
filters (not sure why you'd use the core one, but it's there for consistency).
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Add core_version_check_response, plugins_update_check_response, themes_update_check_response filters