diff --git a/includes/admin/class-wc-admin-attributes.php b/includes/admin/class-wc-admin-attributes.php index 22cafc4f77c..bd8467c50ad 100644 --- a/includes/admin/class-wc-admin-attributes.php +++ b/includes/admin/class-wc-admin-attributes.php @@ -173,7 +173,7 @@ class WC_Admin_Attributes { echo '

' . esc_html__( 'Error: non-existing attribute ID.', 'woocommerce' ) . '

'; } else { $att_type = $attribute_to_edit->attribute_type; - $att_label = $attribute_to_edit->attribute_label; + $att_label = format_to_edit( $attribute_to_edit->attribute_label ); $att_name = $attribute_to_edit->attribute_name; $att_orderby = $attribute_to_edit->attribute_orderby; $att_public = $attribute_to_edit->attribute_public; diff --git a/includes/export/abstract-wc-csv-exporter.php b/includes/export/abstract-wc-csv-exporter.php index 4b867b3daa1..57c7fdbba76 100644 --- a/includes/export/abstract-wc-csv-exporter.php +++ b/includes/export/abstract-wc-csv-exporter.php @@ -379,7 +379,6 @@ abstract class WC_CSV_Exporter { } $use_mb = function_exists( 'mb_convert_encoding' ); - $data = (string) urldecode( $data ); if ( $use_mb ) { $encoding = mb_detect_encoding( $data, 'UTF-8, ISO-8859-1', true );