Easy Digital Downloads - Version 2.9.3

Version Description

Download this release

Release Info

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

Code changes from version 2.9.2 to 2.9.3

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.9.2
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.9.2
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.9.2' );
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.9.3
9
  * Text Domain: easy-digital-downloads
10
  * Domain Path: languages
11
  *
25
  * @package EDD
26
  * @category Core
27
  * @author Pippin Williamson
28
+ * @version 2.9.3
29
  */
30
 
31
  // Exit if accessed directly.
206
 
207
  // Plugin version.
208
  if ( ! defined( 'EDD_VERSION' ) ) {
209
+ define( 'EDD_VERSION', '2.9.3' );
210
  }
211
 
212
  // Plugin Folder Path.
includes/admin/settings/register-settings.php CHANGED
@@ -856,13 +856,13 @@ function edd_get_registered_settings() {
856
  'show_agree_to_terms' => array(
857
  'id' => 'show_agree_to_terms',
858
  'name' => __( 'Agree to Terms', 'easy-digital-downloads' ),
859
- 'desc' => __( 'Check this to show an agree to terms on the checkout that users must agree to before purchasing.', 'easy-digital-downloads' ),
860
  'type' => 'checkbox',
861
  ),
862
  'agree_label' => array(
863
  'id' => 'agree_label',
864
  'name' => __( 'Agree to Terms Label', 'easy-digital-downloads' ),
865
- 'desc' => __( 'Label shown next to the agree to terms check box.', 'easy-digital-downloads' ),
866
  'type' => 'text',
867
  'size' => 'regular',
868
  ),
@@ -892,7 +892,7 @@ function edd_get_registered_settings() {
892
  'size' => 'regular',
893
  ),
894
  'show_privacy_policy_on_checkout' => array(
895
- 'id' => 'show_agree_to_privacy_policy_on_checkout',
896
  'name' => __( 'Show the Privacy Policy on checkout', 'easy-digital-downloads' ),
897
  'desc' => __( 'Display your Privacy Policy on checkout.', 'easy-digital-downloads' ) . ' <a href="' . esc_attr( admin_url( 'privacy.php' ) ) . '">' . __( 'Set your Privacy Policy here', 'easy-digital-downloads' ) .'</a>.',
898
  'type' => 'checkbox',
856
  'show_agree_to_terms' => array(
857
  'id' => 'show_agree_to_terms',
858
  'name' => __( 'Agree to Terms', 'easy-digital-downloads' ),
859
+ 'desc' => __( 'Check this to show an agree to terms on checkout that users must agree to before purchasing.', 'easy-digital-downloads' ),
860
  'type' => 'checkbox',
861
  ),
862
  'agree_label' => array(
863
  'id' => 'agree_label',
864
  'name' => __( 'Agree to Terms Label', 'easy-digital-downloads' ),
865
+ 'desc' => __( 'Label shown next to the agree to terms checkbox.', 'easy-digital-downloads' ),
866
  'type' => 'text',
867
  'size' => 'regular',
868
  ),
892
  'size' => 'regular',
893
  ),
894
  'show_privacy_policy_on_checkout' => array(
895
+ 'id' => 'show_privacy_policy_on_checkout',
896
  'name' => __( 'Show the Privacy Policy on checkout', 'easy-digital-downloads' ),
897
  'desc' => __( 'Display your Privacy Policy on checkout.', 'easy-digital-downloads' ) . ' <a href="' . esc_attr( admin_url( 'privacy.php' ) ) . '">' . __( 'Set your Privacy Policy here', 'easy-digital-downloads' ) .'</a>.',
898
  'type' => 'checkbox',
includes/admin/upgrades/upgrade-functions.php CHANGED
@@ -46,6 +46,15 @@ function edd_do_automatic_upgrades() {
46
  $tracking->send_checkin( false, true );
47
  }
48
 
 
 
 
 
 
 
 
 
 
49
  }
50
  add_action( 'admin_init', 'edd_do_automatic_upgrades' );
51
 
46
  $tracking->send_checkin( false, true );
47
  }
48
 
49
+ $fix_show_privacy_policy_setting = edd_get_option( 'show_agree_to_privacy_policy_on_checkout', false );
50
+ if ( ! empty( $fix_show_privacy_policy_setting ) ) {
51
+
52
+ edd_update_option( 'show_privacy_policy_on_checkout', $fix_show_privacy_policy_setting );
53
+
54
+ edd_delete_option( 'show_agree_to_privacy_policy_on_checkout' );
55
+
56
+ }
57
+
58
  }
59
  add_action( 'admin_init', 'edd_do_automatic_upgrades' );
60
 
includes/checkout/template.php CHANGED
@@ -783,29 +783,33 @@ function edd_terms_agreement() {
783
  <a href="#" class="edd_terms_links" style="display:none;"><?php _e( 'Hide Terms', 'easy-digital-downloads' ); ?></a>
784
  </div>
785
 
786
- <?php if ( '1' !== edd_get_option( 'show_agree_to_privacy_policy', false ) && '1' === edd_get_option( 'show_agree_to_privacy_policy_on_checkout', false ) ) : ?>
787
  <?php
788
- $agree_page = get_option( 'wp_page_for_privacy_policy' );
789
- $agree_label = edd_get_option( 'privacy_agree_label', __( 'Agree to Terms?', 'easy-digital-downloads' ) );
790
- $agreement_text = get_post_field( 'post_content', $agree_page );
791
- ?>
792
 
793
- <?php if ( ! empty( $agreement_text ) ) : ?>
794
- <div id="edd-privacy-policy" class="edd-terms" style="display:none;">
795
- <?php
796
- do_action( 'edd_before_privacy_policy' );
797
- echo wpautop( do_shortcode( stripslashes( $agreement_text ) ) );
798
- do_action( 'edd_after_privacy_policy' );
799
- ?>
800
- </div>
801
- <div id="edd-show-privacy-policy" class="edd-show-terms">
802
- <a href="#" class="edd_terms_links"><?php _e( 'Show Privacy Policy', 'easy-digital-downloads' ); ?></a>
803
- <a href="#" class="edd_terms_links" style="display:none;"><?php _e( 'Hide Privacy Policy', 'easy-digital-downloads' ); ?></a>
804
- </div>
805
- <?php endif; ?>
806
 
807
- <?php endif; ?>
 
 
808
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
809
  <div class="edd-terms-agreement">
810
  <input name="edd_agree_to_terms" class="required" type="checkbox" id="edd_agree_to_terms" value="1"/>
811
  <label for="edd_agree_to_terms"><?php echo stripslashes( $agree_label ); ?></label>
@@ -829,33 +833,40 @@ add_action( 'edd_purchase_form_before_submit', 'edd_terms_agreement' );
829
  * @return void
830
  */
831
  function edd_privacy_agreement() {
832
- if ( edd_get_option( 'show_agree_to_privacy_policy', false ) === '1' ) {
833
  $agree_label = edd_get_option( 'privacy_agree_label', __( 'Agree to Terms?', 'easy-digital-downloads' ) );
834
 
835
  ob_start();
836
  ?>
837
  <fieldset id="edd-privacy-policy-agreement">
838
 
839
- <?php if ( edd_get_option( 'show_agree_to_privacy_policy_on_checkout', false ) ) : ?>
840
-
841
  <?php
842
- $agree_page = get_option( 'wp_page_for_privacy_policy' );
843
- $agreement_text = get_post_field( 'post_content', $agree_page );
844
- ?>
845
 
846
- <div id="edd-privacy-policy" class="edd-terms" style="display:none;">
847
- <?php
848
- do_action( 'edd_before_privacy_policy' );
849
- echo wpautop( do_shortcode( stripslashes( $agreement_text ) ) );
850
- do_action( 'edd_after_privacy_policy' );
851
- ?>
852
- </div>
853
- <div id="edd-show-privacy-policy" class="edd-show-terms">
854
- <a href="#" class="edd_terms_links"><?php _e( 'Show Privacy Policy', 'easy-digital-downloads' ); ?></a>
855
- <a href="#" class="edd_terms_links" style="display:none;"><?php _e( 'Hide Privacy Policy', 'easy-digital-downloads' ); ?></a>
856
- </div>
857
 
858
- <?php endif; ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
859
 
860
  <div class="edd-privacy-policy-agreement">
861
  <input name="edd_agree_to_privacy_policy" class="required" type="checkbox" id="edd-agree-to-privacy-policy" value="1"/>
783
  <a href="#" class="edd_terms_links" style="display:none;"><?php _e( 'Hide Terms', 'easy-digital-downloads' ); ?></a>
784
  </div>
785
 
786
+ <?php if ( '1' !== edd_get_option( 'show_agree_to_privacy_policy', false ) && '1' === edd_get_option( 'show_privacy_policy_on_checkout', false ) ) : ?>
787
  <?php
 
 
 
 
788
 
789
+ $privacy_page = get_option( 'wp_page_for_privacy_policy' );
 
 
 
 
 
 
 
 
 
 
 
 
790
 
791
+ if ( ! empty( $privacy_page ) ) {
792
+
793
+ $privacy_text = get_post_field( 'post_content', $privacy_page );
794
 
795
+ if ( ! empty( $privacy_text ) ) {
796
+ ?>
797
+ <div id="edd-privacy-policy" class="edd-terms" style="display:none;">
798
+ <?php
799
+ do_action( 'edd_before_privacy_policy' );
800
+ echo wpautop( do_shortcode( stripslashes( $privacy_text ) ) );
801
+ do_action( 'edd_after_privacy_policy' );
802
+ ?>
803
+ </div>
804
+ <div id="edd-show-privacy-policy" class="edd-show-terms">
805
+ <a href="#" class="edd_terms_links"><?php _e( 'Show Privacy Policy', 'easy-digital-downloads' ); ?></a>
806
+ <a href="#" class="edd_terms_links" style="display:none;"><?php _e( 'Hide Privacy Policy', 'easy-digital-downloads' ); ?></a>
807
+ </div>
808
+ <?php
809
+ }
810
+
811
+ }
812
+ endif ?>
813
  <div class="edd-terms-agreement">
814
  <input name="edd_agree_to_terms" class="required" type="checkbox" id="edd_agree_to_terms" value="1"/>
815
  <label for="edd_agree_to_terms"><?php echo stripslashes( $agree_label ); ?></label>
833
  * @return void
834
  */
835
  function edd_privacy_agreement() {
836
+ if ( '1' === edd_get_option( 'show_agree_to_privacy_policy', false ) ) {
837
  $agree_label = edd_get_option( 'privacy_agree_label', __( 'Agree to Terms?', 'easy-digital-downloads' ) );
838
 
839
  ob_start();
840
  ?>
841
  <fieldset id="edd-privacy-policy-agreement">
842
 
843
+ <?php if ( '1' === edd_get_option( 'show_privacy_policy_on_checkout', false ) ) : ?>
 
844
  <?php
 
 
 
845
 
846
+ $privacy_page = get_option( 'wp_page_for_privacy_policy' );
 
 
 
 
 
 
 
 
 
 
847
 
848
+ if ( ! empty( $privacy_page ) ) {
849
+
850
+ $privacy_text = get_post_field( 'post_content', $privacy_page );
851
+
852
+ if ( ! empty( $privacy_text ) ) {
853
+ ?>
854
+ <div id="edd-privacy-policy" class="edd-terms" style="display:none;">
855
+ <?php
856
+ do_action( 'edd_before_privacy_policy' );
857
+ echo wpautop( do_shortcode( stripslashes( $privacy_text ) ) );
858
+ do_action( 'edd_after_privacy_policy' );
859
+ ?>
860
+ </div>
861
+ <div id="edd-show-privacy-policy" class="edd-show-terms">
862
+ <a href="#" class="edd_terms_links"><?php _e( 'Show Privacy Policy', 'easy-digital-downloads' ); ?></a>
863
+ <a href="#" class="edd_terms_links" style="display:none;"><?php _e( 'Hide Privacy Policy', 'easy-digital-downloads' ); ?></a>
864
+ </div>
865
+ <?php
866
+ }
867
+
868
+ }
869
+ endif ?>
870
 
871
  <div class="edd-privacy-policy-agreement">
872
  <input name="edd_agree_to_privacy_policy" class="required" type="checkbox" id="edd-agree-to-privacy-policy" value="1"/>
includes/privacy-functions.php CHANGED
@@ -190,7 +190,7 @@ function edd_log_terms_and_privacy_times( $payment_id, $payment_data ) {
190
  }
191
 
192
  if ( ! empty( $payment_data['agree_to_privacy_time'] ) ) {
193
- $customer->add_meta( 'agree_to_privacy_time', $payment_data['agree_to_terms_time'] );
194
  }
195
  }
196
  add_action( 'edd_insert_payment', 'edd_log_terms_and_privacy_times', 10, 2 );
190
  }
191
 
192
  if ( ! empty( $payment_data['agree_to_privacy_time'] ) ) {
193
+ $customer->add_meta( 'agree_to_privacy_time', $payment_data['agree_to_privacy_time'] );
194
  }
195
  }
196
  add_action( 'edd_insert_payment', 'edd_log_terms_and_privacy_times', 10, 2 );
includes/process-purchase.php CHANGED
@@ -264,12 +264,12 @@ function edd_purchase_form_validate_fields() {
264
  );
265
 
266
  // Validate agree to terms
267
- if ( edd_get_option( 'show_agree_to_terms', false ) ) {
268
  edd_purchase_form_validate_agree_to_terms();
269
  }
270
 
271
  // Validate agree to privacy policy
272
- if ( edd_get_option( 'show_agree_to_privacy_policy', false ) ) {
273
  edd_purchase_form_validate_agree_to_privacy_policy();
274
  }
275
 
264
  );
265
 
266
  // Validate agree to terms
267
+ if ( '1' === edd_get_option( 'show_agree_to_terms', false ) ) {
268
  edd_purchase_form_validate_agree_to_terms();
269
  }
270
 
271
  // Validate agree to privacy policy
272
+ if ( '1' === edd_get_option( 'show_agree_to_privacy_policy', false ) ) {
273
  edd_purchase_form_validate_agree_to_privacy_policy();
274
  }
275
 
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.9.2\n"
6
  "Report-Msgid-Bugs-To: https://easydigitaldownloads.com/\n"
7
- "POT-Creation-Date: 2018-05-24 22:51:15+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -80,14 +80,14 @@ msgstr ""
80
  #: includes/admin/tools/class-edd-tools-reset-stats.php:179
81
  #: includes/admin/tools.php:1027 includes/admin/tools.php:1033
82
  #: includes/admin/upgrades/classes/class-file-download-log-migration.php:151
83
- #: includes/admin/upgrades/upgrade-functions.php:212
84
- #: includes/admin/upgrades/upgrade-functions.php:528
85
- #: includes/admin/upgrades/upgrade-functions.php:610
86
- #: includes/admin/upgrades/upgrade-functions.php:721
87
- #: includes/admin/upgrades/upgrade-functions.php:818
88
- #: includes/admin/upgrades/upgrade-functions.php:892
89
- #: includes/admin/upgrades/upgrade-functions.php:1020
90
- #: includes/admin/upgrades/upgrade-functions.php:1105
91
  #: includes/api/class-edd-api.php:1967 includes/api/class-edd-api.php:1972
92
  #: includes/api/class-edd-api.php:1984 includes/api/class-edd-api.php:1986
93
  #: includes/cart/class-edd-cart.php:1423 includes/cart/class-edd-cart.php:1437
@@ -1765,7 +1765,7 @@ msgstr ""
1765
 
1766
  #: includes/admin/downloads/metabox.php:1031
1767
  #: includes/admin/settings/register-settings.php:744
1768
- #: includes/admin/thickbox.php:59 includes/checkout/template.php:965
1769
  #: includes/shortcodes.php:49 includes/template-functions.php:78
1770
  msgid "Purchase"
1771
  msgstr ""
@@ -3992,7 +3992,7 @@ msgid "The button label for completing a free purchase."
3992
  msgstr ""
3993
 
3994
  #: includes/admin/settings/register-settings.php:751
3995
- #: includes/checkout/template.php:968
3996
  msgid "Free Download"
3997
  msgstr ""
3998
 
@@ -4156,8 +4156,8 @@ msgstr ""
4156
 
4157
  #: includes/admin/settings/register-settings.php:859
4158
  msgid ""
4159
- "Check this to show an agree to terms on the checkout that users must agree "
4160
- "to before purchasing."
4161
  msgstr ""
4162
 
4163
  #: includes/admin/settings/register-settings.php:864
@@ -4165,7 +4165,7 @@ msgid "Agree to Terms Label"
4165
  msgstr ""
4166
 
4167
  #: includes/admin/settings/register-settings.php:865
4168
- msgid "Label shown next to the agree to terms check box."
4169
  msgstr ""
4170
 
4171
  #: includes/admin/settings/register-settings.php:871
@@ -4903,140 +4903,140 @@ msgstr ""
4903
  msgid "File download logs updated successfully."
4904
  msgstr ""
4905
 
4906
- #: includes/admin/upgrades/upgrade-functions.php:78
4907
  msgid "The Payment History needs to be updated. %s"
4908
  msgstr ""
4909
 
4910
- #: includes/admin/upgrades/upgrade-functions.php:78
4911
  msgid "Click to Upgrade"
4912
  msgstr ""
4913
 
4914
- #: includes/admin/upgrades/upgrade-functions.php:84
4915
  msgid ""
4916
  "The Purchase and File Download History in Easy Digital Downloads needs to "
4917
  "be upgraded, click %shere%s to start the upgrade."
4918
  msgstr ""
4919
 
4920
- #: includes/admin/upgrades/upgrade-functions.php:92
4921
  msgid ""
4922
  "Easy Digital Downloads needs to upgrade the plugin pages, click %shere%s to "
4923
  "start the upgrade."
4924
  msgstr ""
4925
 
4926
- #: includes/admin/upgrades/upgrade-functions.php:100
4927
- #: includes/admin/upgrades/upgrade-functions.php:108
4928
  msgid ""
4929
  "Easy Digital Downloads needs to upgrade the database, click %shere%s to "
4930
  "start the upgrade."
4931
  msgstr ""
4932
 
4933
- #: includes/admin/upgrades/upgrade-functions.php:120
4934
  msgid ""
4935
  "Easy Digital Downloads needs to complete a database upgrade that was "
4936
  "previously started, click <a href=\"%s\">here</a> to resume the upgrade."
4937
  msgstr ""
4938
 
4939
- #: includes/admin/upgrades/upgrade-functions.php:131
4940
  msgid ""
4941
  "Easy Digital Downloads needs to upgrade past order numbers to make them "
4942
  "sequential, click <a href=\"%s\">here</a> to start the upgrade."
4943
  msgstr ""
4944
 
4945
- #: includes/admin/upgrades/upgrade-functions.php:138
4946
  msgid ""
4947
  "Easy Digital Downloads needs to upgrade the customer database, click "
4948
  "%shere%s to start the upgrade."
4949
  msgstr ""
4950
 
4951
- #: includes/admin/upgrades/upgrade-functions.php:146
4952
- #: includes/admin/upgrades/upgrade-functions.php:160
4953
  msgid ""
4954
  "Easy Digital Downloads needs to upgrade the payment database, click <a "
4955
  "href=\"%s\">here</a> to start the upgrade."
4956
  msgstr ""
4957
 
4958
- #: includes/admin/upgrades/upgrade-functions.php:153
4959
  msgid ""
4960
  "Easy Digital Downloads needs to upgrade the customer database, click <a "
4961
  "href=\"%s\">here</a> to start the upgrade."
4962
  msgstr ""
4963
 
4964
- #: includes/admin/upgrades/upgrade-functions.php:167
4965
  msgid ""
4966
  "Easy Digital Downloads needs to upgrade the API Key database, click <a "
4967
  "href=\"%s\">here</a> to start the upgrade."
4968
  msgstr ""
4969
 
4970
- #: includes/admin/upgrades/upgrade-functions.php:174
4971
  msgid ""
4972
  "Easy Digital Downloads needs to upgrade the payments database, click <a "
4973
  "href=\"%s\">here</a> to start the upgrade."
4974
  msgstr ""
4975
 
4976
- #: includes/admin/upgrades/upgrade-functions.php:181
4977
  msgid ""
4978
  "Easy Digital Downloads needs to upgrade the file download logs database, "
4979
  "click <a href=\"%s\">here</a> to start the upgrade."
4980
  msgstr ""
4981
 
4982
- #: includes/admin/upgrades/upgrade-functions.php:212
4983
- #: includes/admin/upgrades/upgrade-functions.php:528
4984
- #: includes/admin/upgrades/upgrade-functions.php:610
4985
- #: includes/admin/upgrades/upgrade-functions.php:721
4986
- #: includes/admin/upgrades/upgrade-functions.php:818
4987
- #: includes/admin/upgrades/upgrade-functions.php:892
4988
- #: includes/admin/upgrades/upgrade-functions.php:1020
4989
- #: includes/admin/upgrades/upgrade-functions.php:1105
4990
  msgid "You do not have permission to do shop upgrades"
4991
  msgstr ""
4992
 
4993
- #: includes/admin/upgrades/upgrade-functions.php:381 includes/install.php:129
4994
  msgid "Transaction Failed"
4995
  msgstr ""
4996
 
4997
- #: includes/admin/upgrades/upgrade-functions.php:382 includes/install.php:130
4998
  msgid "Your transaction failed, please try again or contact site support."
4999
  msgstr ""
5000
 
5001
- #: includes/admin/upgrades/upgrade-functions.php:1181
5002
  msgid ""
5003
  "<strong>Migration complete:</strong> You have already completed the update "
5004
  "to the file download logs."
5005
  msgstr ""
5006
 
5007
- #: includes/admin/upgrades/upgrade-functions.php:1189
5008
  msgid ""
5009
  "<strong>Database Upgrade Complete:</strong> All database upgrades have been "
5010
  "completed."
5011
  msgstr ""
5012
 
5013
- #: includes/admin/upgrades/upgrade-functions.php:1191
5014
  msgid "You may now leave this page."
5015
  msgstr ""
5016
 
5017
- #: includes/admin/upgrades/upgrade-functions.php:1197
5018
  msgid ""
5019
  "<strong>Important:</strong> Please leave this screen open and do not "
5020
  "navigate away until the process completes."
5021
  msgstr ""
5022
 
5023
- #: includes/admin/upgrades/upgrade-functions.php:1240
5024
  msgid "Update file download logs"
5025
  msgstr ""
5026
 
5027
- #: includes/admin/upgrades/upgrade-functions.php:1245
5028
  msgid ""
5029
  "This will update the file download logs to remove some <abbr "
5030
  "title=\"Personally Identifiable Information\">PII</abbr> and make file "
5031
  "download counts more accurate."
5032
  msgstr ""
5033
 
5034
- #: includes/admin/upgrades/upgrade-functions.php:1254
5035
- #: includes/admin/upgrades/upgrade-functions.php:1257
5036
  msgid "Update File Download Logs"
5037
  msgstr ""
5038
 
5039
- #: includes/admin/upgrades/upgrade-functions.php:1258
5040
  msgid "File download logs have already been updated."
5041
  msgstr ""
5042
 
@@ -5430,8 +5430,7 @@ msgstr ""
5430
  msgid "Enter discount"
5431
  msgstr ""
5432
 
5433
- #: includes/checkout/template.php:769 includes/checkout/template.php:789
5434
- #: includes/checkout/template.php:833
5435
  msgid "Agree to Terms?"
5436
  msgstr ""
5437
 
@@ -5443,23 +5442,23 @@ msgstr ""
5443
  msgid "Hide Terms"
5444
  msgstr ""
5445
 
5446
- #: includes/checkout/template.php:802 includes/checkout/template.php:854
5447
  msgid "Show Privacy Policy"
5448
  msgstr ""
5449
 
5450
- #: includes/checkout/template.php:803 includes/checkout/template.php:855
5451
  msgid "Hide Privacy Policy"
5452
  msgstr ""
5453
 
5454
- #: includes/checkout/template.php:882
5455
  msgid "Purchase Total:"
5456
  msgstr ""
5457
 
5458
- #: includes/checkout/template.php:908
5459
  msgid "Go back"
5460
  msgstr ""
5461
 
5462
- #: includes/checkout/template.php:931
5463
  msgid "Next"
5464
  msgstr ""
5465
 
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.9.3\n"
6
  "Report-Msgid-Bugs-To: https://easydigitaldownloads.com/\n"
7
+ "POT-Creation-Date: 2018-05-25 16:39:09+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
80
  #: includes/admin/tools/class-edd-tools-reset-stats.php:179
81
  #: includes/admin/tools.php:1027 includes/admin/tools.php:1033
82
  #: includes/admin/upgrades/classes/class-file-download-log-migration.php:151
83
+ #: includes/admin/upgrades/upgrade-functions.php:221
84
+ #: includes/admin/upgrades/upgrade-functions.php:537
85
+ #: includes/admin/upgrades/upgrade-functions.php:619
86
+ #: includes/admin/upgrades/upgrade-functions.php:730
87
+ #: includes/admin/upgrades/upgrade-functions.php:827
88
+ #: includes/admin/upgrades/upgrade-functions.php:901
89
+ #: includes/admin/upgrades/upgrade-functions.php:1029
90
+ #: includes/admin/upgrades/upgrade-functions.php:1114
91
  #: includes/api/class-edd-api.php:1967 includes/api/class-edd-api.php:1972
92
  #: includes/api/class-edd-api.php:1984 includes/api/class-edd-api.php:1986
93
  #: includes/cart/class-edd-cart.php:1423 includes/cart/class-edd-cart.php:1437
1765
 
1766
  #: includes/admin/downloads/metabox.php:1031
1767
  #: includes/admin/settings/register-settings.php:744
1768
+ #: includes/admin/thickbox.php:59 includes/checkout/template.php:976
1769
  #: includes/shortcodes.php:49 includes/template-functions.php:78
1770
  msgid "Purchase"
1771
  msgstr ""
3992
  msgstr ""
3993
 
3994
  #: includes/admin/settings/register-settings.php:751
3995
+ #: includes/checkout/template.php:979
3996
  msgid "Free Download"
3997
  msgstr ""
3998
 
4156
 
4157
  #: includes/admin/settings/register-settings.php:859
4158
  msgid ""
4159
+ "Check this to show an agree to terms on checkout that users must agree to "
4160
+ "before purchasing."
4161
  msgstr ""
4162
 
4163
  #: includes/admin/settings/register-settings.php:864
4165
  msgstr ""
4166
 
4167
  #: includes/admin/settings/register-settings.php:865
4168
+ msgid "Label shown next to the agree to terms checkbox."
4169
  msgstr ""
4170
 
4171
  #: includes/admin/settings/register-settings.php:871
4903
  msgid "File download logs updated successfully."
4904
  msgstr ""
4905
 
4906
+ #: includes/admin/upgrades/upgrade-functions.php:87
4907
  msgid "The Payment History needs to be updated. %s"
4908
  msgstr ""
4909
 
4910
+ #: includes/admin/upgrades/upgrade-functions.php:87
4911
  msgid "Click to Upgrade"
4912
  msgstr ""
4913
 
4914
+ #: includes/admin/upgrades/upgrade-functions.php:93
4915
  msgid ""
4916
  "The Purchase and File Download History in Easy Digital Downloads needs to "
4917
  "be upgraded, click %shere%s to start the upgrade."
4918
  msgstr ""
4919
 
4920
+ #: includes/admin/upgrades/upgrade-functions.php:101
4921
  msgid ""
4922
  "Easy Digital Downloads needs to upgrade the plugin pages, click %shere%s to "
4923
  "start the upgrade."
4924
  msgstr ""
4925
 
4926
+ #: includes/admin/upgrades/upgrade-functions.php:109
4927
+ #: includes/admin/upgrades/upgrade-functions.php:117
4928
  msgid ""
4929
  "Easy Digital Downloads needs to upgrade the database, click %shere%s to "
4930
  "start the upgrade."
4931
  msgstr ""
4932
 
4933
+ #: includes/admin/upgrades/upgrade-functions.php:129
4934
  msgid ""
4935
  "Easy Digital Downloads needs to complete a database upgrade that was "
4936
  "previously started, click <a href=\"%s\">here</a> to resume the upgrade."
4937
  msgstr ""
4938
 
4939
+ #: includes/admin/upgrades/upgrade-functions.php:140
4940
  msgid ""
4941
  "Easy Digital Downloads needs to upgrade past order numbers to make them "
4942
  "sequential, click <a href=\"%s\">here</a> to start the upgrade."
4943
  msgstr ""
4944
 
4945
+ #: includes/admin/upgrades/upgrade-functions.php:147
4946
  msgid ""
4947
  "Easy Digital Downloads needs to upgrade the customer database, click "
4948
  "%shere%s to start the upgrade."
4949
  msgstr ""
4950
 
4951
+ #: includes/admin/upgrades/upgrade-functions.php:155
4952
+ #: includes/admin/upgrades/upgrade-functions.php:169
4953
  msgid ""
4954
  "Easy Digital Downloads needs to upgrade the payment database, click <a "
4955
  "href=\"%s\">here</a> to start the upgrade."
4956
  msgstr ""
4957
 
4958
+ #: includes/admin/upgrades/upgrade-functions.php:162
4959
  msgid ""
4960
  "Easy Digital Downloads needs to upgrade the customer database, click <a "
4961
  "href=\"%s\">here</a> to start the upgrade."
4962
  msgstr ""
4963
 
4964
+ #: includes/admin/upgrades/upgrade-functions.php:176
4965
  msgid ""
4966
  "Easy Digital Downloads needs to upgrade the API Key database, click <a "
4967
  "href=\"%s\">here</a> to start the upgrade."
4968
  msgstr ""
4969
 
4970
+ #: includes/admin/upgrades/upgrade-functions.php:183
4971
  msgid ""
4972
  "Easy Digital Downloads needs to upgrade the payments database, click <a "
4973
  "href=\"%s\">here</a> to start the upgrade."
4974
  msgstr ""
4975
 
4976
+ #: includes/admin/upgrades/upgrade-functions.php:190
4977
  msgid ""
4978
  "Easy Digital Downloads needs to upgrade the file download logs database, "
4979
  "click <a href=\"%s\">here</a> to start the upgrade."
4980
  msgstr ""
4981
 
4982
+ #: includes/admin/upgrades/upgrade-functions.php:221
4983
+ #: includes/admin/upgrades/upgrade-functions.php:537
4984
+ #: includes/admin/upgrades/upgrade-functions.php:619
4985
+ #: includes/admin/upgrades/upgrade-functions.php:730
4986
+ #: includes/admin/upgrades/upgrade-functions.php:827
4987
+ #: includes/admin/upgrades/upgrade-functions.php:901
4988
+ #: includes/admin/upgrades/upgrade-functions.php:1029
4989
+ #: includes/admin/upgrades/upgrade-functions.php:1114
4990
  msgid "You do not have permission to do shop upgrades"
4991
  msgstr ""
4992
 
4993
+ #: includes/admin/upgrades/upgrade-functions.php:390 includes/install.php:129
4994
  msgid "Transaction Failed"
4995
  msgstr ""
4996
 
4997
+ #: includes/admin/upgrades/upgrade-functions.php:391 includes/install.php:130
4998
  msgid "Your transaction failed, please try again or contact site support."
4999
  msgstr ""
5000
 
5001
+ #: includes/admin/upgrades/upgrade-functions.php:1190
5002
  msgid ""
5003
  "<strong>Migration complete:</strong> You have already completed the update "
5004
  "to the file download logs."
5005
  msgstr ""
5006
 
5007
+ #: includes/admin/upgrades/upgrade-functions.php:1198
5008
  msgid ""
5009
  "<strong>Database Upgrade Complete:</strong> All database upgrades have been "
5010
  "completed."
5011
  msgstr ""
5012
 
5013
+ #: includes/admin/upgrades/upgrade-functions.php:1200
5014
  msgid "You may now leave this page."
5015
  msgstr ""
5016
 
5017
+ #: includes/admin/upgrades/upgrade-functions.php:1206
5018
  msgid ""
5019
  "<strong>Important:</strong> Please leave this screen open and do not "
5020
  "navigate away until the process completes."
5021
  msgstr ""
5022
 
5023
+ #: includes/admin/upgrades/upgrade-functions.php:1249
5024
  msgid "Update file download logs"
5025
  msgstr ""
5026
 
5027
+ #: includes/admin/upgrades/upgrade-functions.php:1254
5028
  msgid ""
5029
  "This will update the file download logs to remove some <abbr "
5030
  "title=\"Personally Identifiable Information\">PII</abbr> and make file "
5031
  "download counts more accurate."
5032
  msgstr ""
5033
 
5034
+ #: includes/admin/upgrades/upgrade-functions.php:1263
5035
+ #: includes/admin/upgrades/upgrade-functions.php:1266
5036
  msgid "Update File Download Logs"
5037
  msgstr ""
5038
 
5039
+ #: includes/admin/upgrades/upgrade-functions.php:1267
5040
  msgid "File download logs have already been updated."
5041
  msgstr ""
5042
 
5430
  msgid "Enter discount"
5431
  msgstr ""
5432
 
5433
+ #: includes/checkout/template.php:769 includes/checkout/template.php:837
 
5434
  msgid "Agree to Terms?"
5435
  msgstr ""
5436
 
5442
  msgid "Hide Terms"
5443
  msgstr ""
5444
 
5445
+ #: includes/checkout/template.php:805 includes/checkout/template.php:862
5446
  msgid "Show Privacy Policy"
5447
  msgstr ""
5448
 
5449
+ #: includes/checkout/template.php:806 includes/checkout/template.php:863
5450
  msgid "Hide Privacy Policy"
5451
  msgstr ""
5452
 
5453
+ #: includes/checkout/template.php:893
5454
  msgid "Purchase Total:"
5455
  msgstr ""
5456
 
5457
+ #: includes/checkout/template.php:919
5458
  msgid "Go back"
5459
  msgstr ""
5460
 
5461
+ #: includes/checkout/template.php:942
5462
  msgid "Next"
5463
  msgstr ""
5464
 
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.6
9
- Stable Tag: 2.9.2
10
  License: GNU Version 2 or Any Later Version
11
 
12
  The easiest way to sell digital products with WordPress.
@@ -190,6 +190,11 @@ Yes. Easy Digital Downloads also includes default support for Amazon Payments an
190
 
191
  == Changelog ==
192
 
 
 
 
 
 
193
  = 2.9.2, May 24, 2018 =
194
  * GDPR: Support for WordPress Core Privacy Exporter and Eraser.
195
  * GDPR: Added Privacy Policy template for WordPress Core Privacy Policy editor.
@@ -198,7 +203,7 @@ Yes. Easy Digital Downloads also includes default support for Amazon Payments an
198
  * Fix: The toggle link to view the Privacy Policy was not working when the Terms of Agreement were not visible.
199
  * Fix: Email addresses that contained a + would not be removed via [edd_profile_editor].
200
  * Fix: Searching payments by discount code was not working.
201
- * New: Added action hook above short code download list.
202
  * New: Improve File download Log accuracy and remove PII from log meta.
203
  * New: Allow for target attribute of links in Terms of Service & Privacy Policy labels.
204
 
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.6
9
+ Stable Tag: 2.9.3
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.9.3, May 25, 2018 =
194
+ * Fix: Corrected multiple inconsistencies in the Privacy Policy Checkbox at checkout.
195
+ * Fix: Corrected an issue causing "You must agree to the privacy policy" from showing when it wasn't required.
196
+ * Dev: Complete Checkout button is no longer required to be a `submit` input.
197
+
198
  = 2.9.2, May 24, 2018 =
199
  * GDPR: Support for WordPress Core Privacy Exporter and Eraser.
200
  * GDPR: Added Privacy Policy template for WordPress Core Privacy Policy editor.
203
  * Fix: The toggle link to view the Privacy Policy was not working when the Terms of Agreement were not visible.
204
  * Fix: Email addresses that contained a + would not be removed via [edd_profile_editor].
205
  * Fix: Searching payments by discount code was not working.
206
+ * New: Added action hook above shortcode download list.
207
  * New: Improve File download Log accuracy and remove PII from log meta.
208
  * New: Allow for target attribute of links in Terms of Service & Privacy Policy labels.
209