WP PLUGIN プラグイン削除時のパラメータ削除とCSS調整

・投稿のソート用カスタムフィールドのキーについて、他システム等の競合を避け且つアンインストール時に前方一致で削除可能となるよう接頭辞を追加(接頭辞はプログラム側で持つため、管理画面上は表示しない)
・プラグイン削除時、オプションやカスタムフィールドを全削除するよう修正
・標準+カスタムフィールドソートの横並びを修正
This commit is contained in:
2021-06-15 19:06:08 +09:00
parent e15a46eec4
commit e3c8fc967c
9 changed files with 87 additions and 55 deletions
+12 -8
View File
@@ -29,10 +29,12 @@ $submit_type = APOP_UI::input_post_filter( 'apop_submit_type', 'str' );
<div class="sort_box">
<?php list( $list, $alert ) = APOP_UI::create_search_normal_list( 'normal' ); ?>
<?php echo $alert; ?>
<h4>有効</h4>
<ul class="post-order-list search_normal_sort">
<?php echo $list; ?>
</ul>
<div class="enable_box">
<h4>有効</h4>
<ul class="post-order-list search_normal_sort">
<?php echo $list; ?>
</ul>
</div>
<div class="disable_box">
<h4>無効</h4>
<ul class="disable_normal_list"></ul>
@@ -60,10 +62,12 @@ $submit_type = APOP_UI::input_post_filter( 'apop_submit_type', 'str' );
<div class="sort_box">
<?php list( $list, $alert ) = APOP_UI::create_search_normal_list( 'search' ); ?>
<?php echo $alert; ?>
<h4>有効</h4>
<ul class="post-order-list search_normal_sort">
<?php echo $list; ?>
</ul>
<div class="enable_box">
<h4>有効</h4>
<ul class="post-order-list search_normal_sort">
<?php echo $list; ?>
</ul>
</div>
<div class="disable_box">
<h4>無効</h4>
<ul class="disable_normal_list"></ul>