Wrapped the class name in esc_attr
This commit is contained in:
parent
eaf8a09e82
commit
01578d55c9
|
@ -730,7 +730,7 @@ class WC_Admin_Setup_Wizard {
|
||||||
placeholder="<?php echo esc_attr( $setting['default_value'] ); ?>"
|
placeholder="<?php echo esc_attr( $setting['default_value'] ); ?>"
|
||||||
id="<?php echo esc_attr( $method_setting_id ); ?>"
|
id="<?php echo esc_attr( $method_setting_id ); ?>"
|
||||||
name="<?php echo esc_attr( $method_setting_id ); ?>"
|
name="<?php echo esc_attr( $method_setting_id ); ?>"
|
||||||
class="<?php echo $setting['required'] ? 'shipping-method-required-field' : ''; ?>"
|
class="<?php echo esc_attr( $setting['required'] ? 'shipping-method-required-field' : '' ); ?>"
|
||||||
<?php echo ( $method_id === $selected && $setting['required'] ) ? 'required' : ''; ?>
|
<?php echo ( $method_id === $selected && $setting['required'] ) ? 'required' : ''; ?>
|
||||||
/>
|
/>
|
||||||
<p class="description">
|
<p class="description">
|
||||||
|
|
Loading…
Reference in New Issue