From 48b7d9dadd720b4cadc2d85de3a30309213b2f1c Mon Sep 17 00:00:00 2001 From: Eswink <1525566427@qq.com> Date: Tue, 19 Nov 2024 17:24:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=83=AD=E8=AF=8D=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/js/admin-hotspot-choices.js | 12 ++++++------ hotspot.php | 3 ++- readme.md | 8 ++++++-- readme.txt | 8 ++++++-- 4 files changed, 20 insertions(+), 11 deletions(-) diff --git a/assets/js/admin-hotspot-choices.js b/assets/js/admin-hotspot-choices.js index 0e11131..6848a50 100644 --- a/assets/js/admin-hotspot-choices.js +++ b/assets/js/admin-hotspot-choices.js @@ -12,7 +12,7 @@ let common_loaded = false, hot_loaded = false, common_se_pv = 1, - hot_se_pv = 2 + hot_se_pv = 1 common_id = 'common-words' hot_id = 'hotwords' @@ -152,14 +152,14 @@ '
  • ...
  • ' } - for (i of pages) { - content += `
  • ${i}
  • ` + for (let i of pages) { + content += `
  • + ${i} +
  • `; } content += `
  • ...
  • ` - content += `
  • ${page_end}
  • ` + content += `
  • ${page_end}
  • ` return content } diff --git a/hotspot.php b/hotspot.php index a50ff74..5c4f540 100644 --- a/hotspot.php +++ b/hotspot.php @@ -3,7 +3,7 @@ * Plugin Name: HotSpot AI 热点创作 * Description: 基于AI技术的WordPress插件,旨在帮助您分析获取全网热词并帮助构思和写作,提高您网站的整体权重 * Author: Eswlnk - * Version: 1.3.8 + * Version: 1.3.9 * Author URI: https://blog.eswlnk.com/ */ @@ -23,6 +23,7 @@ define('HOTSPOT_AI_SOURCE', plugin_basename(__FILE__)); } + // Include the other PHP files for different functionalities require_once plugin_dir_path(__FILE__) . 'inc/hotspot-admin-menu.php'; //注册菜单 diff --git a/readme.md b/readme.md index 521540a..c0b5a38 100644 --- a/readme.md +++ b/readme.md @@ -5,9 +5,9 @@ - Contributors: ersanwu - Tags: hotspot,writer,ai - Requires at least: 5.8 -- Tested up to: 6.4.1 +- Tested up to: 6.7 - Requires PHP: 7.4 -- Stable tag: 1.3.8 +- Stable tag: 1.3.9 - License: GNU General Public License v2.0 or later - License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -48,6 +48,10 @@ ## Changelog 更新日志 +1.3.9 + +> 1. 修复热词功能 + 1.3.8 > 1. 修复登录/注册验证码API接口 diff --git a/readme.txt b/readme.txt index f3af1b6..acc4700 100644 --- a/readme.txt +++ b/readme.txt @@ -6,11 +6,11 @@ Tags: hotspot,writer,ai Requires at least: 5.8 -Tested up to: 6.4.1 +Tested up to: 6.7 Requires PHP: 7.4 -Stable tag: 1.3.8 +Stable tag: 1.3.9 License: GNU General Public License v2.0 or later @@ -56,6 +56,10 @@ Hotspot使用机器学习算法来分析全网热词,自动生成观点、标 == Changelog == += 1.3.9 = + +1. 修复热词功能 + = 1.3.8 = 1. 修复验证码API接口