From 0fc6d4e20c5d5086d064ae447f1ccf9c004fcfd7 Mon Sep 17 00:00:00 2001 From: Peter Fabian Date: Fri, 13 Apr 2018 10:26:37 +0200 Subject: [PATCH] Fix strict comparison for normal select, too. --- includes/admin/wc-meta-box-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/admin/wc-meta-box-functions.php b/includes/admin/wc-meta-box-functions.php index 8d11226b16d..569f505a26b 100644 --- a/includes/admin/wc-meta-box-functions.php +++ b/includes/admin/wc-meta-box-functions.php @@ -230,7 +230,7 @@ function woocommerce_wp_select( $field ) { // The $key from $field['options'] could have been converted to integer automatically by PHP, // thus the comparison needs to check both $key and (string) $key in case $field['value'] is an array // with string values. - echo ''; + echo ''; } ?>