From 29d9a7da8c3cf827815fadb69db1a890d81aeaca Mon Sep 17 00:00:00 2001 From: George Stephanis Date: Wed, 5 Aug 2015 12:52:11 -0400 Subject: [PATCH] Found two missing `esc_js()` calls as well. --- includes/admin/settings/views/html-settings-tax.php | 13 ++++++++++++- includes/admin/views/html-notice-update.php | 2 +- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/includes/admin/settings/views/html-settings-tax.php b/includes/admin/settings/views/html-settings-tax.php index fca772dc105..c5ad363f2d7 100644 --- a/includes/admin/settings/views/html-settings-tax.php +++ b/includes/admin/settings/views/html-settings-tax.php @@ -145,7 +145,18 @@ if ( ! defined( 'ABSPATH' ) ) { jQuery('.wc_tax_rates .export').click(function() { - var csv_data = "data:application/csv;charset=utf-8,,,,,,,,,,\n"; + var csv_data = "data:application/csv;charset=utf-8,\n"; jQuery('#rates tr:visible').each(function() { var row = ''; diff --git a/includes/admin/views/html-notice-update.php b/includes/admin/views/html-notice-update.php index 018493e1764..2486880dc86 100644 --- a/includes/admin/views/html-notice-update.php +++ b/includes/admin/views/html-notice-update.php @@ -14,7 +14,7 @@ if ( ! defined( 'ABSPATH' ) ) {