WP PLUGIN 申請指摘事項の修正
・$_POSTのサニタイズ ・echoのエスケープ ・readmeの修正
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<?php if ( isset( $order_target, $order_target_type ) ): ?>
|
||||
<ul class="sort_menu_list"
|
||||
data-order_target="<?php echo $order_target; ?>">
|
||||
data-order_target="<?php echo esc_html($order_target); ?>">
|
||||
<li><label>
|
||||
<input class="sort_menu" type="radio" name="<?php echo $order_target_type; ?>"
|
||||
<input class="sort_menu" type="radio" name="<?php echo esc_html($order_target_type); ?>"
|
||||
value="1"<?php checked( $order_target, 1 ); ?>>標準+カスタムフィールドソート</label></li>
|
||||
<li><label>
|
||||
<input class="sort_menu" type="radio" name="<?php echo $order_target_type; ?>"
|
||||
<input class="sort_menu" type="radio" name="<?php echo esc_html($order_target_type); ?>"
|
||||
value="2"<?php checked( $order_target, 2 ); ?>>ドラッグソート</label></li>
|
||||
</ul>
|
||||
<?php endif;
|
||||
Reference in New Issue
Block a user