diff --git a/aliyun-oss-wordpress.php b/aliyun-oss-wordpress.php index e083b56..e8cd6b4 100644 --- a/aliyun-oss-wordpress.php +++ b/aliyun-oss-wordpress.php @@ -3,7 +3,7 @@ Plugin Name: OSS Aliyun Plugin URI: https://github.com/sy-records/aliyun-oss-wordpress Description: 使用阿里云对象存储 OSS 作为附件存储空间。(This is a plugin that uses Aliyun Object Storage Service for attachments remote saving.) -Version: 1.2.3 +Version: 1.2.4 Author: 沈唁 Author URI: https://qq52o.me License: Apache 2.0 @@ -14,7 +14,7 @@ require_once 'sdk/vendor/autoload.php'; use OSS\OssClient; use OSS\Core\OssException; -define('OSS_VERSION', '1.2.3'); +define('OSS_VERSION', '1.2.4'); define('OSS_BASEFOLDER', plugin_basename(dirname(__FILE__))); if (!function_exists('get_home_path')) { diff --git a/readme.txt b/readme.txt index d8ceb4d..56fbb6f 100644 --- a/readme.txt +++ b/readme.txt @@ -3,9 +3,9 @@ Contributors: shenyanzhi Donate link: https://qq52o.me/sponsor.html Tags: oss, 阿里云, 对象存储, aliyun Requires at least: 4.2 -Tested up to: 5.6 +Tested up to: 5.7 Requires PHP: 5.6.0 -Stable tag: 1.2.3 +Stable tag: 1.2.4 License: Apache 2.0 License URI: http://www.apache.org/licenses/LICENSE-2.0.html @@ -71,6 +71,10 @@ License URI: http://www.apache.org/licenses/LICENSE-2.0.html == Changelog == += 1.2.4 = +* 添加 get_home_path 方法判断 +* 支持 WordPress 5.7 版本 + = 1.2.3 = * 支持删除非图片类型文件