Easy Digital Downloads - Version 2.8.10

Version Description

Download this release

Release Info

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

Code changes from version 2.8.9 to 2.8.10

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.9
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.9
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.9' );
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.10
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.10
29
  */
30
 
31
  // Exit if accessed directly.
206
 
207
  // Plugin version.
208
  if ( ! defined( 'EDD_VERSION' ) ) {
209
+ define( 'EDD_VERSION', '2.8.10' );
210
  }
211
 
212
  // Plugin Folder Path.
includes/admin/add-ons.php CHANGED
@@ -27,7 +27,7 @@ function edd_add_ons_page() {
27
  ob_start(); ?>
28
  <div class="wrap" id="edd-add-ons">
29
  <h1 class="wp-heading-inline"><?php echo edd_get_label_plural(); ?></h1>
30
- <a href="http://edd.dev/wp-admin/post-new.php?post_type=download" class="page-title-action">Add New</a>
31
  <hr class="wp-header-end">
32
  <?php edd_display_product_tabs(); ?>
33
  <h2>
27
  ob_start(); ?>
28
  <div class="wrap" id="edd-add-ons">
29
  <h1 class="wp-heading-inline"><?php echo edd_get_label_plural(); ?></h1>
30
+ <a href="<?php echo admin_url( 'post-new.php?post_type=download' ); ?>" class="page-title-action">Add New</a>
31
  <hr class="wp-header-end">
32
  <?php edd_display_product_tabs(); ?>
33
  <h2>
includes/admin/admin-actions.php CHANGED
@@ -77,7 +77,7 @@ function edd_display_product_tabs() {
77
  }
78
  ?>
79
 
80
- <a href="http://edd.dev/wp-admin/post-new.php?post_type=download" class="page-title-action">
81
  <?php _e( 'Add New' ); // No text domain so it just follows what WP Core does ?>
82
  </a>
83
  </h2>
77
  }
78
  ?>
79
 
80
+ <a href="<?php echo admin_url( 'post-new.php?post_type=download' ); ?>" class="page-title-action">
81
  <?php _e( 'Add New' ); // No text domain so it just follows what WP Core does ?>
82
  </a>
83
  </h2>
includes/payments/class-edd-payment.php CHANGED
@@ -2585,7 +2585,7 @@ class EDD_Payment {
2585
  $fees = $this->fees_total;
2586
  $tax = $this->tax;
2587
 
2588
- return floatval( apply_filter( 'edd_payment_discounted_amount', $total - ( $fees + $tax ), $this ) );
2589
  }
2590
 
2591
  /**
2585
  $fees = $this->fees_total;
2586
  $tax = $this->tax;
2587
 
2588
+ return floatval( apply_filters( 'edd_payment_discounted_amount', $total - ( $fees + $tax ), $this ) );
2589
  }
2590
 
2591
  /**
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.9\n"
6
  "Report-Msgid-Bugs-To: https://easydigitaldownloads.com/\n"
7
- "POT-Creation-Date: 2017-10-19 22:54:48+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?"
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.10\n"
6
  "Report-Msgid-Bugs-To: https://easydigitaldownloads.com/\n"
7
+ "POT-Creation-Date: 2017-10-20 09:19:20+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?"
readme.txt CHANGED
@@ -6,7 +6,7 @@ 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.9
10
  License: GNU Version 2 or Any Later Version
11
 
12
  The easiest way to sell digital products with WordPress.
@@ -213,6 +213,11 @@ Yes. Easy Digital Downloads also includes default support for Amazon Payments an
213
 
214
  == Changelog ==
215
 
 
 
 
 
 
216
  = 2.8.9, October 19, 2017 =
217
 
218
  * Fix: Errors when trying to download some local files on Windows servers.
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.10
10
  License: GNU Version 2 or Any Later Version
11
 
12
  The easiest way to sell digital products with WordPress.
213
 
214
  == Changelog ==
215
 
216
+ = 2.8.10, October 20, 2017 =
217
+
218
+ * Fix: Incorrect URL for `Add New` button.
219
+ * Fix: Incorrectly called function on EDD_Payment::get_discounted_amount.
220
+
221
  = 2.8.9, October 19, 2017 =
222
 
223
  * Fix: Errors when trying to download some local files on Windows servers.