WP PLUGIN 申請指摘事項の修正
・$_POSTのサニタイズ ・echoのエスケープ ・readmeの修正
This commit is contained in:
@@ -4,8 +4,8 @@ Plugin Name: Archive Post Order Plus
|
||||
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.0
|
||||
Description: 通常表示、検索表示、タクソノミー毎に投稿の表示順を設定するプラグイン
|
||||
Version: 1.0.1
|
||||
License: GPLv2
|
||||
*/
|
||||
|
||||
@@ -35,8 +35,8 @@ $APOP = new APOP;
|
||||
new APOP_POST;
|
||||
|
||||
//CSS, JSの読み込み
|
||||
add_action( 'admin_enqueue_scripts', 'register_my_styles' );
|
||||
function register_my_styles() {
|
||||
add_action( 'admin_enqueue_scripts', 'mtee_register_my_styles' );
|
||||
function mtee_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' );
|
||||
|
||||
Reference in New Issue
Block a user