00d6775f77
・$_POSTのサニタイズ ・echoのエスケープ ・readmeの修正
11 lines
665 B
PHP
11 lines
665 B
PHP
<?php if ( isset( $order_target, $order_target_type ) ): ?>
|
|
<ul class="sort_menu_list"
|
|
data-order_target="<?php echo esc_html($order_target); ?>">
|
|
<li><label>
|
|
<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 esc_html($order_target_type); ?>"
|
|
value="2"<?php checked( $order_target, 2 ); ?>>ドラッグソート</label></li>
|
|
</ul>
|
|
<?php endif;
|