-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Selectively disable plugin update requests #11
Comments
Note: When checking to see if a plugin is a symlinked plugin you can't rely on the global $wp_plugin_paths table since this is only populated for active plugins. So when hooking into 'pre_current_active_plugins' which lists all plugins, whether or not activated you have to find another way to determine if the plugin is symlinked. |
Messages about symlinked plugins are being displayed even when the plugin is at the latest version. |
We need to produce the messages in WPMS as well. |
The logic should also cater for plugins which are clones of Git repositories. |
We need to prevent updates from |
In order to prevent updates in wp-admin/update-core.php we'll need to see how we can intercept the processing for the following hooks
That means looking at where they're called and what they return. The challenge is to be able to report where updates are available, but we don't recommend updating because the plugins symlinked or Gitted, and to remove the plugins from the list when we can't tell them it's not a good idea. OK. I've written some code in the I now need to test this without breaking anything. So I need to commit the changes, install somewhere safe and try it out. That means creating a new version of oik ( and oik-bwtrace ) with the updates. Should be interesting. |
OK, I've tested it. The logic only kicks in when a plugin has called |
For a variety of reasons there may be some plugins for which you neither want updates to be checked nor applied. Some of these reasons are:
The requirement is to support the disabling of plugin updates on a plugin by plugin basis.
The text was updated successfully, but these errors were encountered: