[3.1.3] esc_js on subtab. #1575
This commit is contained in:
parent
c75e044399
commit
ff2b8e08f3
|
@ -403,7 +403,7 @@ if ( ! function_exists( 'woocommerce_settings' ) ) {
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
<?php if (isset($_GET['subtab']) && $_GET['subtab']) echo 'jQuery("div.subsubsub_section ul.subsubsub li a[href=#'.$_GET['subtab'].']").click();'; ?>
|
<?php if ( ! empty( $_GET['subtab'] ) ) echo 'jQuery("div.subsubsub_section ul.subsubsub li a[href=#' . esc_js( $_GET['subtab'] ) . ']").click();'; ?>
|
||||||
|
|
||||||
// Countries
|
// Countries
|
||||||
jQuery('select#woocommerce_allowed_countries').change(function(){
|
jQuery('select#woocommerce_allowed_countries').change(function(){
|
||||||
|
|
Loading…
Reference in New Issue