From 9691b7987e947ace44b013bf77d0e923f7917335 Mon Sep 17 00:00:00 2001 From: William Chong Date: Mon, 29 Aug 2022 20:24:33 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=9A=91=EF=B8=8F=20Fix=20rest=20handle?= =?UTF-8?q?r=20name=20mismatch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- likecoin/admin/view/restful.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/likecoin/admin/view/restful.php b/likecoin/admin/view/restful.php index 05dd43ad..8d8e7cbd 100644 --- a/likecoin/admin/view/restful.php +++ b/likecoin/admin/view/restful.php @@ -151,7 +151,7 @@ function likecoin_post_site_publish_options_data( $request ) { * * @param WP_REST_Request $request Full data about the request. */ -function likecoin_login_to_matters( $request ) { +function likecoin_login_matters( $request ) { $params = $request->get_json_params(); $matters_id = $params['mattersId']; $matters_password = $params['mattersPassword']; From f832c36833ec4c257772a7275717b46903025547 Mon Sep 17 00:00:00 2001 From: William Chong Date: Tue, 30 Aug 2022 15:46:30 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=94=96=202.5.7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- likecoin/likecoin.php | 4 ++-- likecoin/readme.txt | 6 +++++- package-lock.json | 2 +- package.json | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/likecoin/likecoin.php b/likecoin/likecoin.php index 69525109..8464abc0 100644 --- a/likecoin/likecoin.php +++ b/likecoin/likecoin.php @@ -13,7 +13,7 @@ * Plugin Name: LikeCoin * Plugin URI: https://github.com/likecoin/likecoin-wordpress * Description: Integrate your Liker ID, add LikeCoin Button and decentralized publishing to WordPress. - * Version: 2.5.6 + * Version: 2.5.7 * Author: LikeCoin * Author URI: https://like.co/ * License: GPLv3 @@ -41,7 +41,7 @@ define( 'LC_DIR', plugin_dir_path( __FILE__ ) ); define( 'LC_PLUGIN_SLUG', 'likecoin' ); define( 'LC_PLUGIN_NAME', 'LikeCoin' ); -define( 'LC_PLUGIN_VERSION', '2.5.6' ); +define( 'LC_PLUGIN_VERSION', '2.5.7' ); require_once dirname( __FILE__ ) . '/includes/constant/options.php'; require_once dirname( __FILE__ ) . '/public/likecoin.php'; diff --git a/likecoin/readme.txt b/likecoin/readme.txt index 5f4f0d9e..a5868415 100644 --- a/likecoin/readme.txt +++ b/likecoin/readme.txt @@ -6,7 +6,7 @@ Donate link: https://github.com/sponsors/likecoin Requires at least: 5.0 Tested up to: 6.0 Requires PHP: 5.4 -Stable tag: 2.5.6 +Stable tag: 2.5.7 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -140,6 +140,10 @@ Configure LikeCoin button to appear at anywhere of the articles - use the shortc == Changelog == += 2.5.7 = + +- Fix issue with login to matters + = 2.5.6 = - Refactor restful API diff --git a/package-lock.json b/package-lock.json index 464edb6e..49355fa2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "likecoin-wordpress", - "version": "2.5.4", + "version": "2.5.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index ecfe6152..c73bbdbc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "likecoin-wordpress", - "version": "2.5.5", + "version": "2.5.7", "description": "", "engines": { "node": ">=14"