From 7861d7b95f80d722ee2a14b679ff10468256a563 Mon Sep 17 00:00:00 2001 From: Peter Fabian Date: Tue, 17 Apr 2018 13:24:39 +0200 Subject: [PATCH] Changed usage of selected with in_array to wc_selected. --- includes/admin/class-wc-admin-settings.php | 2 +- includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php | 4 ++-- includes/admin/meta-boxes/views/html-product-attribute.php | 2 +- includes/admin/reports/class-wc-report-coupon-usage.php | 2 +- .../views/html-admin-page-shipping-zone-methods.php | 6 +++--- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/includes/admin/class-wc-admin-settings.php b/includes/admin/class-wc-admin-settings.php index 1baf78704ff..14540d93af0 100644 --- a/includes/admin/class-wc-admin-settings.php +++ b/includes/admin/class-wc-admin-settings.php @@ -612,7 +612,7 @@ if ( ! class_exists( 'WC_Admin_Settings', false ) ) : $val ) { - echo ''; + echo ''; } } ?> diff --git a/includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php b/includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php index e0e844bac86..65008f27334 100644 --- a/includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php +++ b/includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php @@ -224,7 +224,7 @@ class WC_Meta_Box_Coupon_Data { if ( $categories ) { foreach ( $categories as $cat ) { - echo ''; + echo ''; } } ?> @@ -241,7 +241,7 @@ class WC_Meta_Box_Coupon_Data { if ( $categories ) { foreach ( $categories as $cat ) { - echo ''; + echo ''; } } ?> diff --git a/includes/admin/meta-boxes/views/html-product-attribute.php b/includes/admin/meta-boxes/views/html-product-attribute.php index 600cacbb6aa..b3b846f8385 100644 --- a/includes/admin/meta-boxes/views/html-product-attribute.php +++ b/includes/admin/meta-boxes/views/html-product-attribute.php @@ -48,7 +48,7 @@ if ( ! defined( 'ABSPATH' ) ) { foreach ( $all_terms as $term ) { $options = $attribute->get_options(); $options = ! empty( $options ) ? $options : array(); - echo ''; + echo ''; } } ?> diff --git a/includes/admin/reports/class-wc-report-coupon-usage.php b/includes/admin/reports/class-wc-report-coupon-usage.php index d17379da025..59141e02b05 100644 --- a/includes/admin/reports/class-wc-report-coupon-usage.php +++ b/includes/admin/reports/class-wc-report-coupon-usage.php @@ -210,7 +210,7 @@ class WC_Report_Coupon_Usage extends WC_Admin_Report { coupon_codes ), true, false ) . '>' . esc_html( $coupon ) . ''; + echo ''; } ?> diff --git a/includes/admin/settings/views/html-admin-page-shipping-zone-methods.php b/includes/admin/settings/views/html-admin-page-shipping-zone-methods.php index b6034452335..078de7544b3 100644 --- a/includes/admin/settings/views/html-admin-page-shipping-zone-methods.php +++ b/includes/admin/settings/views/html-admin-page-shipping-zone-methods.php @@ -38,16 +38,16 @@ if ( ! defined( 'ABSPATH' ) ) {