Changeset 2685573
- Timestamp:
- 02/27/2022 11:41:57 AM (4 years ago)
- Location:
- wpstoreapp-spellcheck
- Files:
-
- 6 deleted
- 14 edited
- 1 copied
-
tags/0.0.4 (copied) (copied from wpstoreapp-spellcheck/trunk)
-
tags/0.0.4/.distignore (deleted)
-
tags/0.0.4/.github (deleted)
-
tags/0.0.4/.gitignore (deleted)
-
tags/0.0.4/WPStoreApp_API.php (modified) (4 diffs)
-
tags/0.0.4/WPStoreApp_Gutenberg.php (modified) (1 diff)
-
tags/0.0.4/WPStoreApp_Option.php (modified) (1 diff)
-
tags/0.0.4/build/index.asset.php (modified) (1 diff)
-
tags/0.0.4/build/index.js (modified) (1 diff)
-
tags/0.0.4/readme.txt (modified) (2 diffs)
-
tags/0.0.4/wpstore-spellcheck.php (modified) (2 diffs)
-
trunk/.distignore (deleted)
-
trunk/.github (deleted)
-
trunk/.gitignore (deleted)
-
trunk/WPStoreApp_API.php (modified) (4 diffs)
-
trunk/WPStoreApp_Gutenberg.php (modified) (1 diff)
-
trunk/WPStoreApp_Option.php (modified) (1 diff)
-
trunk/build/index.asset.php (modified) (1 diff)
-
trunk/build/index.js (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/wpstore-spellcheck.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wpstoreapp-spellcheck/tags/0.0.4/WPStoreApp_API.php
r2685542 r2685573 1 1 <?php 2 namespace WPStoreApp\SpellCheck; 3 2 4 3 5 if(!class_exists( "WPStoreApp_API" )){ … … 11 13 'methods' => 'POST', 12 14 'callback' => [WPStoreApp_API::class,'process_request'], 13 'permission_callback' => '__return_true',15 'permission_callback' => [WPStoreApp_API::class,'permission_check'], 14 16 )); 15 17 } … … 17 19 public static function process_request($request) { 18 20 if ( ! get_option( 'wpstore_spellcheck_token' ) ) { 19 return new WP_REST_Response( [21 return new \WP_REST_Response( [ 20 22 'code' => 1, 21 23 'msg' => '请先完成 Token 设置' … … 34 36 ] ); 35 37 36 return new WP_REST_Response( json_decode( $response['body'], true ) );38 return new \WP_REST_Response( json_decode( $response['body'], true ) ); 37 39 } 38 } 40 41 public static function permission_check( ) { 42 if ( ! current_user_can( 'edit_posts' ) ) { 43 return new \WP_Error( 'rest_forbidden', "你没有权限执行此操作哦~", array( 'status' => 401 ) ); 44 } 45 return true; 46 } 47 } 39 48 } -
wpstoreapp-spellcheck/tags/0.0.4/WPStoreApp_Gutenberg.php
r2685542 r2685573 1 1 <?php 2 namespace WPStoreApp\SpellCheck; 2 3 3 4 if(!class_exists( "WPStoreApp_Gutenberg" )){ -
wpstoreapp-spellcheck/tags/0.0.4/WPStoreApp_Option.php
r2685542 r2685573 1 1 <?php 2 2 namespace WPStoreApp\SpellCheck; 3 3 if ( ! class_exists( "WPStoreApp_Option" ) ) { 4 4 class WPStoreApp_Option { -
wpstoreapp-spellcheck/tags/0.0.4/build/index.asset.php
r2685542 r2685573 1 <?php return array('dependencies' => array('wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-edit-post', 'wp-element', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => ' 074af1f03b1085936ff1af08f2e99946');1 <?php return array('dependencies' => array('wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-edit-post', 'wp-element', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => 'b3eb5133725eab8ff3d53f287392b4a7'); -
wpstoreapp-spellcheck/tags/0.0.4/build/index.js
r2685542 r2685573 1 !function(){"use strict";var e={n:function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,{a:n}),n},d:function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},t=window.wp.element,n=window.wp.editPost,r=window.wp.plugins,l=window.wp.components,a=window.wp.primitives,o=(0,t.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,t.createElement)(a.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})),c=window.wp.apiFetch,i=e.n(c), d=window.wp.data,s=window.wp.blocks,u=window.wp.compose;(0,r.registerPlugin)("chinese-spell-check",{icon:o,render:()=>{const[e,r]=(0,t.useState)([]),[a,o]=(0,t.useState)(0),c=(0,u.useDebounce)((0,t.useCallback)((()=>{const e=(0,d.select)("core/editor"),t=(0,s.parse)(e.getEditedPostContent());if(0===t.length)return;const n=t.map((e=>"core/paragraph"===e.name||"core/heading"===e.name?e.attributes.content.length:0)).reduce(((e,t)=>e+t));o(n)})),500);return(0,d.subscribe)(c),(0,t.createElement)(t.Fragment,null,(0,t.createElement)(n.PluginSidebarMoreMenuItem,{target:"sidebar-name"},"中文语法检查"),(0,t.createElement)(n.PluginSidebar,{name:"chinese-spell-check",title:"中文语法检查"},(0,t.createElement)(l.Panel,null,(0,t.createElement)(l.PanelBody,{title:"文章基本信息",opened:!0},(0,t.createElement)(l.PanelRow,null,(0,t.createElement)(l.Tip,null,(0,t.createElement)("p",null,"当前仅支持全文检查"))),(0,t.createElement)(l.PanelRow,null,"本文全文共",a,"字"),(0,t.createElement)(l.PanelRow,null,(0,t.createElement)(l.Button,{variant:"primary",style:{},onClick:async()=>{r([]);const e=(0,d.select)("core/editor"),t=(0,s.parse)(e.getEditedPostContent()).map((e=>"core/paragraph"===e.name||"core/heading"===e.name?e.attributes.content:0)).reduce(((e,t)=>e+t)),n=await i()({path:"chinese-spell-check/v1/check",method:"POST",data:{content:t}});0==n.code?n.data.length&&r(n.data):alert(n.msg)}},"检查全文"))),(0,t.createElement)(l.PanelBody,{title:"拼写检查结果",opened:!0},(()=>{const n={char:"别字",word:"错词",redund:"冗余",order:"乱序",miss:"缺失",dapei:"搭配",punc:"标点",idm:"成语",org_R:"机构名字词冗余",leader:"领导人"};return 0===e.length?(0,t.createElement)(l.PanelRow,null,"暂无结果,请点击上方检查全文获取检查结果"):e.map((e=>(0,t.createElement)(l.PanelRow,null,(0,t.createElement)("div",null,(0,t.createElement)(l.Icon,{icon:(0,t.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",style:{verticalAlign:"middle"},fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},(0,t.createElement)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})),size:24}),(0,t.createElement)("strong",null,n[e[3]])),(0,t.createElement)("div",null,(0,t.createElement)("mark",null,e[1]),"应改为",(0,t.createElement)("mark",null,e[2]?e[2]:"__")))))})))))}})}();1 !function(){"use strict";var e={n:function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,{a:n}),n},d:function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},t=window.wp.element,n=window.wp.editPost,r=window.wp.plugins,l=window.wp.components,a=window.wp.primitives,o=(0,t.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,t.createElement)(a.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})),c=window.wp.apiFetch,i=e.n(c),s=window.wp.data,d=window.wp.blocks,m=window.wp.compose;(0,r.registerPlugin)("chinese-spell-check",{icon:o,render:()=>{const[e,r]=(0,t.useState)([]),[a,o]=(0,t.useState)(0),c=(0,m.useDebounce)((0,t.useCallback)((()=>{const e=(0,s.select)("core/editor"),t=(0,d.parse)(e.getEditedPostContent());if(0===t.length)return;const n=t.map((e=>"core/paragraph"===e.name||"core/heading"===e.name?e.attributes.content.length:0)).reduce(((e,t)=>e+t));o(n)})),500);return(0,s.subscribe)(c),(0,t.createElement)(t.Fragment,null,(0,t.createElement)(n.PluginSidebarMoreMenuItem,{target:"sidebar-name"},"中文语法检查"),(0,t.createElement)(n.PluginSidebar,{name:"chinese-spell-check",title:"中文语法检查"},(0,t.createElement)(l.Panel,null,(0,t.createElement)(l.PanelBody,{title:"文章基本信息",opened:!0},(0,t.createElement)(l.PanelRow,null,(0,t.createElement)(l.Tip,null,(0,t.createElement)("p",null,"当前仅支持全文检查"))),(0,t.createElement)(l.PanelRow,null,"本文全文共",a,"字"),(0,t.createElement)(l.PanelRow,null,(0,t.createElement)(l.Button,{variant:"primary",style:{},onClick:async()=>{r([]);const e=(0,s.select)("core/editor"),t=(0,d.parse)(e.getEditedPostContent()).map((e=>"core/paragraph"===e.name||"core/heading"===e.name?e.attributes.content:0)).reduce(((e,t)=>e+t));try{const e=await i()({path:"chinese-spell-check/v1/check",method:"POST",data:{content:t}});0==e.code?e.data.length&&r(e.data):alert(e.msg)}catch(e){alert(e.message)}}},"检查全文"))),(0,t.createElement)(l.PanelBody,{title:"拼写检查结果",opened:!0},(()=>{const n={char:"别字",word:"错词",redund:"冗余",order:"乱序",miss:"缺失",dapei:"搭配",punc:"标点",idm:"成语",org_R:"机构名字词冗余",leader:"领导人"};return 0===e.length?(0,t.createElement)(l.PanelRow,null,"暂无结果,请点击上方检查全文获取检查结果"):e.map((e=>(0,t.createElement)(l.PanelRow,null,(0,t.createElement)("div",null,(0,t.createElement)(l.Icon,{icon:(0,t.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",style:{verticalAlign:"middle"},fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},(0,t.createElement)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})),size:24}),(0,t.createElement)("strong",null,n[e[3]])),(0,t.createElement)("div",null,(0,t.createElement)("mark",null,e[1]),"应改为",(0,t.createElement)("mark",null,e[2]?e[2]:"__")))))})))))}})}(); -
wpstoreapp-spellcheck/tags/0.0.4/readme.txt
r2685542 r2685573 5 5 Requires at least: 5.0 6 6 Tested up to: 5.9 7 Stable tag: 0.0. 37 Stable tag: 0.0.4 8 8 Requires PHP: 8.0 9 9 License: GPLv2 … … 39 39 == Changelog == 40 40 41 = 0.0.4 = 42 1. 修复一处权限安全问题 43 44 = 0.0.3 = 45 1. 新增常用链接 46 2. 解决了编辑器导致的性能问题 47 41 48 = 0.0.1 = 42 49 1. 初始化项目 -
wpstoreapp-spellcheck/tags/0.0.4/wpstore-spellcheck.php
r2685542 r2685573 4 4 Plugin URI: https://www.wpstore.app/?p=291 5 5 Description: 为中国作者定制的中文语法检查插件,识别你的文章中的「的地得」错误,帮你纠正文章中的基本错误。 6 Version: 0.0. 36 Version: 0.0.4 7 7 Author: WPStore.app Team 8 8 Author URI: https://wpstore.app … … 18 18 require_once "WPStoreApp_API.php"; 19 19 require_once "WPStoreApp_Gutenberg.php"; 20 20 21 class WPStoreApp_SpellCheck 21 22 { 22 23 public function init() 23 24 { 24 WPStoreApp_Option::init();25 WPStoreApp_API::init();26 WPStoreApp_Gutenberg::init();25 \WPStoreApp\SpellCheck\WPStoreApp_Option::init(); 26 \WPStoreApp\SpellCheck\WPStoreApp_API::init(); 27 \WPStoreApp\SpellCheck\WPStoreApp_Gutenberg::init(); 27 28 } 28 29 } -
wpstoreapp-spellcheck/trunk/WPStoreApp_API.php
r2685542 r2685573 1 1 <?php 2 namespace WPStoreApp\SpellCheck; 3 2 4 3 5 if(!class_exists( "WPStoreApp_API" )){ … … 11 13 'methods' => 'POST', 12 14 'callback' => [WPStoreApp_API::class,'process_request'], 13 'permission_callback' => '__return_true',15 'permission_callback' => [WPStoreApp_API::class,'permission_check'], 14 16 )); 15 17 } … … 17 19 public static function process_request($request) { 18 20 if ( ! get_option( 'wpstore_spellcheck_token' ) ) { 19 return new WP_REST_Response( [21 return new \WP_REST_Response( [ 20 22 'code' => 1, 21 23 'msg' => '请先完成 Token 设置' … … 34 36 ] ); 35 37 36 return new WP_REST_Response( json_decode( $response['body'], true ) );38 return new \WP_REST_Response( json_decode( $response['body'], true ) ); 37 39 } 38 } 40 41 public static function permission_check( ) { 42 if ( ! current_user_can( 'edit_posts' ) ) { 43 return new \WP_Error( 'rest_forbidden', "你没有权限执行此操作哦~", array( 'status' => 401 ) ); 44 } 45 return true; 46 } 47 } 39 48 } -
wpstoreapp-spellcheck/trunk/WPStoreApp_Gutenberg.php
r2685542 r2685573 1 1 <?php 2 namespace WPStoreApp\SpellCheck; 2 3 3 4 if(!class_exists( "WPStoreApp_Gutenberg" )){ -
wpstoreapp-spellcheck/trunk/WPStoreApp_Option.php
r2685542 r2685573 1 1 <?php 2 2 namespace WPStoreApp\SpellCheck; 3 3 if ( ! class_exists( "WPStoreApp_Option" ) ) { 4 4 class WPStoreApp_Option { -
wpstoreapp-spellcheck/trunk/build/index.asset.php
r2685542 r2685573 1 <?php return array('dependencies' => array('wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-edit-post', 'wp-element', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => ' 074af1f03b1085936ff1af08f2e99946');1 <?php return array('dependencies' => array('wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-edit-post', 'wp-element', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => 'b3eb5133725eab8ff3d53f287392b4a7'); -
wpstoreapp-spellcheck/trunk/build/index.js
r2685542 r2685573 1 !function(){"use strict";var e={n:function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,{a:n}),n},d:function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},t=window.wp.element,n=window.wp.editPost,r=window.wp.plugins,l=window.wp.components,a=window.wp.primitives,o=(0,t.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,t.createElement)(a.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})),c=window.wp.apiFetch,i=e.n(c), d=window.wp.data,s=window.wp.blocks,u=window.wp.compose;(0,r.registerPlugin)("chinese-spell-check",{icon:o,render:()=>{const[e,r]=(0,t.useState)([]),[a,o]=(0,t.useState)(0),c=(0,u.useDebounce)((0,t.useCallback)((()=>{const e=(0,d.select)("core/editor"),t=(0,s.parse)(e.getEditedPostContent());if(0===t.length)return;const n=t.map((e=>"core/paragraph"===e.name||"core/heading"===e.name?e.attributes.content.length:0)).reduce(((e,t)=>e+t));o(n)})),500);return(0,d.subscribe)(c),(0,t.createElement)(t.Fragment,null,(0,t.createElement)(n.PluginSidebarMoreMenuItem,{target:"sidebar-name"},"中文语法检查"),(0,t.createElement)(n.PluginSidebar,{name:"chinese-spell-check",title:"中文语法检查"},(0,t.createElement)(l.Panel,null,(0,t.createElement)(l.PanelBody,{title:"文章基本信息",opened:!0},(0,t.createElement)(l.PanelRow,null,(0,t.createElement)(l.Tip,null,(0,t.createElement)("p",null,"当前仅支持全文检查"))),(0,t.createElement)(l.PanelRow,null,"本文全文共",a,"字"),(0,t.createElement)(l.PanelRow,null,(0,t.createElement)(l.Button,{variant:"primary",style:{},onClick:async()=>{r([]);const e=(0,d.select)("core/editor"),t=(0,s.parse)(e.getEditedPostContent()).map((e=>"core/paragraph"===e.name||"core/heading"===e.name?e.attributes.content:0)).reduce(((e,t)=>e+t)),n=await i()({path:"chinese-spell-check/v1/check",method:"POST",data:{content:t}});0==n.code?n.data.length&&r(n.data):alert(n.msg)}},"检查全文"))),(0,t.createElement)(l.PanelBody,{title:"拼写检查结果",opened:!0},(()=>{const n={char:"别字",word:"错词",redund:"冗余",order:"乱序",miss:"缺失",dapei:"搭配",punc:"标点",idm:"成语",org_R:"机构名字词冗余",leader:"领导人"};return 0===e.length?(0,t.createElement)(l.PanelRow,null,"暂无结果,请点击上方检查全文获取检查结果"):e.map((e=>(0,t.createElement)(l.PanelRow,null,(0,t.createElement)("div",null,(0,t.createElement)(l.Icon,{icon:(0,t.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",style:{verticalAlign:"middle"},fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},(0,t.createElement)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})),size:24}),(0,t.createElement)("strong",null,n[e[3]])),(0,t.createElement)("div",null,(0,t.createElement)("mark",null,e[1]),"应改为",(0,t.createElement)("mark",null,e[2]?e[2]:"__")))))})))))}})}();1 !function(){"use strict";var e={n:function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,{a:n}),n},d:function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},t=window.wp.element,n=window.wp.editPost,r=window.wp.plugins,l=window.wp.components,a=window.wp.primitives,o=(0,t.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,t.createElement)(a.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})),c=window.wp.apiFetch,i=e.n(c),s=window.wp.data,d=window.wp.blocks,m=window.wp.compose;(0,r.registerPlugin)("chinese-spell-check",{icon:o,render:()=>{const[e,r]=(0,t.useState)([]),[a,o]=(0,t.useState)(0),c=(0,m.useDebounce)((0,t.useCallback)((()=>{const e=(0,s.select)("core/editor"),t=(0,d.parse)(e.getEditedPostContent());if(0===t.length)return;const n=t.map((e=>"core/paragraph"===e.name||"core/heading"===e.name?e.attributes.content.length:0)).reduce(((e,t)=>e+t));o(n)})),500);return(0,s.subscribe)(c),(0,t.createElement)(t.Fragment,null,(0,t.createElement)(n.PluginSidebarMoreMenuItem,{target:"sidebar-name"},"中文语法检查"),(0,t.createElement)(n.PluginSidebar,{name:"chinese-spell-check",title:"中文语法检查"},(0,t.createElement)(l.Panel,null,(0,t.createElement)(l.PanelBody,{title:"文章基本信息",opened:!0},(0,t.createElement)(l.PanelRow,null,(0,t.createElement)(l.Tip,null,(0,t.createElement)("p",null,"当前仅支持全文检查"))),(0,t.createElement)(l.PanelRow,null,"本文全文共",a,"字"),(0,t.createElement)(l.PanelRow,null,(0,t.createElement)(l.Button,{variant:"primary",style:{},onClick:async()=>{r([]);const e=(0,s.select)("core/editor"),t=(0,d.parse)(e.getEditedPostContent()).map((e=>"core/paragraph"===e.name||"core/heading"===e.name?e.attributes.content:0)).reduce(((e,t)=>e+t));try{const e=await i()({path:"chinese-spell-check/v1/check",method:"POST",data:{content:t}});0==e.code?e.data.length&&r(e.data):alert(e.msg)}catch(e){alert(e.message)}}},"检查全文"))),(0,t.createElement)(l.PanelBody,{title:"拼写检查结果",opened:!0},(()=>{const n={char:"别字",word:"错词",redund:"冗余",order:"乱序",miss:"缺失",dapei:"搭配",punc:"标点",idm:"成语",org_R:"机构名字词冗余",leader:"领导人"};return 0===e.length?(0,t.createElement)(l.PanelRow,null,"暂无结果,请点击上方检查全文获取检查结果"):e.map((e=>(0,t.createElement)(l.PanelRow,null,(0,t.createElement)("div",null,(0,t.createElement)(l.Icon,{icon:(0,t.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",style:{verticalAlign:"middle"},fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},(0,t.createElement)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})),size:24}),(0,t.createElement)("strong",null,n[e[3]])),(0,t.createElement)("div",null,(0,t.createElement)("mark",null,e[1]),"应改为",(0,t.createElement)("mark",null,e[2]?e[2]:"__")))))})))))}})}(); -
wpstoreapp-spellcheck/trunk/readme.txt
r2685542 r2685573 5 5 Requires at least: 5.0 6 6 Tested up to: 5.9 7 Stable tag: 0.0. 37 Stable tag: 0.0.4 8 8 Requires PHP: 8.0 9 9 License: GPLv2 … … 39 39 == Changelog == 40 40 41 = 0.0.4 = 42 1. 修复一处权限安全问题 43 44 = 0.0.3 = 45 1. 新增常用链接 46 2. 解决了编辑器导致的性能问题 47 41 48 = 0.0.1 = 42 49 1. 初始化项目 -
wpstoreapp-spellcheck/trunk/wpstore-spellcheck.php
r2685542 r2685573 4 4 Plugin URI: https://www.wpstore.app/?p=291 5 5 Description: 为中国作者定制的中文语法检查插件,识别你的文章中的「的地得」错误,帮你纠正文章中的基本错误。 6 Version: 0.0. 36 Version: 0.0.4 7 7 Author: WPStore.app Team 8 8 Author URI: https://wpstore.app … … 18 18 require_once "WPStoreApp_API.php"; 19 19 require_once "WPStoreApp_Gutenberg.php"; 20 20 21 class WPStoreApp_SpellCheck 21 22 { 22 23 public function init() 23 24 { 24 WPStoreApp_Option::init();25 WPStoreApp_API::init();26 WPStoreApp_Gutenberg::init();25 \WPStoreApp\SpellCheck\WPStoreApp_Option::init(); 26 \WPStoreApp\SpellCheck\WPStoreApp_API::init(); 27 \WPStoreApp\SpellCheck\WPStoreApp_Gutenberg::init(); 27 28 } 28 29 }
Note: See TracChangeset
for help on using the changeset viewer.