A way for plugins/themes outside of the wp repository to provide an update API URL
|Reported by:||farinspace||Owned by:|
Description (last modified by SergeyBiryukov)
Plugins outside of the repository are able to provide an update api/url but only when they are activated (e.g. using the "pre_set_site_transient_update_plugins" filter), however if a plugin is not activated (deactivated), wordpress will always check the repository, any plugin of the same name would get its data returned, potentially overriding the existing external plugin.
I am having this issue, because I chose to not put a "dummy plugin" in the repository (to save the namespace).
Im proposing that an additional header name/value pair be added to plugin file headers to be able to override the default repository check ...
/* Plugin Name: Example Plugin URI: http://example.org ... API URI: http://example.org/api/ */
this would be overridden here I believe:
# wp-includes/update.php line 205 $raw_response = wp_remote_post('http://api.wordpress.org/plugins/update-check/1.0/', $options);
Change History (9)
3 years ago
- Milestone Awaiting Review deleted
- Resolution set to duplicate
- Status changed from new to closed
3 years ago
- Resolution duplicate deleted
- Status changed from closed to reopened