Skip to content

Commit

Permalink
Remove @ from $customSeparator
Browse files Browse the repository at this point in the history
Aliyun OSS has chenged the rule of custom separator

#107
  • Loading branch information
yiichou committed Sep 25, 2022
1 parent 5c42fe1 commit 227cda9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion aliyun-oss.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/

Expand Down
2 changes: 1 addition & 1 deletion src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 227cda9

Please sign in to comment.