Version update and min requirement bump
This commit is contained in:
parent
c792dfb192
commit
7c9fd1ab0c
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "woocommerce-rest-api",
|
"name": "woocommerce-rest-api",
|
||||||
"title": "WooCommerce REST API",
|
"title": "WooCommerce REST API",
|
||||||
"version": "1.0.5",
|
"version": "1.0.8",
|
||||||
"homepage": "https://woocommerce.com/",
|
"homepage": "https://woocommerce.com/",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -19,7 +19,7 @@ class Package {
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
const VERSION = '1.0.7';
|
const VERSION = '1.0.8';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Init the package - load the REST API Server class.
|
* Init the package - load the REST API Server class.
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
* Description: The WooCommerce core REST API, installed as a feature plugin for development and testing purposes. Requires WooCommerce 3.7+ and PHP 5.3+.
|
* Description: The WooCommerce core REST API, installed as a feature plugin for development and testing purposes. Requires WooCommerce 3.7+ and PHP 5.3+.
|
||||||
* Author: Automattic
|
* Author: Automattic
|
||||||
* Author URI: https://woocommerce.com
|
* Author URI: https://woocommerce.com
|
||||||
* Version: 1.0.7
|
* Version: 1.0.8
|
||||||
* Requires PHP: 5.6
|
* Requires PHP: 7.0
|
||||||
* License: GPLv3
|
* License: GPLv3
|
||||||
*
|
*
|
||||||
* @package Automattic/WooCommerce/RestApi
|
* @package Automattic/WooCommerce/RestApi
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
defined( 'ABSPATH' ) || exit;
|
defined( 'ABSPATH' ) || exit;
|
||||||
|
|
||||||
if ( version_compare( PHP_VERSION, '5.6.0', '<' ) ) {
|
if ( version_compare( PHP_VERSION, '7.0.0', '<' ) ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue