[wp-meta] [Making WordPress.org] #7345: Add "Compatible up to" plugin header
Making WordPress.org
noreply at wordpress.org
Thu Nov 9 09:52:50 UTC 2023
#7345: Add "Compatible up to" plugin header
------------------------------+--------------------
Reporter: azaozz | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Plugin Directory | Keywords:
------------------------------+--------------------
This idea has been floating around for a while. It would be really helpful
for plugins to be able to set a maximum supported WP version in addition
to the minimum/required version. That would allow the plugins to ensure
they are being updated on time and will not cause errors in future
versions of WordPress.
Thinking that an optional `Compatible up to` header in the plugin's file
(same as `Requires at least` and `Requires PHP`) would serve that purpose
well. Then in core that header can be checked and the plugin not loaded if
WordPress is newer, similarly to how the `Requires PHP` check works.
On the plugins directory side the `Compatible up to` header may eventually
be used to sent a warning message when installing plugins through wp-
admin. Perhaps like "This plugin is too old and is not compatible with
your version of WordPress" instead of the "This plugin has not been tested
with your version of WordPress" when the header is present.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/7345>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list