[wp-meta] [Making WordPress.org] #3791: Consider bumping pre-commit checker on plugins to PHP 7.1
Making WordPress.org
noreply at wordpress.org
Fri Oct 4 00:41:32 UTC 2019
#3791: Consider bumping pre-commit checker on plugins to PHP 7.1
------------------------------+---------------------
Reporter: Ipstenu | Owner: (none)
Type: defect | Status: closed
Priority: high | Milestone:
Component: Plugin Directory | Resolution: fixed
Keywords: |
------------------------------+---------------------
Comment (by dd32):
Replying to [comment:26 Rarst]:
> I appreciate the progress, but I urge to reconsider if the approach is
optimal.
>
> 7.2 was released **almost two years ago**.
I understand where you're coming from, but IMHO running the branch prior
to current stable is far more than ideal than either running PHP 7.0
linting or no linting at all.
Given PHP's poor adoption curves, all that this means is that you can't
release a plugin through WordPress.org that only works on 15% of WordPress
sites.
You can still release a plugin that relies upon PHP 7.2 code, but at least
that'll be usable by ~45% of sites instead.
You can even use newer functions in PHP if including compat code, just not
newer syntax.
As new PHP branches are deployed for usage on WordPress.org itself, the
version that plugins.svn.wordpress.org will accept will increase in
tandem.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3791#comment:27>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list