You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 6, 2025. It is now read-only.
$expected_error_message = 'Invalid image: File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your php.ini or by post_max_size being defined as smaller than upload_max_filesize in php.ini.';
85
+
$expected_error_message = 'Invalid image: File is empty.';
Copy file name to clipboardExpand all lines: woocommerce-rest-api.php
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,8 @@
5
5
* Description: The WooCommerce core REST API, installed as a feature plugin for development and testing purposes. Requires WooCommerce 3.7+ and PHP 5.3+.
6
6
* Author: Automattic
7
7
* Author URI: https://woocommerce.com
8
-
* Version: 1.0.7
9
-
* Requires PHP: 5.6
8
+
* Version: 1.0.8
9
+
* Requires PHP: 7.0
10
10
* License: GPLv3
11
11
*
12
12
* @package Automattic/WooCommerce/RestApi
@@ -15,7 +15,7 @@
15
15
16
16
defined( 'ABSPATH' ) || exit;
17
17
18
-
if ( version_compare( PHP_VERSION, '5.6.0', '<' ) ) {
18
+
if ( version_compare( PHP_VERSION, '7.0.0', '<' ) ) {
0 commit comments