Easy Digital Downloads - Version 2.8.12

Version Description

Download this release

Release Info

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

Code changes from version 2.8.11 to 2.8.12

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.11
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.11
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.11' );
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.12
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.12
29
  */
30
 
31
  // Exit if accessed directly.
206
 
207
  // Plugin version.
208
  if ( ! defined( 'EDD_VERSION' ) ) {
209
+ define( 'EDD_VERSION', '2.8.12' );
210
  }
211
 
212
  // Plugin Folder Path.
includes/admin/discounts/add-discount.php CHANGED
@@ -141,7 +141,7 @@ if ( ! defined( 'ABSPATH' ) ) exit;
141
  </th>
142
  <td>
143
  <input type="text" id="edd-min-cart-amount" name="min_price" value="" />
144
- <p class="description"><?php _e( 'The minimum amount that must be purchased before this discount can be used. Leave blank for no minimum.', 'easy-digital-downloads' ); ?></p>
145
  </td>
146
  </tr>
147
  <?php do_action( 'edd_add_discount_form_before_max_uses' ); ?>
141
  </th>
142
  <td>
143
  <input type="text" id="edd-min-cart-amount" name="min_price" value="" />
144
+ <p class="description"><?php _e( 'The minimum dollar amount that must be in the cart before this discount can be used. Leave blank for no minimum.', 'easy-digital-downloads' ); ?></p>
145
  </td>
146
  </tr>
147
  <?php do_action( 'edd_add_discount_form_before_max_uses' ); ?>
includes/admin/downloads/metabox.php CHANGED
@@ -953,6 +953,20 @@ add_action( 'edd_meta_box_settings_fields', 'edd_render_download_limit_row', 20
953
  * @return void
954
  */
955
  function edd_render_dowwn_tax_options( $post_id = 0 ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
956
  if( ! current_user_can( 'manage_shop_settings' ) || ! edd_use_taxes() ) {
957
  return;
958
  }
@@ -969,7 +983,7 @@ function edd_render_dowwn_tax_options( $post_id = 0 ) {
969
  </label>
970
  <?php
971
  }
972
- add_action( 'edd_meta_box_settings_fields', 'edd_render_dowwn_tax_options', 30 );
973
 
974
  /**
975
  * Product quantity settings
953
  * @return void
954
  */
955
  function edd_render_dowwn_tax_options( $post_id = 0 ) {
956
+ edd_render_down_tax_options( $post_id );
957
+ }
958
+
959
+ /**
960
+ * Product tax settings
961
+ *
962
+ * Outputs the option to mark whether a product is exclusive of tax
963
+ *
964
+ * @since 1.9
965
+ * @since 2.8.12 Fixed miss-spelling in function name. See https://github.com/easydigitaldownloads/easy-digital-downloads/issues/5101
966
+ * @param int $post_id Download (Post) ID
967
+ * @return void
968
+ */
969
+ function edd_render_down_tax_options( $post_id = 0 ) {
970
  if( ! current_user_can( 'manage_shop_settings' ) || ! edd_use_taxes() ) {
971
  return;
972
  }
983
  </label>
984
  <?php
985
  }
986
+ add_action( 'edd_meta_box_settings_fields', 'edd_render_down_tax_options', 30 );
987
 
988
  /**
989
  * Product quantity settings
includes/class-edd-customer.php CHANGED
@@ -52,7 +52,7 @@ class EDD_Customer {
52
  *
53
  * @since 2.6
54
  */
55
- protected $emails;
56
 
57
  /**
58
  * The customer's name
@@ -96,13 +96,6 @@ class EDD_Customer {
96
  */
97
  private $raw_notes = null;
98
 
99
- /**
100
- * Instance caching
101
- *
102
- * @since 2.8.11
103
- */
104
- private static $_instances = array();
105
-
106
  /**
107
  * The Database Abstraction
108
  *
@@ -110,13 +103,6 @@ class EDD_Customer {
110
  */
111
  protected $db;
112
 
113
- /**
114
- * Overloaded data storage.
115
- *
116
- * @since x.y.z
117
- */
118
- private $data = array();
119
-
120
  /**
121
  * Get things going
122
  *
@@ -138,25 +124,14 @@ class EDD_Customer {
138
  $field = 'email';
139
  }
140
 
141
- add_action( 'edd_db_customers_update_signal', array( $this, 'clear_instance_cache' ) );
142
-
143
- $keyname = md5( $field . $_id_or_email );
144
-
145
- // Try to load the customer out of our saved instances if possible
146
- if ( isset( self::$_instances[ $keyname ] ) ) {
147
- $customer = self::$_instances[ $keyname ];
148
- } else {
149
- $customer = $this->db->get_customer_by( $field, $_id_or_email );
150
- if ( ! empty( $customer ) && is_object( $customer ) ) {
151
- self::$_instances[ $keyname ] = $customer;
152
- }
153
- }
154
 
155
  if ( empty( $customer ) || ! is_object( $customer ) ) {
156
  return false;
157
  }
158
 
159
  $this->setup_customer( $customer );
 
160
  }
161
 
162
  /**
@@ -198,6 +173,9 @@ class EDD_Customer {
198
 
199
  }
200
 
 
 
 
201
  // Customer ID and email are the only things that are necessary, make sure they exist
202
  if ( ! empty( $this->id ) && ! empty( $this->email ) ) {
203
  return true;
@@ -226,40 +204,6 @@ class EDD_Customer {
226
 
227
  }
228
 
229
- /**
230
- * Magic __set function to allow for instance cache clearing when customers are updated.
231
- *
232
- * @since 2.8.11
233
- */
234
- public function __set( $name, $value ) {
235
- if ( ! property_exists( 'EDD_Customer', $name ) ) {
236
- return;
237
- }
238
-
239
- if ( ! empty( $this->user_id ) ) {
240
- unset( $this->$_instances[ md5( 'user_id' . $this->user_id ) ] );
241
- }
242
-
243
- if ( ! empty( $this->id ) ) {
244
- unset( $this->$_instances[ md5( 'id' . $this->id ) ] );
245
- }
246
-
247
- if ( ! empty( $this->email ) ) {
248
- unset( $this->$_instances[ md5( 'email' . $this->email ) ] );
249
- }
250
-
251
- $this->$name = $value;
252
- }
253
-
254
- /**
255
- * Clears the instance cache.
256
- *
257
- * @since 2.8.11
258
- */
259
- public function clear_instance_cache() {
260
- self::$_instances = array();
261
- }
262
-
263
  /**
264
  * Creates a customer
265
  *
@@ -756,22 +700,6 @@ class EDD_Customer {
756
  return $this->purchase_value;
757
  }
758
 
759
- /**
760
- * Gets the additional emails of a user
761
- *
762
- * @since x.y.z
763
- * @return array The emails of the customer.
764
- */
765
- public function get_emails() {
766
- if ( array_key_exists( 'emails', $this->data ) ) {
767
- return $this->data['emails'];
768
- } else {
769
- $this->data['emails'] = (array) $this->get_meta( 'additional_email', false );
770
- array_unshift( $this->data['emails'], $this->email );
771
- return $this->data['emails'];
772
- }
773
- }
774
-
775
  /**
776
  * Get the parsed notes for a customer as an array
777
  *
52
  *
53
  * @since 2.6
54
  */
55
+ public $emails;
56
 
57
  /**
58
  * The customer's name
96
  */
97
  private $raw_notes = null;
98
 
 
 
 
 
 
 
 
99
  /**
100
  * The Database Abstraction
101
  *
103
  */
104
  protected $db;
105
 
 
 
 
 
 
 
 
106
  /**
107
  * Get things going
108
  *
124
  $field = 'email';
125
  }
126
 
127
+ $customer = $this->db->get_customer_by( $field, $_id_or_email );
 
 
 
 
 
 
 
 
 
 
 
 
128
 
129
  if ( empty( $customer ) || ! is_object( $customer ) ) {
130
  return false;
131
  }
132
 
133
  $this->setup_customer( $customer );
134
+
135
  }
136
 
137
  /**
173
 
174
  }
175
 
176
+ $this->emails = (array) $this->get_meta( 'additional_email', false );
177
+ $this->emails[] = $this->email;
178
+
179
  // Customer ID and email are the only things that are necessary, make sure they exist
180
  if ( ! empty( $this->id ) && ! empty( $this->email ) ) {
181
  return true;
204
 
205
  }
206
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
207
  /**
208
  * Creates a customer
209
  *
700
  return $this->purchase_value;
701
  }
702
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
703
  /**
704
  * Get the parsed notes for a customer as an array
705
  *
includes/class-edd-db-customers.php CHANGED
@@ -195,9 +195,6 @@ class EDD_DB_Customers extends EDD_DB {
195
  $this->set_last_changed();
196
  }
197
 
198
- // Used by the Customers class to clear the instance cache
199
- do_action( 'edd_db_customers_update_signal' );
200
-
201
  return $result;
202
  }
203
 
195
  $this->set_last_changed();
196
  }
197
 
 
 
 
198
  return $result;
199
  }
200
 
includes/payments/class-edd-payment.php CHANGED
@@ -2323,9 +2323,8 @@ class EDD_Payment {
2323
  * @return int The User ID
2324
  */
2325
  private function setup_user_id() {
2326
- $user_id = $this->get_meta( '_edd_payment_user_id', true );
2327
- $old_user_id = $user_id;
2328
- $customer = new EDD_Customer( $this->customer_id );
2329
 
2330
  // Make sure it exists, and that it matches that of the associated customer record
2331
  if( empty( $user_id ) || ( ! empty( $customer->user_id ) && (int) $user_id !== (int) $customer->user_id ) ) {
@@ -2333,9 +2332,7 @@ class EDD_Payment {
2333
  $user_id = $customer->user_id;
2334
 
2335
  // Backfill the user ID, or reset it to be correct in the event of data corruption
2336
- if ( (int) $old_user_id !== (int) $user_id ){
2337
- $this->update_meta( '_edd_payment_user_id', $user_id );
2338
- }
2339
 
2340
  }
2341
 
2323
  * @return int The User ID
2324
  */
2325
  private function setup_user_id() {
2326
+ $user_id = $this->get_meta( '_edd_payment_user_id', true );
2327
+ $customer = new EDD_Customer( $this->customer_id );
 
2328
 
2329
  // Make sure it exists, and that it matches that of the associated customer record
2330
  if( empty( $user_id ) || ( ! empty( $customer->user_id ) && (int) $user_id !== (int) $customer->user_id ) ) {
2332
  $user_id = $customer->user_id;
2333
 
2334
  // Backfill the user ID, or reset it to be correct in the event of data corruption
2335
+ $this->update_meta( '_edd_payment_user_id', $user_id );
 
 
2336
 
2337
  }
2338
 
includes/process-purchase.php CHANGED
@@ -195,7 +195,7 @@ function edd_checkout_check_existing_email( $valid_data, $post ) {
195
  if ( $email != strtolower( $customer->email ) && ( is_array( $customer->emails ) && ! in_array( $email, array_map( 'strtolower', $customer->emails ) ) ) ) {
196
  $found_customer = new EDD_Customer( $email );
197
  if ( $found_customer->id > 0 ) {
198
- edd_set_error( 'edd-customer-email-exists', __( sprintf( 'The email address %s is already in use.', $email ), 'easy-digital-downloads' ) );
199
  }
200
  }
201
 
195
  if ( $email != strtolower( $customer->email ) && ( is_array( $customer->emails ) && ! in_array( $email, array_map( 'strtolower', $customer->emails ) ) ) ) {
196
  $found_customer = new EDD_Customer( $email );
197
  if ( $found_customer->id > 0 ) {
198
+ edd_set_error( 'edd-customer-email-exists', sprintf( __( 'The email address %s is already in use.', 'easy-digital-downloads' ), $email ) );
199
  }
200
  }
201
 
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.8.10\n"
6
  "Report-Msgid-Bugs-To: https://easydigitaldownloads.com/\n"
7
- "POT-Creation-Date: 2017-11-09 15:16: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"
@@ -1068,10 +1068,9 @@ msgid "Minimum Amount"
1068
  msgstr ""
1069
 
1070
  #: includes/admin/discounts/add-discount.php:144
1071
- #: includes/admin/discounts/edit-discount.php:169
1072
  msgid ""
1073
- "The minimum amount that must be purchased before this discount can be used. "
1074
- "Leave blank for no minimum."
1075
  msgstr ""
1076
 
1077
  #: includes/admin/discounts/add-discount.php:150
@@ -1344,6 +1343,12 @@ msgid ""
1344
  "mm/dd/yyyy. For no expiration, leave blank"
1345
  msgstr ""
1346
 
 
 
 
 
 
 
1347
  #: includes/admin/discounts/edit-discount.php:182
1348
  msgid "The status of this discount code."
1349
  msgstr ""
@@ -1672,62 +1677,62 @@ msgid ""
1672
  "who purchased this product can access their download links."
1673
  msgstr ""
1674
 
1675
- #: includes/admin/downloads/metabox.php:962
1676
  msgid "Ignore Tax:"
1677
  msgstr ""
1678
 
1679
- #: includes/admin/downloads/metabox.php:968
1680
  msgid "Mark this product as exclusive of tax"
1681
  msgstr ""
1682
 
1683
- #: includes/admin/downloads/metabox.php:990
1684
  msgid "Item Quantities:"
1685
  msgstr ""
1686
 
1687
- #: includes/admin/downloads/metabox.php:996
1688
  msgid "Disable quantity input for this product"
1689
  msgstr ""
1690
 
1691
- #: includes/admin/downloads/metabox.php:998
1692
  msgid ""
1693
  "<strong>Item Quantities</strong>: if disabled, customers will not be "
1694
  "provided an option to change the number they wish to purchase."
1695
  msgstr ""
1696
 
1697
- #: includes/admin/downloads/metabox.php:1017
1698
  #: includes/admin/settings/register-settings.php:737
1699
  #: includes/admin/thickbox.php:59 includes/checkout/template.php:893
1700
  #: includes/shortcodes.php:49 includes/template-functions.php:78
1701
  msgid "Purchase"
1702
  msgstr ""
1703
 
1704
- #: includes/admin/downloads/metabox.php:1024
1705
  msgid "Purchase Shortcode:"
1706
  msgstr ""
1707
 
1708
- #: includes/admin/downloads/metabox.php:1025
1709
  msgid ""
1710
  "<strong>Purchse Shortcode</strong>: Use this shortcode to output a purchase "
1711
  "link for this product in the location of your choosing."
1712
  msgstr ""
1713
 
1714
- #: includes/admin/downloads/metabox.php:1046
1715
  msgid "Accounting Options:"
1716
  msgstr ""
1717
 
1718
- #: includes/admin/downloads/metabox.php:1054
1719
  msgid "Enter an SKU for this %s."
1720
  msgstr ""
1721
 
1722
- #: includes/admin/downloads/metabox.php:1073
1723
  msgid "Button Options:"
1724
  msgstr ""
1725
 
1726
- #: includes/admin/downloads/metabox.php:1080
1727
  msgid "Disable the automatic output of the purchase button"
1728
  msgstr ""
1729
 
1730
- #: includes/admin/downloads/metabox.php:1081
1731
  msgid ""
1732
  "<strong>Automatic Output</strong>: By default, the purchase buttons will be "
1733
  "displayed at the bottom of the download, when disabled you will need to use "
@@ -1735,23 +1740,23 @@ msgid ""
1735
  "where you prefer."
1736
  msgstr ""
1737
 
1738
- #: includes/admin/downloads/metabox.php:1091
1739
  #: includes/admin/settings/register-settings.php:751
1740
  #: includes/admin/thickbox.php:97
1741
  msgid "Add to Cart"
1742
  msgstr ""
1743
 
1744
- #: includes/admin/downloads/metabox.php:1092
1745
  #: includes/admin/settings/register-settings.php:758 includes/shortcodes.php:47
1746
  #: includes/template-functions.php:78
1747
  msgid "Buy Now"
1748
  msgstr ""
1749
 
1750
- #: includes/admin/downloads/metabox.php:1105
1751
  msgid "Purchase button behavior"
1752
  msgstr ""
1753
 
1754
- #: includes/admin/downloads/metabox.php:1107
1755
  msgid ""
1756
  "<strong>Button Behavior</strong>: Add to Cart buttons follow a traditional "
1757
  "eCommerce flow. A Buy Now button bypasses most of the process, taking the "
@@ -1759,36 +1764,36 @@ msgid ""
1759
  "process of buying the product."
1760
  msgstr ""
1761
 
1762
- #: includes/admin/downloads/metabox.php:1109
1763
  msgid ""
1764
  "<strong>Button Behavior</strong>: Add to Cart buttons follow a traditional "
1765
  "eCommerce flow. Buy Now buttons are only available for stores that have a "
1766
  "single supported gateway active and that do not use taxes."
1767
  msgstr ""
1768
 
1769
- #: includes/admin/downloads/metabox.php:1147
1770
  msgid ""
1771
  "Special notes or instructions for this product. These notes will be added "
1772
  "to the purchase receipt."
1773
  msgstr ""
1774
 
1775
- #: includes/admin/downloads/metabox.php:1174
1776
  msgid "Sales:"
1777
  msgstr ""
1778
 
1779
- #: includes/admin/downloads/metabox.php:1179
1780
  msgid "Earnings:"
1781
  msgstr ""
1782
 
1783
- #: includes/admin/downloads/metabox.php:1186
1784
  msgid "View File Download Log"
1785
  msgstr ""
1786
 
1787
- #: includes/admin/downloads/metabox.php:1220
1788
  msgid "Activate Reviews"
1789
  msgstr ""
1790
 
1791
- #: includes/admin/downloads/metabox.php:1233
1792
  msgid ""
1793
  "Would you like to enable reviews for this product? Check out our <a "
1794
  "target=\"_blank\" href=\"%s\">Product Reviews</a> extension."
@@ -5546,7 +5551,7 @@ msgstr ""
5546
  msgid "Once Weekly"
5547
  msgstr ""
5548
 
5549
- #: includes/class-edd-customer.php:223 includes/class-edd-discount.php:254
5550
  #: includes/class-edd-download.php:196
5551
  msgid "Can't get property %s"
5552
  msgstr ""
@@ -7114,6 +7119,10 @@ msgstr ""
7114
  msgid "Your cart is empty"
7115
  msgstr ""
7116
 
 
 
 
 
7117
  #: includes/process-purchase.php:317
7118
  msgid "The selected payment gateway is not enabled"
7119
  msgstr ""
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.11\n"
6
  "Report-Msgid-Bugs-To: https://easydigitaldownloads.com/\n"
7
+ "POT-Creation-Date: 2017-11-10 18:06:43+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
1068
  msgstr ""
1069
 
1070
  #: includes/admin/discounts/add-discount.php:144
 
1071
  msgid ""
1072
+ "The minimum dollar amount that must be in the cart before this discount can "
1073
+ "be used. Leave blank for no minimum."
1074
  msgstr ""
1075
 
1076
  #: includes/admin/discounts/add-discount.php:150
1343
  "mm/dd/yyyy. For no expiration, leave blank"
1344
  msgstr ""
1345
 
1346
+ #: includes/admin/discounts/edit-discount.php:169
1347
+ msgid ""
1348
+ "The minimum amount that must be purchased before this discount can be used. "
1349
+ "Leave blank for no minimum."
1350
+ msgstr ""
1351
+
1352
  #: includes/admin/discounts/edit-discount.php:182
1353
  msgid "The status of this discount code."
1354
  msgstr ""
1677
  "who purchased this product can access their download links."
1678
  msgstr ""
1679
 
1680
+ #: includes/admin/downloads/metabox.php:976
1681
  msgid "Ignore Tax:"
1682
  msgstr ""
1683
 
1684
+ #: includes/admin/downloads/metabox.php:982
1685
  msgid "Mark this product as exclusive of tax"
1686
  msgstr ""
1687
 
1688
+ #: includes/admin/downloads/metabox.php:1004
1689
  msgid "Item Quantities:"
1690
  msgstr ""
1691
 
1692
+ #: includes/admin/downloads/metabox.php:1010
1693
  msgid "Disable quantity input for this product"
1694
  msgstr ""
1695
 
1696
+ #: includes/admin/downloads/metabox.php:1012
1697
  msgid ""
1698
  "<strong>Item Quantities</strong>: if disabled, customers will not be "
1699
  "provided an option to change the number they wish to purchase."
1700
  msgstr ""
1701
 
1702
+ #: includes/admin/downloads/metabox.php:1031
1703
  #: includes/admin/settings/register-settings.php:737
1704
  #: includes/admin/thickbox.php:59 includes/checkout/template.php:893
1705
  #: includes/shortcodes.php:49 includes/template-functions.php:78
1706
  msgid "Purchase"
1707
  msgstr ""
1708
 
1709
+ #: includes/admin/downloads/metabox.php:1038
1710
  msgid "Purchase Shortcode:"
1711
  msgstr ""
1712
 
1713
+ #: includes/admin/downloads/metabox.php:1039
1714
  msgid ""
1715
  "<strong>Purchse Shortcode</strong>: Use this shortcode to output a purchase "
1716
  "link for this product in the location of your choosing."
1717
  msgstr ""
1718
 
1719
+ #: includes/admin/downloads/metabox.php:1060
1720
  msgid "Accounting Options:"
1721
  msgstr ""
1722
 
1723
+ #: includes/admin/downloads/metabox.php:1068
1724
  msgid "Enter an SKU for this %s."
1725
  msgstr ""
1726
 
1727
+ #: includes/admin/downloads/metabox.php:1087
1728
  msgid "Button Options:"
1729
  msgstr ""
1730
 
1731
+ #: includes/admin/downloads/metabox.php:1094
1732
  msgid "Disable the automatic output of the purchase button"
1733
  msgstr ""
1734
 
1735
+ #: includes/admin/downloads/metabox.php:1095
1736
  msgid ""
1737
  "<strong>Automatic Output</strong>: By default, the purchase buttons will be "
1738
  "displayed at the bottom of the download, when disabled you will need to use "
1740
  "where you prefer."
1741
  msgstr ""
1742
 
1743
+ #: includes/admin/downloads/metabox.php:1105
1744
  #: includes/admin/settings/register-settings.php:751
1745
  #: includes/admin/thickbox.php:97
1746
  msgid "Add to Cart"
1747
  msgstr ""
1748
 
1749
+ #: includes/admin/downloads/metabox.php:1106
1750
  #: includes/admin/settings/register-settings.php:758 includes/shortcodes.php:47
1751
  #: includes/template-functions.php:78
1752
  msgid "Buy Now"
1753
  msgstr ""
1754
 
1755
+ #: includes/admin/downloads/metabox.php:1119
1756
  msgid "Purchase button behavior"
1757
  msgstr ""
1758
 
1759
+ #: includes/admin/downloads/metabox.php:1121
1760
  msgid ""
1761
  "<strong>Button Behavior</strong>: Add to Cart buttons follow a traditional "
1762
  "eCommerce flow. A Buy Now button bypasses most of the process, taking the "
1764
  "process of buying the product."
1765
  msgstr ""
1766
 
1767
+ #: includes/admin/downloads/metabox.php:1123
1768
  msgid ""
1769
  "<strong>Button Behavior</strong>: Add to Cart buttons follow a traditional "
1770
  "eCommerce flow. Buy Now buttons are only available for stores that have a "
1771
  "single supported gateway active and that do not use taxes."
1772
  msgstr ""
1773
 
1774
+ #: includes/admin/downloads/metabox.php:1161
1775
  msgid ""
1776
  "Special notes or instructions for this product. These notes will be added "
1777
  "to the purchase receipt."
1778
  msgstr ""
1779
 
1780
+ #: includes/admin/downloads/metabox.php:1188
1781
  msgid "Sales:"
1782
  msgstr ""
1783
 
1784
+ #: includes/admin/downloads/metabox.php:1193
1785
  msgid "Earnings:"
1786
  msgstr ""
1787
 
1788
+ #: includes/admin/downloads/metabox.php:1200
1789
  msgid "View File Download Log"
1790
  msgstr ""
1791
 
1792
+ #: includes/admin/downloads/metabox.php:1234
1793
  msgid "Activate Reviews"
1794
  msgstr ""
1795
 
1796
+ #: includes/admin/downloads/metabox.php:1247
1797
  msgid ""
1798
  "Would you like to enable reviews for this product? Check out our <a "
1799
  "target=\"_blank\" href=\"%s\">Product Reviews</a> extension."
5551
  msgid "Once Weekly"
5552
  msgstr ""
5553
 
5554
+ #: includes/class-edd-customer.php:201 includes/class-edd-discount.php:254
5555
  #: includes/class-edd-download.php:196
5556
  msgid "Can't get property %s"
5557
  msgstr ""
7119
  msgid "Your cart is empty"
7120
  msgstr ""
7121
 
7122
+ #: includes/process-purchase.php:198
7123
+ msgid "The email address %s is already in use."
7124
+ msgstr ""
7125
+
7126
  #: includes/process-purchase.php:317
7127
  msgid "The selected payment gateway is not enabled"
7128
  msgstr ""
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.11
10
  License: GNU Version 2 or Any Later Version
11
 
12
  The easiest way to sell digital products with WordPress.
@@ -213,6 +213,12 @@ Yes. Easy Digital Downloads also includes default support for Amazon Payments an
213
 
214
  == Changelog ==
215
 
 
 
 
 
 
 
216
  = 2.8.11, November 9, 2017 =
217
  * Fix: Incorrect discount errors could be shown at checkout.
218
  * Fix: Improved the performance of the EDD_Customer class.
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.12
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.12, November 10, 2017 =
217
+ * Fix: Reverted some of the performance improvements due to edge case errors.
218
+ * Fix: Corrected a misspelled function edd_render_dowwn_tax_options.
219
+ * Fix: Invalid translation line while processing purchase.
220
+ * Fix: Improved the verbiage of the discount code amount description.
221
+
222
  = 2.8.11, November 9, 2017 =
223
  * Fix: Incorrect discount errors could be shown at checkout.
224
  * Fix: Improved the performance of the EDD_Customer class.