Automattic / Co-Authors-Plus

Multiple bylines and Guest Authors for WordPress
https://wordpress.org/plugins/co-authors-plus/
GNU General Public License v2.0
291 stars 205 forks source link

Increase minimum PHP version #954

Closed GaryJones closed 5 months ago

GaryJones commented 1 year ago

As of right now (3.5.11 has just been released), the minimum PHP version is 5.6. WordPress 6.3 is about to be released with a minimum PHP version of 7.0. In a few months, PHP 8.3 will be available.

When 4.0 of CAP is being prepared, then the minimum PHP version can be increased - this helps to reduce bugs (from cross-version differences), reduce testing requirements (not so many combinations to support in CI testing), and can reduce the amount of code to maintain (through more modern syntax).

GaryJones commented 5 months ago

The minimum version should be PHP 7.4.

alecgeatches commented 5 months ago

Minimum PHP version updated to 7.4 in https://github.com/Automattic/Co-Authors-Plus/pull/1032.