From 0d102684e3454687852d3cc687628a8d811eda1c Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 18 Jun 2021 12:58:28 +0900 Subject: [PATCH] =?UTF-8?q?WP=20PLUGIN=E3=80=80=E7=94=B3=E8=AB=8B=E6=8C=87?= =?UTF-8?q?=E6=91=98=E4=BA=8B=E9=A0=85=E3=81=AE=E5=86=8D=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ・メソッド名の修正 --- archive-post-order-plus.php | 6 +++--- readme.txt | 5 +---- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/archive-post-order-plus.php b/archive-post-order-plus.php index 70bd34c..6f2d85e 100644 --- a/archive-post-order-plus.php +++ b/archive-post-order-plus.php @@ -5,7 +5,7 @@ Plugin URI: https://www.n-k-y.net/wp_plugin_apop/ Author: Nobuhiro Kimura Author URI: https://www.n-k-y.net Description: 通常表示、検索表示、タクソノミー毎に投稿の表示順を設定するプラグイン -Version: 1.0.1 +Version: 1.0.0 License: GPLv2 */ @@ -35,8 +35,8 @@ $APOP = new APOP; new APOP_POST; //CSS, JSの読み込み -add_action( 'admin_enqueue_scripts', 'mtee_register_my_styles' ); -function mtee_register_my_styles() { +add_action( 'admin_enqueue_scripts', 'apop_register_my_styles' ); +function apop_register_my_styles() { wp_enqueue_style( 'hrc_post_style', APOP_PLUGIN_URL . 'css/apop-style.css' ); wp_enqueue_script( 'jquery-ui-sortable' ); wp_enqueue_script( 'post-sort-cat-order_js', APOP_PLUGIN_URL . 'js/apop-style.js' ); diff --git a/readme.txt b/readme.txt index f0eded1..7baddee 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: 投稿,表示順,投稿表示順,カテゴリー,タグ,カスタム分類 Requires at least: 4.9 Tested up to: 5.7.2 Requires PHP: 7.0 -Stable tag: 1.0.1 +Stable tag: 1.0.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -50,9 +50,6 @@ License URI: https://www.gnu.org/licenses/gpl-2.0.html = 1.0.0 = 初回リリース -= 1.0.1 = -関数名の修正と$_POSTのサニタイズとHTML出力のエスケープ - == Upgrade Notice == No information