Easy Digital Downloads - Version 2.8.15

Version Description

Download this release

Release Info

Developer cklosows
Plugin Icon 128x128 Easy Digital Downloads
Version 2.8.15
Comparing to
See all releases

Code changes from version 2.8.14 to 2.8.15

easy-digital-downloads.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: The easiest way to sell digital products with WordPress.
6
  * Author: Easy Digital Downloads
7
  * Author URI: https://easydigitaldownloads.com
8
- * Version: 2.8.14
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.8.14
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.8.14' );
210
  }
211
 
212
  // Plugin Folder Path.
5
  * Description: The easiest way to sell digital products with WordPress.
6
  * Author: Easy Digital Downloads
7
  * Author URI: https://easydigitaldownloads.com
8
+ * Version: 2.8.15
9
  * Text Domain: easy-digital-downloads
10
  * Domain Path: languages
11
  *
25
  * @package EDD
26
  * @category Core
27
  * @author Pippin Williamson
28
+ * @version 2.8.15
29
  */
30
 
31
  // Exit if accessed directly.
206
 
207
  // Plugin version.
208
  if ( ! defined( 'EDD_VERSION' ) ) {
209
+ define( 'EDD_VERSION', '2.8.15' );
210
  }
211
 
212
  // Plugin Folder Path.
includes/payments/functions.php CHANGED
@@ -980,7 +980,9 @@ function edd_get_payment_meta_cart_details( $payment_id, $include_bundle_files =
980
  if( 'bundle' != edd_get_download_type( $cart_item['id'] ) )
981
  continue;
982
 
983
- $products = edd_get_bundled_products( $cart_item['id'] );
 
 
984
  if ( empty( $products ) )
985
  continue;
986
 
980
  if( 'bundle' != edd_get_download_type( $cart_item['id'] ) )
981
  continue;
982
 
983
+ $price_id = edd_get_cart_item_price_id( $cart_item );
984
+ $products = edd_get_bundled_products( $cart_item['id'], $price_id );
985
+
986
  if ( empty( $products ) )
987
  continue;
988
 
languages/easy-digital-downloads.pot CHANGED
@@ -2,27 +2,27 @@
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.8.14\n"
6
  "Report-Msgid-Bugs-To: https://easydigitaldownloads.com/\n"
7
- "POT-Creation-Date: 2017-11-28 22:01:52+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
  "PO-Revision-Date: 2017-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: WP-Translations (http://wp-translations.org/)\n"
13
  "Language-Team: WP-Translations <wpt@wp-translations.org>\n"
14
- "X-Generator: grunt-wp-i18n 0.5.4\n"
15
- "X-Poedit-KeywordsList: "
16
- "__;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_"
17
- "attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c;\n"
18
  "Language: en_US\n"
19
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
20
  "X-Poedit-Country: United States\n"
21
  "X-Poedit-SourceCharset: UTF-8\n"
 
 
 
22
  "X-Poedit-Basepath: ../\n"
23
  "X-Poedit-SearchPath-0: .\n"
24
  "X-Poedit-Bookmarks: \n"
25
  "X-Textdomain-Support: yes\n"
 
26
 
27
  #: easy-digital-downloads.php:183 easy-digital-downloads.php:195
28
  msgid "Cheatin&#8217; huh?"
@@ -429,7 +429,7 @@ msgstr ""
429
  #: includes/admin/discounts/class-discount-codes-table.php:289
430
  #: includes/admin/payments/class-payments-table.php:373
431
  #: includes/admin/payments/class-payments-table.php:445
432
- #: includes/payments/functions.php:1595
433
  msgid "Delete"
434
  msgstr ""
435
 
@@ -6811,7 +6811,7 @@ msgstr ""
6811
  msgid "Complete"
6812
  msgstr ""
6813
 
6814
- #: includes/payments/functions.php:1580
6815
  msgid "EDD Bot"
6816
  msgstr ""
6817
 
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.8.15\n"
6
  "Report-Msgid-Bugs-To: https://easydigitaldownloads.com/\n"
7
+ "POT-Creation-Date: 2017-12-13 20:39:35+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
  "PO-Revision-Date: 2017-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: WP-Translations (http://wp-translations.org/)\n"
13
  "Language-Team: WP-Translations <wpt@wp-translations.org>\n"
 
 
 
 
14
  "Language: en_US\n"
15
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
  "X-Poedit-Country: United States\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
+ "X-Poedit-KeywordsList: "
19
+ "__;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_"
20
+ "attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c;\n"
21
  "X-Poedit-Basepath: ../\n"
22
  "X-Poedit-SearchPath-0: .\n"
23
  "X-Poedit-Bookmarks: \n"
24
  "X-Textdomain-Support: yes\n"
25
+ "X-Generator: grunt-wp-i18n1.0.0\n"
26
 
27
  #: easy-digital-downloads.php:183 easy-digital-downloads.php:195
28
  msgid "Cheatin&#8217; huh?"
429
  #: includes/admin/discounts/class-discount-codes-table.php:289
430
  #: includes/admin/payments/class-payments-table.php:373
431
  #: includes/admin/payments/class-payments-table.php:445
432
+ #: includes/payments/functions.php:1597
433
  msgid "Delete"
434
  msgstr ""
435
 
6811
  msgid "Complete"
6812
  msgstr ""
6813
 
6814
+ #: includes/payments/functions.php:1582
6815
  msgid "EDD Bot"
6816
  msgstr ""
6817
 
readme.txt CHANGED
@@ -5,8 +5,8 @@ Contributors: easydigitaldownloads, mordauk, sunnyratilal, chriscct7, section214
5
  Donate link: https://easydigitaldownloads.com/donate/
6
  Tags: download, downloads, e-store, eshop, digital downloads, e-commerce, wp-ecommerce, wp ecommerce, ecommerce, ebook
7
  Requires at least: 4.4
8
- Tested up to: 4.9
9
- Stable Tag: 2.8.14
10
  License: GNU Version 2 or Any Later Version
11
 
12
  The easiest way to sell digital products with WordPress.
@@ -190,6 +190,10 @@ Yes. Easy Digital Downloads also includes default support for Amazon Payments an
190
 
191
  == Changelog ==
192
 
 
 
 
 
193
  = 2.8.14, November 28, 2017 =
194
  * Fix: Sales exports did not always include all payments from the last day of the range selected.
195
  * Fix: Negative item fees can apply to same item multiple times if it's the same product.
5
  Donate link: https://easydigitaldownloads.com/donate/
6
  Tags: download, downloads, e-store, eshop, digital downloads, e-commerce, wp-ecommerce, wp ecommerce, ecommerce, ebook
7
  Requires at least: 4.4
8
+ Tested up to: 4.9.1
9
+ Stable Tag: 2.8.15
10
  License: GNU Version 2 or Any Later Version
11
 
12
  The easiest way to sell digital products with WordPress.
190
 
191
  == Changelog ==
192
 
193
+ = 2.8.15, December 13, 2017 =
194
+ * Fix: Getting files of variable priced bundles products did not always respect variable price ID.
195
+ * Tweak: Added found payments to the hooks before and after the purchase history shortcode.
196
+
197
  = 2.8.14, November 28, 2017 =
198
  * Fix: Sales exports did not always include all payments from the last day of the range selected.
199
  * Fix: Negative item fees can apply to same item multiple times if it's the same product.
templates/history-purchases.php CHANGED
@@ -10,7 +10,7 @@ endif;
10
  if ( is_user_logged_in() ):
11
  $payments = edd_get_users_purchases( get_current_user_id(), 20, true, 'any' );
12
  if ( $payments ) :
13
- do_action( 'edd_before_purchase_history' ); ?>
14
  <table id="edd_user_history" class="edd-table">
15
  <thead>
16
  <tr class="edd_purchase_row">
@@ -56,7 +56,7 @@ if ( is_user_logged_in() ):
56
  ) );
57
  ?>
58
  </div>
59
- <?php do_action( 'edd_after_purchase_history' ); ?>
60
  <?php wp_reset_postdata(); ?>
61
  <?php else : ?>
62
  <p class="edd-no-purchases"><?php _e('You have not made any purchases','easy-digital-downloads' ); ?></p>
10
  if ( is_user_logged_in() ):
11
  $payments = edd_get_users_purchases( get_current_user_id(), 20, true, 'any' );
12
  if ( $payments ) :
13
+ do_action( 'edd_before_purchase_history', $payments ); ?>
14
  <table id="edd_user_history" class="edd-table">
15
  <thead>
16
  <tr class="edd_purchase_row">
56
  ) );
57
  ?>
58
  </div>
59
+ <?php do_action( 'edd_after_purchase_history', $payments ); ?>
60
  <?php wp_reset_postdata(); ?>
61
  <?php else : ?>
62
  <p class="edd-no-purchases"><?php _e('You have not made any purchases','easy-digital-downloads' ); ?></p>