Skip to content

Commit

Permalink
Version update and min requirement bump
Browse files Browse the repository at this point in the history
  • Loading branch information
vedanshujain committed May 11, 2020
1 parent c792dfb commit 7c9fd1a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/Package.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions woocommerce-rest-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -15,7 +15,7 @@

defined( 'ABSPATH' ) || exit;

if ( version_compare( PHP_VERSION, '5.6.0', '<' ) ) {
if ( version_compare( PHP_VERSION, '7.0.0', '<' ) ) {
return;
}

Expand Down

0 comments on commit 7c9fd1a

Please sign in to comment.