[wp-trac] [WordPress Trac] #23880: Minimum PHP version in Plugins
WordPress Trac
noreply at wordpress.org
Sun Feb 15 01:21:26 UTC 2015
#23880: Minimum PHP version in Plugins
-----------------------------+----------------------
Reporter: TJNowell | Owner:
Type: feature request | Status: closed
Priority: normal | Milestone:
Component: Plugins | Version:
Severity: normal | Resolution: wontfix
Keywords: | Focuses:
-----------------------------+----------------------
Comment (by afragen):
So it's been 16 months and now stats show that about half of the previous
cohort of users are on 5.2 (now 32%)
Is it worth supporting a plugin header such as `Requires PHP: 5.3` or as
above and hook a function in plugin activation that doesn't allow
activation and throws an admin notice if the `Requires PHP` header doesn't
list a version that works and assumes the lowest acceptable version of PHP
if the header is missing?
It would seem a much cleaner solution by having this in core than having
it in a myriad of individual plugins.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/23880#comment:39>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list