Easy Digital Downloads - Version 2.6.2

Version Description

Download this release

Release Info

Developer mordauk
Plugin Icon 128x128 Easy Digital Downloads
Version 2.6.2
Comparing to
See all releases

Code changes from version 2.6.1 to 2.6.2

easy-digital-downloads.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: The easiest way to sell digital products with WordPress.
6
  * Author: Pippin Williamson and Company
7
  * Author URI: https://easydigitaldownloads.com
8
- * Version: 2.6.1
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.6.1
29
  */
30
 
31
  // Exit if accessed directly.
@@ -195,7 +195,7 @@ final class Easy_Digital_Downloads {
195
 
196
  // Plugin version.
197
  if ( ! defined( 'EDD_VERSION' ) ) {
198
- define( 'EDD_VERSION', '2.6.1' );
199
  }
200
 
201
  // Plugin Folder Path.
5
  * Description: The easiest way to sell digital products with WordPress.
6
  * Author: Pippin Williamson and Company
7
  * Author URI: https://easydigitaldownloads.com
8
+ * Version: 2.6.2
9
  * Text Domain: easy-digital-downloads
10
  * Domain Path: languages
11
  *
25
  * @package EDD
26
  * @category Core
27
  * @author Pippin Williamson
28
+ * @version 2.6.2
29
  */
30
 
31
  // Exit if accessed directly.
195
 
196
  // Plugin version.
197
  if ( ! defined( 'EDD_VERSION' ) ) {
198
+ define( 'EDD_VERSION', '2.6.2' );
199
  }
200
 
201
  // Plugin Folder Path.
includes/admin/settings/register-settings.php CHANGED
@@ -82,7 +82,7 @@ function edd_update_option( $key = '', $value = false ) {
82
  * @since 2.3
83
  * @param string $key The Key to delete
84
  * @global $edd_options Array of all the EDD Options
85
- * @return boolean True if updated, false if not.
86
  */
87
  function edd_delete_option( $key = '' ) {
88
 
82
  * @since 2.3
83
  * @param string $key The Key to delete
84
  * @global $edd_options Array of all the EDD Options
85
+ * @return boolean True if removed, false if not.
86
  */
87
  function edd_delete_option( $key = '' ) {
88
 
includes/process-purchase.php CHANGED
@@ -513,7 +513,7 @@ function edd_purchase_form_validate_new_user() {
513
  // Check if email exists
514
  } else {
515
  $customer = new EDD_Customer( $user_email );
516
- if ( $registering_new_user && ( $customer->id > 0 || email_exists( $user_email ) ) ) {
517
  edd_set_error( 'email_used', __( 'Email already used', 'easy-digital-downloads' ) );
518
  } else {
519
  // All the checks have run and it's good to go
513
  // Check if email exists
514
  } else {
515
  $customer = new EDD_Customer( $user_email );
516
+ if ( $registering_new_user && email_exists( $user_email ) ) {
517
  edd_set_error( 'email_used', __( 'Email already used', 'easy-digital-downloads' ) );
518
  } else {
519
  // All the checks have run and it's good to go
readme.txt CHANGED
@@ -1,12 +1,12 @@
1
  === Easy Digital Downloads ===
2
  Author URI: https://pippinsplugins.com
3
  Plugin URI: https://easydigitaldownloads.com
4
- Contributors: mordauk, sunnyratilal, chriscct7, section214, sumobi, sdavis2702, cklosows, mindctrl, topher1kenobe, sksmatt, SpencerFinnell, johnstonphilip
5
  Donate link: https://pippinsplugins.com/support-the-site
6
  Tags: download, downloads, e-store, eshop, digital downloads, e-commerce, wp-ecommerce, wp ecommerce
7
  Requires at least: 4.0
8
  Tested up to: 4.6
9
- Stable Tag: 2.6.1
10
 
11
  License: GNU Version 2 or Any Later Version
12
 
@@ -214,6 +214,10 @@ Yes, through the addition of one or more of the add-on payment gateways, you can
214
 
215
  == Changelog ==
216
 
 
 
 
 
217
  = 2.6.1, June 24, 2016 =
218
  * Fix: PayPal Standard transaction ID links don't link to PayPal Sandbox when payment was made in test mode.
219
  * Fix: Opt-in tracking not sending after initial activation.
1
  === Easy Digital Downloads ===
2
  Author URI: https://pippinsplugins.com
3
  Plugin URI: https://easydigitaldownloads.com
4
+ Contributors: easydigitaldownloads, mordauk, sunnyratilal, chriscct7, section214, sumobi, sdavis2702, cklosows, mindctrl, topher1kenobe, sksmatt, SpencerFinnell, johnstonphilip
5
  Donate link: https://pippinsplugins.com/support-the-site
6
  Tags: download, downloads, e-store, eshop, digital downloads, e-commerce, wp-ecommerce, wp ecommerce
7
  Requires at least: 4.0
8
  Tested up to: 4.6
9
+ Stable Tag: 2.6.2
10
 
11
  License: GNU Version 2 or Any Later Version
12
 
214
 
215
  == Changelog ==
216
 
217
+ = 2.6.2, June 28, 2016 =
218
+ * Fix: Existing guest customers cannot register a user account on checkout using the email address associated with their existing customer profile.
219
+ * Fix: DocBloc for edd_delete_option function is incorrect.
220
+
221
  = 2.6.1, June 24, 2016 =
222
  * Fix: PayPal Standard transaction ID links don't link to PayPal Sandbox when payment was made in test mode.
223
  * Fix: Opt-in tracking not sending after initial activation.