wp-cli icon indicating copy to clipboard operation
wp-cli copied to clipboard

Consider increasing minimum supported WordPress version

Open danielbachhuber opened this issue 2 years ago • 2 comments

WordPress bumped the minimum supported version to 4.1. WP-CLI's minimum supported WP version is 3.7. Should we consider increasing our minimum supported version?

Originally https://wordpress.slack.com/archives/C02RP4T41/p1669205224451499

Done is:

  • We've made a decision on our minimum supported WP version policy.
  • The policy is documented to the website in the appropriate forum.
  • We've announced the policy in a make/cli blog post.

danielbachhuber avatar Nov 27 '22 22:11 danielbachhuber

@schlessera For https://github.com/wp-cli/core-command/actions/runs/3758881768/jobs/6387768124 (from https://github.com/wp-cli/core-command/pull/222), I think the problem is that WordPress 3.7.9 is no longer getting a download offer.

I kinda don't want to futz with these really old tests. What do you think about increasing the minimum supported WP version to 4.1, and then taking the next WP-CLI release as 3.0? Folks can always download 2.x if they need to upgrade old WP sites, and we could potentially offer some form of LTS for the 2.x series.

danielbachhuber avatar Jan 05 '23 12:01 danielbachhuber

In conversation with @schlessera, we're going to hold off on formally bumping the minimum supported WP version until core bumps its minimum PHP version (https://core.trac.wordpress.org/ticket/57345) and we can address that too.

https://github.com/wp-cli/wp-cli/blob/26340383741b7e8764f10c7d40cde5a9b4a4d61f/php/WP_CLI/Runner.php#L984-L992

danielbachhuber avatar Jan 24 '23 16:01 danielbachhuber