Version update and min requirement bump
This commit is contained in:
parent
c792dfb192
commit
7c9fd1ab0c
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "woocommerce-rest-api",
|
||||
"title": "WooCommerce REST API",
|
||||
"version": "1.0.5",
|
||||
"version": "1.0.8",
|
||||
"homepage": "https://woocommerce.com/",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -19,7 +19,7 @@ class Package {
|
|||
*
|
||||
* @var string
|
||||
*/
|
||||
const VERSION = '1.0.7';
|
||||
const VERSION = '1.0.8';
|
||||
|
||||
/**
|
||||
* 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+.
|
||||
* Author: Automattic
|
||||
* Author URI: https://woocommerce.com
|
||||
* Version: 1.0.7
|
||||
* Requires PHP: 5.6
|
||||
* Version: 1.0.8
|
||||
* Requires PHP: 7.0
|
||||
* License: GPLv3
|
||||
*
|
||||
* @package Automattic/WooCommerce/RestApi
|
||||
|
@ -15,7 +15,7 @@
|
|||
|
||||
defined( 'ABSPATH' ) || exit;
|
||||
|
||||
if ( version_compare( PHP_VERSION, '5.6.0', '<' ) ) {
|
||||
if ( version_compare( PHP_VERSION, '7.0.0', '<' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue