diff --git a/aliyun-oss-wordpress.php b/aliyun-oss-wordpress.php index 34aebda..9961fd7 100644 --- a/aliyun-oss-wordpress.php +++ b/aliyun-oss-wordpress.php @@ -457,7 +457,7 @@ function oss_read_dir_queue($homePath, $uploadPath) $foundFiles = []; while (!$dirsToProcess->isEmpty()) { - list($currentDir, $relativeDir) = $dirsToProcess->dequeue(); + [$currentDir, $relativeDir] = $dirsToProcess->dequeue(); foreach (new DirectoryIterator($currentDir) as $fileInfo) { if ($fileInfo->isDot()) continue; diff --git a/readme.txt b/readme.txt index 9398ddc..153bf88 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Donate link: https://qq52o.me/sponsor.html Tags: oss, 阿里云, 对象存储, aliyun Requires at least: 4.6 Tested up to: 6.5 -Requires PHP: 7.0 +Requires PHP: 7.1 Stable tag: 1.4.13 License: Apache2.0 License URI: http://www.apache.org/licenses/LICENSE-2.0.html