WP PLUGIN 申請指摘事項の再修正
・echoのエスケープ ・メソッドの変数をエスケープ
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
<?php foreach ( $tax_lists as $tax_key => $tax_list ) : ?>
|
||||
<div class="list-orders-outer">
|
||||
<?php if ( count( $tax_list ) > 0 ): ?>
|
||||
<?php echo APOP_UI::none_registered_alert_msg(); ?>
|
||||
<div class="no_registered_exp">■は未登録項目です。ドラッグして並び順を変更後に「変更を保存」をクリックしてください。</div>
|
||||
<?php foreach ( $tax_list as $tax_data ): ?>
|
||||
<div class="list-orders-inner">
|
||||
<h3><?php echo esc_html($tax_data->name); ?></h3>
|
||||
<h3><?php echo esc_html( $tax_data->name ); ?></h3>
|
||||
<?php
|
||||
$order_target_data = get_option( '_apop_tax_sort_type' );
|
||||
if ( isset( $order_target_data[ $tax_data->term_id ] ) ) {
|
||||
@@ -15,17 +15,17 @@
|
||||
}
|
||||
?>
|
||||
<ul class="sort_menu_list"
|
||||
data-order_target="<?php echo esc_html($order_target); ?>">
|
||||
data-order_target="<?php echo esc_html( $order_target ); ?>">
|
||||
<li>
|
||||
<label>
|
||||
<input class="sort_menu" type="radio"
|
||||
name="_apop_tax_sort_type[<?php echo esc_html($tax_data->term_id); ?>]"
|
||||
name="_apop_tax_sort_type[<?php echo esc_html( $tax_data->term_id ); ?>]"
|
||||
value="1"<?php checked( $order_target, 1 ); ?>>ドラッグソート</label>
|
||||
</li>
|
||||
<li>
|
||||
<label>
|
||||
<input class="sort_menu" type="radio"
|
||||
name="_apop_tax_sort_type[<?php echo esc_html($tax_data->term_id); ?>]"
|
||||
name="_apop_tax_sort_type[<?php echo esc_html( $tax_data->term_id ); ?>]"
|
||||
value="2"<?php checked( $order_target, 2 ); ?>>標準+カスタムフィールドソート</label>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -37,7 +37,7 @@
|
||||
</div>
|
||||
<div class="sort_box">
|
||||
<?php list( $list, $alert ) = APOP_UI::create_search_normal_list( 'tax', $tax_data->term_id ); ?>
|
||||
<?php echo $alert; ?>
|
||||
<p><?php echo esc_html( $alert ); ?></p>
|
||||
<div class="enable_box">
|
||||
<h4>有効</h4>
|
||||
<ul class="post-order-list search_normal_sort">
|
||||
@@ -52,7 +52,7 @@
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<?php else: ?>
|
||||
<?php echo APOP_UI::create_none_select_msg( $tax_title_text ); ?>
|
||||
<p class="no_registered_exp">並べ替えをカスタマイズする<?php echo esc_html( $tax_title_text ); ?>は選択されていません。</p>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
|
||||
Reference in New Issue
Block a user