From 227cda968c13146a0bb7a75ec030e8fe7a3ef7a9 Mon Sep 17 00:00:00 2001 From: iChou Date: Sun, 25 Sep 2022 17:26:33 +0800 Subject: [PATCH] Remove `@` from $customSeparator Aliyun OSS has chenged the rule of custom separator https://github.com/yiichou/aliyun-oss-support/issues/107 --- CHANGELOG.md | 12 ++++++++++++ aliyun-oss.php | 2 +- src/Config.php | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index be81b05..46da3e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,18 @@ ## ChangeLog - 阿里云附件存储 ____________________ +### 版本号: 3.4.1 + +修正日期:2022-09-25 + +1. 移除图片服务「自定义分隔符」中默认的 `@` #107 + +修正日期:2022-09-25 + +1. 升级 aliyun-oss-php-sdk +2. 移除 plugin-update-checker +3. 移除对 PHPMailer 的依赖 + ### 版本号: 3.3.0 修正日期:2021-11-24 diff --git a/aliyun-oss.php b/aliyun-oss.php index c12a834..ba6a08f 100644 --- a/aliyun-oss.php +++ b/aliyun-oss.php @@ -4,7 +4,7 @@ * Description: 使用阿里云 OSS 作为附件的存储空间。 This is a plugin that used Aliyun OSS for attachments remote saving. * Author: Ivan Chou * Author URI: https://yii.im/ - * Version: 3.4.0 + * Version: 3.4.1 * Updated_at: 2022-09-25 */ diff --git a/src/Config.php b/src/Config.php index d1d1762..4d39511 100644 --- a/src/Config.php +++ b/src/Config.php @@ -74,7 +74,7 @@ public static function init($plugin_path = "") } if (!empty($options['custom_separator'])) { - self::$customSeparator = "@{$options['custom_separator']}"; + self::$customSeparator = "{$options['custom_separator']}"; } $wp_upload_dir = wp_upload_dir();