-
Notifications
You must be signed in to change notification settings - Fork 147
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
Proposal: Add 'CF7 tested up to' readme header support #414
Comments
The header 'CF7 requires at least' would also be helpful. |
Sounds interesting. I think the header naming needs more polishing, though. |
To be honest, I think WordPress itself needs to have this feature. |
Yeah, I think so, too. There is no way for a plugin to know whether its add-on plugins are used. |
If they are active then they might be used. My thinking was, it would have been nice for WordPress core to have functionality for resolving plugin dependencies. Something similar to composer. Maybe they can switch to that someday. Meanwhile, it would be nice to have some solution that would alert the user about a possible problem prior to updates. |
Just one possible approach. What do you think about adding a global variable This could hold an array of arrays/objects that look something like this:
Then, if you make it filterable,
third party plugins would be able to declare WPCF7 support like this:
You could then show upgrade notices based on the information present in this variable. Additionally, there could be a dismissible admin notice if you detect conflicting plugins. Some potential problems:
|
There was a time this was an active idea ... resulting in this plugins: Starting point was: https://core.trac.wordpress.org/ticket/22316 Additional ideas: |
The latest solution is this feature plugin: https://wordpress.org/plugins/wp-plugin-dependencies/ Although, it only prevents activating the plugin if the dependencies are not met, and it prevents deactivating or deleted if the plugin is required by another plugin. This line ("Requires Plugins") need to be added in the add-on plugin. |
This isn't really a bug but a feature request.
WooCommerce supports the 'WC tested up to' readme header for plugins that integrate with the plugin. I propose a similar 'CF7 tested up to' readme header support (for plugins that integrate with Contact Form 7). Additionally, users that attempt to upgrade Contact Form 7 can be warned about possible issues due to lack of support in other plugins, similarly to how it is done with WooCommerce.
Any thoughts?
The text was updated successfully, but these errors were encountered: