From a2725b1f67a841b8dfd0689779c7e51b1dfa0d75 Mon Sep 17 00:00:00 2001
From: sy-records <52o@qq52o.cn>
Date: Tue, 14 Sep 2021 15:28:38 +0800
Subject: [PATCH] Add region
---
aliyun-oss-wordpress.php | 6 ++++--
readme.txt | 5 ++++-
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/aliyun-oss-wordpress.php b/aliyun-oss-wordpress.php
index 0cb452e..a080090 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.6
+Version: 1.2.7
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.6');
+define('OSS_VERSION', '1.2.7');
define('OSS_BASEFOLDER', plugin_basename(dirname(__FILE__)));
if (!function_exists('get_home_path')) {
@@ -545,8 +545,10 @@ function oss_setting_page()
+
+
diff --git a/readme.txt b/readme.txt
index eb54fdc..e33aa53 100644
--- a/readme.txt
+++ b/readme.txt
@@ -5,7 +5,7 @@ Tags: oss, 阿里云, 对象存储, aliyun
Requires at least: 4.2
Tested up to: 5.8
Requires PHP: 5.6.0
-Stable tag: 1.2.6
+Stable tag: 1.2.7
License: Apache 2.0
License URI: http://www.apache.org/licenses/LICENSE-2.0.html
@@ -71,6 +71,9 @@ License URI: http://www.apache.org/licenses/LICENSE-2.0.html
== Changelog ==
+= 1.2.7 =
+* 增加地域
+
= 1.2.6 =
* 升级 oss sdk
* 修复删除文件的request id异常