From 883ad9003ac7f403286caa468f345eae452b693e Mon Sep 17 00:00:00 2001 From: George Stephanis Date: Wed, 5 Aug 2015 14:08:15 -0400 Subject: [PATCH] Make sure we esc_attr translation results MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Part 2 of … 2, I think. --- includes/admin/class-wc-admin-attributes.php | 6 +-- includes/admin/class-wc-admin-menus.php | 2 +- .../class-wc-admin-permalink-settings.php | 4 +- includes/admin/class-wc-admin-post-types.php | 2 +- includes/admin/class-wc-admin-settings.php | 4 +- .../admin/class-wc-admin-setup-wizard.php | 4 +- .../class-wc-meta-box-coupon-data.php | 8 ++-- .../class-wc-meta-box-order-actions.php | 4 +- .../class-wc-meta-box-order-data.php | 12 +++--- .../class-wc-meta-box-order-downloads.php | 2 +- .../class-wc-meta-box-product-data.php | 40 +++++++++---------- .../class-wc-meta-box-product-images.php | 2 +- .../views/html-order-download-permission.php | 6 +-- .../admin/meta-boxes/views/html-order-fee.php | 2 +- .../meta-boxes/views/html-order-item.php | 8 ++-- .../meta-boxes/views/html-order-items.php | 14 +++---- .../meta-boxes/views/html-order-shipping.php | 4 +- .../views/html-product-attribute.php | 4 +- .../views/html-product-download.php | 6 +-- .../views/html-product-variation-download.php | 6 +-- .../meta-boxes/views/html-variation-admin.php | 34 ++++++++-------- .../reports/class-wc-report-coupon-usage.php | 6 +-- .../reports/class-wc-report-customers.php | 2 +- .../class-wc-report-sales-by-category.php | 6 +-- .../reports/class-wc-report-sales-by-date.php | 2 +- .../class-wc-report-sales-by-product.php | 6 +-- .../reports/class-wc-report-taxes-by-date.php | 6 +-- .../settings/class-wc-settings-shipping.php | 2 +- .../admin/settings/views/html-keys-edit.php | 8 ++-- .../views/html-admin-page-status-report.php | 2 +- includes/admin/views/html-report-by-date.php | 2 +- templates/cart/cart.php | 2 +- templates/global/quantity-input.php | 2 +- 33 files changed, 110 insertions(+), 110 deletions(-) diff --git a/includes/admin/class-wc-admin-attributes.php b/includes/admin/class-wc-admin-attributes.php index bc5e8ec71f8..ba98246acf3 100644 --- a/includes/admin/class-wc-admin-attributes.php +++ b/includes/admin/class-wc-admin-attributes.php @@ -328,7 +328,7 @@ class WC_Admin_Attributes { -

+

@@ -414,7 +414,7 @@ class WC_Admin_Attributes { echo ''; } ?> - +

-

+

diff --git a/includes/admin/class-wc-admin-menus.php b/includes/admin/class-wc-admin-menus.php index 2f6083fbd2d..70bb5360b53 100644 --- a/includes/admin/class-wc-admin-menus.php +++ b/includes/admin/class-wc-admin-menus.php @@ -276,7 +276,7 @@ class WC_Admin_Menus { - +

diff --git a/includes/admin/class-wc-admin-permalink-settings.php b/includes/admin/class-wc-admin-permalink-settings.php index 5581fb192d8..700c54277b8 100644 --- a/includes/admin/class-wc-admin-permalink-settings.php +++ b/includes/admin/class-wc-admin-permalink-settings.php @@ -65,7 +65,7 @@ class WC_Admin_Permalink_Settings { public function product_category_slug_input() { $permalinks = get_option( 'woocommerce_permalinks' ); ?> - + - + display_name ) . ' (#' . absint( $user->ID ) . ' – ' . esc_html( $user->user_email ); } ?> - + "> - countries->country_dropdown_options( $country, $state ); ?> @@ -581,7 +581,7 @@ class WC_Admin_Settings { - $val ) { diff --git a/includes/admin/class-wc-admin-setup-wizard.php b/includes/admin/class-wc-admin-setup-wizard.php index 2b734967e8f..fc13236423c 100644 --- a/includes/admin/class-wc-admin-setup-wizard.php +++ b/includes/admin/class-wc-admin-setup-wizard.php @@ -297,7 +297,7 @@ class WC_Admin_Setup_Wizard { - countries->country_dropdown_options( $country, $state ); ?> @@ -305,7 +305,7 @@ class WC_Admin_Setup_Wizard { - $name ) { 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 09ed8e061fc..b958b6a678e 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 @@ -97,7 +97,7 @@ class WC_Meta_Box_Coupon_Data { // Product ids ?>

- - - ID, 'product_categories', true ); $categories = get_terms( 'product_cat', 'orderby=name&hide_empty=0' ); @@ -150,7 +150,7 @@ class WC_Meta_Box_Coupon_Data { // Exclude Categories ?>

- ID, 'exclude_product_categories', true ); $categories = get_terms( 'product_cat', 'orderby=name&hide_empty=0' ); diff --git a/includes/admin/meta-boxes/class-wc-meta-box-order-actions.php b/includes/admin/meta-boxes/class-wc-meta-box-order-actions.php index 212019a3e9e..9ad3423f0ca 100644 --- a/includes/admin/meta-boxes/class-wc-meta-box-order-actions.php +++ b/includes/admin/meta-boxes/class-wc-meta-box-order-actions.php @@ -39,7 +39,7 @@ class WC_Meta_Box_Order_Actions {

  • - +
  • diff --git a/includes/admin/meta-boxes/class-wc-meta-box-order-data.php b/includes/admin/meta-boxes/class-wc-meta-box-order-data.php index 792c1e9b745..add2ed0e05f 100644 --- a/includes/admin/meta-boxes/class-wc-meta-box-order-data.php +++ b/includes/admin/meta-boxes/class-wc-meta-box-order-data.php @@ -190,7 +190,7 @@ class WC_Meta_Box_Order_Data {

    - @: + @:

    @@ -225,7 +225,7 @@ class WC_Meta_Box_Order_Data { $user_string = esc_html( $user->display_name ) . ' (#' . absint( $user->ID ) . ' – ' . esc_html( $user->user_email ); } ?> - +

    @@ -233,7 +233,7 @@ class WC_Meta_Box_Order_Data {

    - +

    - - + +

    -

    +

    - +

    diff --git a/includes/admin/meta-boxes/class-wc-meta-box-product-data.php b/includes/admin/meta-boxes/class-wc-meta-box-product-data.php index 2da39d1ec6c..17fef2cae27 100644 --- a/includes/admin/meta-boxes/class-wc-meta-box-product-data.php +++ b/includes/admin/meta-boxes/class-wc-meta-box-product-data.php @@ -189,8 +189,8 @@ class WC_Meta_Box_Product_Data {   - [?] - [?] + [?] + [?]   @@ -362,9 +362,9 @@ class WC_Meta_Box_Product_Data { ?>

    - - - + + +

    - - ' src="plugin_url(); ?>/assets/images/help.png" height="16" width="16" /> + ?>" value="" /> ' src="plugin_url(); ?>/assets/images/help.png" height="16" width="16" />

    @@ -508,7 +508,7 @@ class WC_Meta_Box_Product_Data {

    -

    - : [?] + : [?] ID, '_default_attributes', true ) ); @@ -699,19 +699,19 @@ class WC_Meta_Box_Product_Data { ( / ) - « - + « + - - - » + + »
    @@ -730,19 +730,19 @@ class WC_Meta_Box_Product_Data { ( / ) - « - + « + - - - » + + » diff --git a/includes/admin/meta-boxes/class-wc-meta-box-product-images.php b/includes/admin/meta-boxes/class-wc-meta-box-product-images.php index a3f5ad1a1db..ef58af5f0a9 100644 --- a/includes/admin/meta-boxes/class-wc-meta-box-product-images.php +++ b/includes/admin/meta-boxes/class-wc-meta-box-product-images.php @@ -55,7 +55,7 @@ class WC_Meta_Box_Product_Images {

    - +

    -
    +
    id ) . ' — ' . apply_filters( 'woocommerce_admin_download_permissions_title', $product->get_title(), $download->product_id, $download->order_id, $download->order_key, $download->download_id ) . ' — ' . sprintf( __( '%s: %s', 'woocommerce' ), $file_count, wc_get_filename_from_url( $product->get_file_download_path( $download->download_id ) ) ) . ' — ' . sprintf( _n('Downloaded %s time', 'Downloaded %s times', absint( $download->download_count ), 'woocommerce'), absint( $download->download_count ) ); ?> @@ -20,11 +20,11 @@ if ( ! defined( 'ABSPATH' ) ) { - + - + diff --git a/includes/admin/meta-boxes/views/html-order-fee.php b/includes/admin/meta-boxes/views/html-order-fee.php index b860266e27e..cfecadfeafb 100644 --- a/includes/admin/meta-boxes/views/html-order-fee.php +++ b/includes/admin/meta-boxes/views/html-order-fee.php @@ -20,7 +20,7 @@ if ( ! defined( 'ABSPATH' ) ) { diff --git a/includes/admin/meta-boxes/views/html-order-item.php b/includes/admin/meta-boxes/views/html-order-item.php index 3f308d8017d..6edf5cb7a1c 100644 --- a/includes/admin/meta-boxes/views/html-order-item.php +++ b/includes/admin/meta-boxes/views/html-order-item.php @@ -201,10 +201,10 @@ if ( ! defined( 'ABSPATH' ) ) {