[wp-meta] [Making WordPress.org] #6432: Bump ServeHappy PHP constants to 7.4+

Making WordPress.org noreply at wordpress.org
Fri Aug 5 17:46:35 UTC 2022


#6432: Bump ServeHappy PHP constants to 7.4+
----------------------------+--------------------
 Reporter:  SergeyBiryukov  |      Owner:  (none)
     Type:  task (blessed)  |     Status:  new
 Priority:  normal          |  Milestone:
Component:  API             |   Keywords:
----------------------------+--------------------
 Background: #5257, #5279, #5727, #WP56199.

 The `RECOMMENDED_PHP` and `SUPPORTED_PHP` values in
 [source:sites/trunk/wordpress.org/public_html/wp-content/mu-plugins/pub
 /servehappy-config.php servehappy-config.php] are currently at 7.4.

 The `SECURE_PHP` and `ACCEPTABLE_PHP` values are at 7.3, last changed in
 [10960] / #5727.

 Since security support for PHP 7.3 and active support for PHP 7.4
 [https://www.php.net/supported-versions.php ended last November], these
 values should be updated. Some context:

 * `RECOMMENDED_PHP` is the latest branch of PHP which WordPress.org
 recommends.
 * `SUPPORTED_PHP` is the lowest branch of PHP which is actively supported.
 * `SECURE_PHP` is the lowest branch of PHP which is receiving security
 updates.
 * `ACCEPTABLE_PHP` is the lowest branch of PHP which is still considered
 "acceptable" in WordPress. Sites with a version lower than this will see
 the ServeHappy dashboard widget urging them to update.

 Based on the above, it seems like:
 * `RECOMMENDED_PHP`, same as last time, should probably **not** be updated
 to 8.0 yet, due to a large number of breaking changes there and unknown
 state of plugin compatibility.
 * `SUPPORTED_PHP`, likewise, should probably **not** be updated to 8.0 at
 this time, as that would result in a weird experience of displaying a "PHP
 Update Recommended" dashboard widget for PHP 7.4, while at the same time
 stating that 7.4 is the minimum ''recommended'' version (see the
 screenshot). I think it would be clearer to bump this when
 `RECOMMENDED_PHP` is also bumped to 8.0.
 * `SECURE_PHP` should be updated to 7.4.
 * `ACCEPTABLE_PHP` should also be updated to 7.4, since we want users to
 have a secure version.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/6432>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list