Easy Digital Downloads - Version 2.10.4

Version Description

Download this release

Release Info

Developer NoseGraze
Plugin Icon 128x128 Easy Digital Downloads
Version 2.10.4
Comparing to
See all releases

Code changes from version 2.10.3 to 2.10.4

easy-digital-downloads.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: The easiest way to sell digital products with WordPress.
6
  * Author: Sandhills Development, LLC
7
  * Author URI: https://sandhillsdev.com
8
- * Version: 2.10.3
9
  * Text Domain: easy-digital-downloads
10
  * Domain Path: languages
11
  *
@@ -25,7 +25,7 @@
25
  * @package EDD
26
  * @category Core
27
  * @author Pippin Williamson
28
- * @version 2.10.3
29
  */
30
 
31
  // Exit if accessed directly.
@@ -206,7 +206,7 @@ final class Easy_Digital_Downloads {
206
 
207
  // Plugin version.
208
  if ( ! defined( 'EDD_VERSION' ) ) {
209
- define( 'EDD_VERSION', '2.10.3' );
210
  }
211
 
212
  // Plugin Folder Path.
5
  * Description: The easiest way to sell digital products with WordPress.
6
  * Author: Sandhills Development, LLC
7
  * Author URI: https://sandhillsdev.com
8
+ * Version: 2.10.4
9
  * Text Domain: easy-digital-downloads
10
  * Domain Path: languages
11
  *
25
  * @package EDD
26
  * @category Core
27
  * @author Pippin Williamson
28
+ * @version 2.10.4
29
  */
30
 
31
  // Exit if accessed directly.
206
 
207
  // Plugin version.
208
  if ( ! defined( 'EDD_VERSION' ) ) {
209
+ define( 'EDD_VERSION', '2.10.4' );
210
  }
211
 
212
  // Plugin Folder Path.
includes/ajax-functions.php CHANGED
@@ -382,12 +382,12 @@ function edd_ajax_remove_discount() {
382
 
383
  $return = array(
384
  'total' => html_entity_decode( edd_currency_filter( edd_format_amount( $total ) ), ENT_COMPAT, 'UTF-8' ),
385
- 'code' => $_POST['code'],
386
  'discounts' => edd_get_cart_discounts(),
387
  'html' => edd_get_cart_discounts_html()
388
  );
389
 
390
- echo json_encode( $return );
391
  }
392
  edd_die();
393
  }
382
 
383
  $return = array(
384
  'total' => html_entity_decode( edd_currency_filter( edd_format_amount( $total ) ), ENT_COMPAT, 'UTF-8' ),
385
+ 'code' => sanitize_text_field( $_POST['code'] ),
386
  'discounts' => edd_get_cart_discounts(),
387
  'html' => edd_get_cart_discounts_html()
388
  );
389
 
390
+ wp_send_json( $return );
391
  }
392
  edd_die();
393
  }
languages/easy-digital-downloads.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the Easy Digital Downloads package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Easy Digital Downloads 2.10.3\n"
6
  "Report-Msgid-Bugs-To: https://easydigitaldownloads.com/\n"
7
- "POT-Creation-Date: 2021-04-14 09:04:03+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
2
  # This file is distributed under the same license as the Easy Digital Downloads package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Easy Digital Downloads 2.10.4\n"
6
  "Report-Msgid-Bugs-To: https://easydigitaldownloads.com/\n"
7
+ "POT-Creation-Date: 2021-05-05 10:29:37+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
readme.txt CHANGED
@@ -5,9 +5,9 @@ Contributors: easydigitaldownloads, mordauk, sunnyratilal, chriscct7, section214
5
  Donate link: https://easydigitaldownloads.com/donate/
6
  Tags: ecommerce, sell, checkout, payments, stripe
7
  Requires at least: 4.4
8
- Tested up to: 5.7
9
  Requires PHP: 5.3
10
- Stable Tag: 2.10.3
11
  License: GNU Version 2 or Any Later Version
12
 
13
  Sell your digital products the simple way. Easily build an online store complete with a cart system, checkout forms, reports, coupons, and more!
@@ -247,21 +247,24 @@ Yes, through the use of our commercial addon called [Recurring Payments](https:/
247
  11. Google Pay checkout
248
 
249
  == Changelog ==
 
 
 
250
  = 2.10.3, April 14, 2021 =
251
  * Security Fix: Fix nonce logic when disconnecting from Stripe Connect.
252
  * Fix: Not enough padding on file upload field.
253
 
254
  = 2.10.2, April 5, 2021 =
255
- Fix: Stripe - Some Stripe errors were not localized.
256
- Fix: Stripe - The pre-approval payment status was being registered when it was not supported.
257
- Fix: Stripe - Use of the array_key_first function was only available in PHP 7.3+.
258
- Fix: Registration form was not validating all fields.
259
- Fix: Batch Download importer was using GLOB_BRACE which is not available on all containerized platforms.
260
- Tweak: Re-Organized the gateway list in settings.
261
- Tweak: Adjust SendWP setting description.
262
- Tweak: Removed Jilt callout in Advanced Email settings.
263
- New: Inform store owners of Recapture for abandoned cart recovery.
264
- New: Add link to Termageddon for Terms of Agreement and Privacy Policy fields within Easy Digital Downloads settings.
265
 
266
  = 2.10.1, March 9, 2021 =
267
  * Fix: Removed incorrect inclusion of license key field for the Stripe integration when the Stripe Pro Payment Gateway extension is not active.
5
  Donate link: https://easydigitaldownloads.com/donate/
6
  Tags: ecommerce, sell, checkout, payments, stripe
7
  Requires at least: 4.4
8
+ Tested up to: 5.7.1
9
  Requires PHP: 5.3
10
+ Stable Tag: 2.10.4
11
  License: GNU Version 2 or Any Later Version
12
 
13
  Sell your digital products the simple way. Easily build an online store complete with a cart system, checkout forms, reports, coupons, and more!
247
  11. Google Pay checkout
248
 
249
  == Changelog ==
250
+ = 2.10.4, May 4, 2021 =
251
+ * Security Fix: Reflected XSS.
252
+
253
  = 2.10.3, April 14, 2021 =
254
  * Security Fix: Fix nonce logic when disconnecting from Stripe Connect.
255
  * Fix: Not enough padding on file upload field.
256
 
257
  = 2.10.2, April 5, 2021 =
258
+ * Fix: Stripe - Some Stripe errors were not localized.
259
+ * Fix: Stripe - The pre-approval payment status was being registered when it was not supported.
260
+ * Fix: Stripe - Use of the array_key_first function was only available in PHP 7.3+.
261
+ * Fix: Registration form was not validating all fields.
262
+ * Fix: Batch Download importer was using GLOB_BRACE which is not available on all containerized platforms.
263
+ * Tweak: Re-Organized the gateway list in settings.
264
+ * Tweak: Adjust SendWP setting description.
265
+ * Tweak: Removed Jilt callout in Advanced Email settings.
266
+ * New: Inform store owners of Recapture for abandoned cart recovery.
267
+ * New: Add link to Termageddon for Terms of Agreement and Privacy Policy fields within Easy Digital Downloads settings.
268
 
269
  = 2.10.1, March 9, 2021 =
270
  * Fix: Removed incorrect inclusion of license key field for the Stripe integration when the Stripe Pro Payment Gateway extension is not active.