Version Description
Download this release
Release Info
Developer | cklosows |
Plugin | Easy Digital Downloads |
Version | 2.5.17 |
Comparing to | |
See all releases |
Code changes from version 2.5.16 to 2.5.17
- easy-digital-downloads.php +3 -3
- includes/admin/tracking.php +1 -1
- includes/libraries/browser.php +1 -1
- includes/payments/class-edd-payment.php +1 -1
- readme.txt +7 -1
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.5.
|
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.5.
|
29 |
*/
|
30 |
|
31 |
// Exit if accessed directly.
|
@@ -186,7 +186,7 @@ final class Easy_Digital_Downloads {
|
|
186 |
|
187 |
// Plugin version.
|
188 |
if ( ! defined( 'EDD_VERSION' ) ) {
|
189 |
-
define( 'EDD_VERSION', '2.5.
|
190 |
}
|
191 |
|
192 |
// 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.5.17
|
9 |
* Text Domain: easy-digital-downloads
|
10 |
* Domain Path: languages
|
11 |
*
|
25 |
* @package EDD
|
26 |
* @category Core
|
27 |
* @author Pippin Williamson
|
28 |
+
* @version 2.5.17
|
29 |
*/
|
30 |
|
31 |
// Exit if accessed directly.
|
186 |
|
187 |
// Plugin version.
|
188 |
if ( ! defined( 'EDD_VERSION' ) ) {
|
189 |
+
define( 'EDD_VERSION', '2.5.17' );
|
190 |
}
|
191 |
|
192 |
// Plugin Folder Path.
|
includes/admin/tracking.php
CHANGED
@@ -121,7 +121,7 @@ class EDD_Tracking {
|
|
121 |
|
122 |
// Send a maximum of once per week
|
123 |
$last_send = $this->get_last_send();
|
124 |
-
if(
|
125 |
return false;
|
126 |
}
|
127 |
|
121 |
|
122 |
// Send a maximum of once per week
|
123 |
$last_send = $this->get_last_send();
|
124 |
+
if( is_numeric( $last_send ) && $last_send > strtotime( '-1 week' ) ) {
|
125 |
return false;
|
126 |
}
|
127 |
|
includes/libraries/browser.php
CHANGED
@@ -222,7 +222,7 @@ class Browser {
|
|
222 |
|
223 |
public $OPERATING_SYSTEM_UNKNOWN = 'unknown';
|
224 |
|
225 |
-
function
|
226 |
$this->reset();
|
227 |
if ( $useragent != "" ) {
|
228 |
$this->setUserAgent( $useragent );
|
222 |
|
223 |
public $OPERATING_SYSTEM_UNKNOWN = 'unknown';
|
224 |
|
225 |
+
function __construct( $useragent="" ) {
|
226 |
$this->reset();
|
227 |
if ( $useragent != "" ) {
|
228 |
$this->setUserAgent( $useragent );
|
includes/payments/class-edd-payment.php
CHANGED
@@ -540,7 +540,7 @@ final class EDD_Payment {
|
|
540 |
$customer = new stdClass;
|
541 |
|
542 |
if ( did_action( 'edd_pre_process_purchase' ) && is_user_logged_in() ) {
|
543 |
-
$customer = new
|
544 |
}
|
545 |
|
546 |
if ( empty( $customer->id ) ) {
|
540 |
$customer = new stdClass;
|
541 |
|
542 |
if ( did_action( 'edd_pre_process_purchase' ) && is_user_logged_in() ) {
|
543 |
+
$customer = new EDD_Customer( get_current_user_id(), true );
|
544 |
}
|
545 |
|
546 |
if ( empty( $customer->id ) ) {
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ 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.5.
|
10 |
|
11 |
License: GNU Version 2 or Any Later Version
|
12 |
|
@@ -214,6 +214,12 @@ Yes, through the addition of one or more of the add-on payment gateways, you can
|
|
214 |
|
215 |
== Changelog ==
|
216 |
|
|
|
|
|
|
|
|
|
|
|
|
|
217 |
= 2.5.16, May 18, 2016 =
|
218 |
|
219 |
* Fix: Checkboxes cannot be unchecked in the settings screens of some extensions if only one extension is activated
|
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.5.17
|
10 |
|
11 |
License: GNU Version 2 or Any Later Version
|
12 |
|
214 |
|
215 |
== Changelog ==
|
216 |
|
217 |
+
= 2.5.17, June 3, 2016 =
|
218 |
+
|
219 |
+
* Fix: Discount codes are not always sent when opt-in tracking is enabled
|
220 |
+
* Fix: Correct a capitilzation error in EDD_Customer class usage during edd_insert_payment
|
221 |
+
* Fix: Correct error in the System Info browser detection
|
222 |
+
|
223 |
= 2.5.16, May 18, 2016 =
|
224 |
|
225 |
* Fix: Checkboxes cannot be unchecked in the settings screens of some extensions if only one extension is activated
|