Skip to content
This repository was archived by the owner on Jun 15, 2022. It is now read-only.

Commit 1553aff

Browse files
committed
Since we're now targeting WooCommerce 3.7+, update the docs to clarify that we can use PHP 5.6+ features
1 parent 1088949 commit 1553aff

File tree

4 files changed

+22
-7
lines changed

4 files changed

+22
-7
lines changed

CHANGELOG.md

+15
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,21 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## [Unreleased]
9+
10+
**Note:** Based on [our compatibility policy](CONTRIBUTING.md#compatibility-policy), this plugin now requires WooCommerce 3.7 or higher. As such, PHP 5.6 or newer is also required.
11+
12+
## Added
13+
14+
* Enable the migration WP-CLI commands to accept `--batch-size=0`, which disables batching ([#152], props @AlchemyUnited, @mfs-mindsize).
15+
16+
## Fixed
17+
18+
* Change the plugin's display name from "WooCommerce - Custom Orders Table" to "WooCommerce Custom Orders Table" ([#138], props @jb510).
19+
* Add a `method_exists()` check to the wildcard `set_{$column}` method ([#139], props @blohbaugh).
20+
* Rewrite the way that WooCommerce core is installed in test environments ([#154]).
21+
* Use offsets to avoid infinite loops during migration ([#157], props @mfs-mindsize).
22+
823
## [Version 1.0.0 (Release Candidate 3)] - 2019-07-24
924

1025
* Ensure the orders query is adjusted as late as possible ([#126]).

CONTRIBUTING.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ As such, the backwards compatibility policy for WooCommerce Custom Orders Table
3636

3737
* The plugin must be compatible with two latest **major** versions of WordPress core (e.g. If the current release of WordPress is 5.2.x, the plugin must be compatible with 5.2.x and 5.1.x).
3838
* The plugin must be compatible with the three latest **minor** releases of WooCommerce.
39-
- WooCommerce 3.0 switched to [semantic versioning](https://woocommerce.wordpress.com/2017/03/13/important-update-regarding-the-upcoming-woocommerce-release-2-7-will-be-3-0-0/), so if WooCommerce 3.7.x is current, the plugin must also be compatible with 3.6.x and 3.5.x.
39+
- WooCommerce 3.0 switched to [semantic versioning](https://woocommerce.wordpress.com/2017/03/13/important-update-regarding-the-upcoming-woocommerce-release-2-7-will-be-3-0-0/), so if WooCommerce 3.9.x is current, the plugin must also be compatible with 3.8.x and 3.7.x.
4040
* In the case that a WordPress release requires a specific version of WooCommerce (for example, WordPress 5.0 requires WooCommerce 3.5.1 or higher), the WordPress compatibility will supersede the WooCommerce compatibility requirement.
41-
* Compatibility will be based on the latest **patch** releases of both WordPress and WooCommerce (e.g. if WooCommerce 3.6.2 patches a bug in WooCommerce 3.6.1, our 3.6.x commitment will be 3.6.2 or newer).
41+
* Compatibility will be based on the latest **patch** releases of both WordPress and WooCommerce (e.g. if WooCommerce 3.9.2 patches a bug in WooCommerce 3.9.1, our 3.9.x commitment will be 3.9.2 or newer).
4242

43-
As part of this commitment to compatibility, WooCommerce Custom Orders Table will continue to target PHP 5.2 as a minimum PHP version for the core plugin files (with the exception of the `WooCommerce_Custom_Orders_Table_CLI` class, which uses the WP-CLI minimum of PHP 5.3) until WordPress 5.3 is released. At that point, we'll be able to drop support for WordPress 5.1 and, as a result, PHP versions prior to 5.6.
43+
As part of this commitment to compatibility, WooCommerce Custom Orders Table will continue to target PHP 5.6 as a minimum PHP version for the core plugin files until such time that all supported versions of WordPress and WooCommerce raise their minimum PHP version requirements.
4444

4545
The `tests/` directory, however, is accepting of modern (7.x) PHP.
4646

phpcs.xml.dist

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<ruleset name="WordPress Coding Standards for Plugins">
33
<description>Generally-applicable sniffs for WordPress plugins</description>
44

5-
<!-- The plugin should be compatible with PHP 5.2 and newer. -->
6-
<config name="testVersion" value="5.2-"/>
5+
<!-- The plugin should be compatible with PHP 5.6 and newer. -->
6+
<config name="testVersion" value="5.6-"/>
77

88
<rule ref="WooCommerce-Core">
99
<!-- Let the plugin files have @author tags. -->

woocommerce-custom-orders-table.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
* License: GPLv3 or later
1010
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
1111
*
12-
* WC requires at least: 3.5.1
13-
* WC tested up to: 3.6.4
12+
* WC requires at least: 3.7.1
13+
* WC tested up to: 4.0.0-beta.1
1414
*
1515
* @package WooCommerce_Custom_Orders_Table
1616
* @author Liquid Web

0 commit comments

Comments
 (0)