From 7c9fd1ab0c2b7b1c0892cd35ed231a2ef358d86c Mon Sep 17 00:00:00 2001 From: vedanshujain Date: Mon, 11 May 2020 17:37:14 +0530 Subject: [PATCH] Version update and min requirement bump --- package.json | 2 +- src/Package.php | 2 +- woocommerce-rest-api.php | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index c3842219a49..54554e3a408 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/Package.php b/src/Package.php index e524c51bcef..13c5ff30588 100644 --- a/src/Package.php +++ b/src/Package.php @@ -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. diff --git a/woocommerce-rest-api.php b/woocommerce-rest-api.php index 296dac73707..10b7ea38a29 100644 --- a/woocommerce-rest-api.php +++ b/woocommerce-rest-api.php @@ -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; }