Easy Digital Downloads - Version 2.9.8

Version Description

Download this release

Release Info

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

Code changes from version 2.9.7 to 2.9.8

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.7
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.7
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.7' );
210
  }
211
 
212
  // Plugin Folder Path.
@@ -402,7 +402,7 @@ final class Easy_Digital_Downloads {
402
  }
403
 
404
  /**
405
- * Defines the plugin language locale used in AffiliateWP.
406
  *
407
  * @var $get_locale The locale to use. Uses get_user_locale()` in WordPress 4.7 or greater,
408
  * otherwise uses `get_locale()`.
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.8
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.8
29
  */
30
 
31
  // Exit if accessed directly.
206
 
207
  // Plugin version.
208
  if ( ! defined( 'EDD_VERSION' ) ) {
209
+ define( 'EDD_VERSION', '2.9.8' );
210
  }
211
 
212
  // Plugin Folder Path.
402
  }
403
 
404
  /**
405
+ * Defines the plugin language locale used in Easy Digital Downloads.
406
  *
407
  * @var $get_locale The locale to use. Uses get_user_locale()` in WordPress 4.7 or greater,
408
  * otherwise uses `get_locale()`.
includes/admin/thickbox.php CHANGED
@@ -64,12 +64,16 @@ function edd_admin_footer_for_thickbox() {
64
  return;
65
  }
66
 
67
- if( '2' == direct ) {
68
  direct = ' direct="true"';
69
  } else {
70
  direct = '';
71
  }
72
 
 
 
 
 
73
  // Send the shortcode to the editor
74
  window.send_to_editor('[purchase_link id="' + id + '" style="' + style + '" color="' + color + '" text="' + text + '"' + direct +']');
75
  }
64
  return;
65
  }
66
 
67
+ if ( '2' == direct ) {
68
  direct = ' direct="true"';
69
  } else {
70
  direct = '';
71
  }
72
 
73
+ if ( 'text link' == style ) {
74
+ style = 'plain';
75
+ }
76
+
77
  // Send the shortcode to the editor
78
  window.send_to_editor('[purchase_link id="' + id + '" style="' + style + '" color="' + color + '" text="' + text + '"' + direct +']');
79
  }
includes/cart/class-edd-cart.php CHANGED
@@ -647,7 +647,8 @@ class EDD_Cart {
647
 
648
  $discounts = false === $discount ? $this->get_discounts() : array( $discount );
649
 
650
- if ( ! empty( $discounts ) ) {
 
651
  foreach ( $discounts as $discount ) {
652
  $code_id = edd_get_discount_id_by_code( $discount );
653
 
647
 
648
  $discounts = false === $discount ? $this->get_discounts() : array( $discount );
649
 
650
+ // If discounts exist, only apply them to non-free cart items
651
+ if ( ! empty( $discounts ) && 0.00 != $price ) {
652
  foreach ( $discounts as $discount ) {
653
  $code_id = edd_get_discount_id_by_code( $discount );
654
 
includes/gateways/amazon-payments.php CHANGED
@@ -1244,27 +1244,15 @@ final class EDD_Amazon_Payments {
1244
  * Retrieve the URL for connecting Amazon account to EDD
1245
  *
1246
  * @since 2.4
 
1247
  * @return string
1248
  */
1249
  private function get_registration_url() {
1250
-
1251
- switch ( edd_get_shop_country() ) {
1252
- case 'GB':
1253
- $base_url = 'https://payments.amazon.co.uk/preregistration/lpa';
1254
- break;
1255
- case 'DE':
1256
- $base_url = 'https://payments.amazon.de/preregistration/lpa';
1257
- break;
1258
- default:
1259
- $base_url = 'https://sellercentral.amazon.com/hz/me/sp/signup';
1260
- break;
1261
- }
1262
 
1263
  $query_args = array(
1264
- 'solutionProviderId' => 'A3JST9YM1SX7LB',
1265
- 'marketplaceId' => 'AGWSWK15IEJJ7',
1266
- 'solutionProviderToken' => 'AAAAAQAAAAEAAAAQnngerc8vYweGDt8byl2smgAAAHBgMm923quugHaGmPi%2B3sqo93TSL1aKwU85v71Zh7EXVK8De%2FuahjCFHft3cxN3rwAF4Iwg03sDW0jnkLULmFk7M1Fr69IV2XF477m0kU1EM0Z%2FbQssHdLai%2Fzoce1jZVmw8So3F2jhiDyfTHUK2AYP',
1267
- 'solutionProviderOptions' => 'lwa%3Bmws-acc%3B',
1268
  );
1269
 
1270
  return add_query_arg( $query_args, $base_url );
1244
  * Retrieve the URL for connecting Amazon account to EDD
1245
  *
1246
  * @since 2.4
1247
+ * @since 2.9.8 - Updated registration URL per Amazon Reps
1248
  * @return string
1249
  */
1250
  private function get_registration_url() {
1251
+ $base_url = 'https://payments.amazon.com/register';
 
 
 
 
 
 
 
 
 
 
 
1252
 
1253
  $query_args = array(
1254
+ 'registration_source' => 'SPPD',
1255
+ 'spId' => 'A3JST9YM1SX7LB',
 
 
1256
  );
1257
 
1258
  return add_query_arg( $query_args, $base_url );
includes/process-download.php CHANGED
@@ -131,7 +131,7 @@ function edd_process_download() {
131
  }
132
 
133
  // Allow the file to be altered before any headers are sent
134
- $requested_file = apply_filters( 'edd_requested_file', $requested_file, $download_files, $args['file_key'] );
135
 
136
  if( 'x_sendfile' == $method && ( ! function_exists( 'apache_get_modules' ) || ! in_array( 'mod_xsendfile', apache_get_modules() ) ) ) {
137
  // If X-Sendfile is selected but is not supported, fallback to Direct
131
  }
132
 
133
  // Allow the file to be altered before any headers are sent
134
+ $requested_file = apply_filters( 'edd_requested_file', $requested_file, $download_files, $args['file_key'], $args );
135
 
136
  if( 'x_sendfile' == $method && ( ! function_exists( 'apache_get_modules' ) || ! in_array( 'mod_xsendfile', apache_get_modules() ) ) ) {
137
  // If X-Sendfile is selected but is not supported, fallback to Direct
includes/shortcodes.php CHANGED
@@ -590,13 +590,15 @@ function edd_downloads_query( $atts, $content = null ) {
590
 
591
  do_action( 'edd_downloads_list_before', $atts );
592
 
 
 
593
  if ( $downloads->have_posts() ) :
594
  $i = 1;
595
  $columns_class = array( 'edd_download_columns_' . $atts['columns'] );
596
  $custom_classes = array_filter( explode( ',', $atts['class'] ) );
597
  $wrapper_classes = array_unique( array_merge( $columns_class, $custom_classes ) );
598
  $wrapper_classes = implode( ' ', $wrapper_classes );
599
- ob_start(); ?>
600
 
601
  <div class="edd_downloads_list <?php echo apply_filters( 'edd_downloads_list_wrapper_class', $wrapper_classes, $atts ); ?>">
602
 
@@ -610,47 +612,17 @@ function edd_downloads_query( $atts, $content = null ) {
610
 
611
  <?php do_action( 'edd_downloads_list_bottom', $atts ); ?>
612
 
613
- <?php if ( filter_var( $atts['pagination'], FILTER_VALIDATE_BOOLEAN ) ) : ?>
614
-
615
- <?php
616
- $pagination = false;
617
-
618
- if ( is_single() ) {
619
- $pagination = paginate_links( apply_filters( 'edd_download_pagination_args', array(
620
- 'base' => get_permalink() . '%#%',
621
- 'format' => '?paged=%#%',
622
- 'current' => max( 1, $query['paged'] ),
623
- 'total' => $downloads->max_num_pages
624
- ), $atts, $downloads, $query ) );
625
- } else {
626
- $big = 999999;
627
- $search_for = array( $big, '#038;' );
628
- $replace_with = array( '%#%', '&' );
629
- $pagination = paginate_links( apply_filters( 'edd_download_pagination_args', array(
630
- 'base' => str_replace( $search_for, $replace_with, get_pagenum_link( $big ) ),
631
- 'format' => '?paged=%#%',
632
- 'current' => max( 1, $query['paged'] ),
633
- 'total' => $downloads->max_num_pages
634
- ), $atts, $downloads, $query ) );
635
- }
636
- ?>
637
-
638
- <?php if ( ! empty( $pagination ) ) : ?>
639
- <div id="edd_download_pagination" class="navigation">
640
- <?php echo $pagination; ?>
641
- </div>
642
- <?php endif; ?>
643
-
644
- <?php endif; ?>
645
-
646
  </div>
 
647
  <?php
648
- $display = ob_get_clean();
649
  else:
650
- $display = sprintf( _x( 'No %s found', 'download post type name', 'easy-digital-downloads' ), edd_get_label_plural() );
651
  endif;
652
 
653
- do_action( 'edd_downloads_list_after', $atts, $downloads );
 
 
654
 
655
  return apply_filters( 'downloads_shortcode', $display, $atts, $atts['buy_button'], $atts['columns'], '', $downloads, $atts['excerpt'], $atts['full_content'], $atts['price'], $atts['thumbnails'], $query );
656
  }
590
 
591
  do_action( 'edd_downloads_list_before', $atts );
592
 
593
+ ob_start();
594
+
595
  if ( $downloads->have_posts() ) :
596
  $i = 1;
597
  $columns_class = array( 'edd_download_columns_' . $atts['columns'] );
598
  $custom_classes = array_filter( explode( ',', $atts['class'] ) );
599
  $wrapper_classes = array_unique( array_merge( $columns_class, $custom_classes ) );
600
  $wrapper_classes = implode( ' ', $wrapper_classes );
601
+ ?>
602
 
603
  <div class="edd_downloads_list <?php echo apply_filters( 'edd_downloads_list_wrapper_class', $wrapper_classes, $atts ); ?>">
604
 
612
 
613
  <?php do_action( 'edd_downloads_list_bottom', $atts ); ?>
614
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
615
  </div>
616
+
617
  <?php
618
+
619
  else:
620
+ printf( _x( 'No %s found', 'download post type name', 'easy-digital-downloads' ), edd_get_label_plural() );
621
  endif;
622
 
623
+ do_action( 'edd_downloads_list_after', $atts, $downloads, $query );
624
+
625
+ $display = ob_get_clean();
626
 
627
  return apply_filters( 'downloads_shortcode', $display, $atts, $atts['buy_button'], $atts['columns'], '', $downloads, $atts['excerpt'], $atts['full_content'], $atts['price'], $atts['thumbnails'], $query );
628
  }
includes/template-functions.php CHANGED
@@ -1139,3 +1139,82 @@ function edd_download_shortcode_item( $atts, $i ) {
1139
  edd_get_template_part( 'shortcode', 'download' );
1140
  }
1141
  add_action( 'edd_download_shortcode_item', 'edd_download_shortcode_item', 10, 2 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1139
  edd_get_template_part( 'shortcode', 'download' );
1140
  }
1141
  add_action( 'edd_download_shortcode_item', 'edd_download_shortcode_item', 10, 2 );
1142
+
1143
+ /**
1144
+ * Load the pagination for the [downloads] shortcode.
1145
+ *
1146
+ * @since 2.9.8
1147
+ *
1148
+ * @param array $atts The [downloads] shortcode attributes.
1149
+ * @param object $downloads The WP_Query.
1150
+ * @param array $query EDD's array of attributes used to construct the main WP_Query.
1151
+ */
1152
+ function edd_downloads_pagination( $atts, $downloads, $query ) {
1153
+ if ( filter_var( $atts['pagination'], FILTER_VALIDATE_BOOLEAN ) ) {
1154
+ $args = array(
1155
+ 'type' => 'download',
1156
+ 'format' => '?paged=%#%',
1157
+ 'current' => max( 1, $query['paged'] ),
1158
+ 'total' => $downloads->max_num_pages
1159
+ );
1160
+
1161
+ if ( is_single() ) {
1162
+ $args['base'] = get_permalink() . '%#%';
1163
+ } else {
1164
+ $big = 999999;
1165
+ $search_for = array( $big, '#038;' );
1166
+ $replace_with = array( '%#%', '&' );
1167
+ $args['base'] = str_replace( $search_for, $replace_with, get_pagenum_link( $big ) );
1168
+ }
1169
+
1170
+ $args = apply_filters( 'edd_download_pagination_args', $args, $atts, $downloads, $query );
1171
+
1172
+ echo edd_pagination( $args );
1173
+ }
1174
+ }
1175
+ add_action( 'edd_downloads_list_after', 'edd_downloads_pagination', 10, 3 );
1176
+
1177
+ /**
1178
+ * Build pagination
1179
+ *
1180
+ * @since 2.9.8
1181
+ *
1182
+ * @param array $args The arguments used to build the pagination.
1183
+ */
1184
+ function edd_pagination( $args = array() ) {
1185
+
1186
+ $big = 999999;
1187
+
1188
+ $defaults = array(
1189
+ 'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ),
1190
+ 'format' => '?paged=%#%',
1191
+ 'current' => max( 1, get_query_var( 'paged' ) ),
1192
+ 'type' => '',
1193
+ 'total' => '',
1194
+ );
1195
+
1196
+ $args = wp_parse_args( $args, $defaults );
1197
+
1198
+ $type = $args['type'];
1199
+ $total = $args['total'];
1200
+
1201
+ // Type and total must be specified.
1202
+ if ( empty( $type ) || empty( $total ) ) {
1203
+ return false;
1204
+ }
1205
+
1206
+ $pagination = paginate_links(
1207
+ array(
1208
+ 'base' => $args['base'],
1209
+ 'format' => $args['format'],
1210
+ 'current' => $args['current'],
1211
+ 'total' => $total
1212
+ )
1213
+ );
1214
+
1215
+ if ( ! empty( $pagination ) ) : ?>
1216
+ <div id="edd_<?php echo $type; ?>_pagination" class="edd_pagination navigation">
1217
+ <?php echo $pagination; ?>
1218
+ </div>
1219
+ <?php endif;
1220
+ }
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.7\n"
6
  "Report-Msgid-Bugs-To: https://easydigitaldownloads.com/\n"
7
- "POT-Creation-Date: 2018-09-10 22:52:27+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -90,7 +90,7 @@ msgstr ""
90
  #: includes/admin/upgrades/upgrade-functions.php:1114
91
  #: includes/api/class-edd-api.php:1969 includes/api/class-edd-api.php:1974
92
  #: includes/api/class-edd-api.php:1986 includes/api/class-edd-api.php:1988
93
- #: includes/cart/class-edd-cart.php:1423 includes/cart/class-edd-cart.php:1437
94
  #: includes/class-edd-license-handler.php:305
95
  #: includes/deprecated-functions.php:517 includes/deprecated-functions.php:532
96
  #: includes/deprecated-functions.php:542 includes/download-functions.php:1260
@@ -556,7 +556,7 @@ msgid "Nonce verification failed"
556
  msgstr ""
557
 
558
  #: includes/admin/customers/customer-actions.php:311
559
- #: includes/shortcodes.php:962
560
  msgid "Email address %s removed by %s"
561
  msgstr ""
562
 
@@ -685,7 +685,7 @@ msgstr ""
685
  #: includes/admin/customers/customers.php:695
686
  #: includes/admin/payments/view-order-details.php:651
687
  #: includes/admin/payments/view-order-details.php:671
688
- #: includes/admin/thickbox.php:132 includes/class-edd-html-elements.php:796
689
  msgid "Cancel"
690
  msgstr ""
691
 
@@ -1806,7 +1806,7 @@ msgstr ""
1806
 
1807
  #: includes/admin/downloads/metabox.php:1105
1808
  #: includes/admin/settings/register-settings.php:761
1809
- #: includes/admin/thickbox.php:97
1810
  msgid "Add to Cart"
1811
  msgstr ""
1812
 
@@ -4440,7 +4440,7 @@ msgstr ""
4440
  msgid "Deactivate License"
4441
  msgstr ""
4442
 
4443
- #: includes/admin/thickbox.php:29 includes/admin/thickbox.php:131
4444
  msgid "Insert %s"
4445
  msgstr ""
4446
 
@@ -4448,27 +4448,27 @@ msgstr ""
4448
  msgid "You must choose a download"
4449
  msgstr ""
4450
 
4451
- #: includes/admin/thickbox.php:89
4452
  msgid "Use the form below to insert the shortcode for purchasing a %s"
4453
  msgstr ""
4454
 
4455
- #: includes/admin/thickbox.php:96
4456
  msgid "Choose the button behavior"
4457
  msgstr ""
4458
 
4459
- #: includes/admin/thickbox.php:98
4460
  msgid "Direct Purchase Link"
4461
  msgstr ""
4462
 
4463
- #: includes/admin/thickbox.php:104
4464
  msgid "Choose a style"
4465
  msgstr ""
4466
 
4467
- #: includes/admin/thickbox.php:118
4468
  msgid "Choose a button color"
4469
  msgstr ""
4470
 
4471
- #: includes/admin/thickbox.php:128
4472
  msgid "Link text . . ."
4473
  msgstr ""
4474
 
@@ -5196,32 +5196,32 @@ msgstr ""
5196
  msgid "You do not have permission to %s API keys for this user"
5197
  msgstr ""
5198
 
5199
- #: includes/cart/class-edd-cart.php:887
5200
  msgid "includes %s tax"
5201
  msgstr ""
5202
 
5203
- #: includes/cart/class-edd-cart.php:889
5204
  msgid "excludes %s tax"
5205
  msgstr ""
5206
 
5207
- #: includes/cart/class-edd-cart.php:1387 includes/cart/class-edd-cart.php:1449
5208
  #: templates/shortcode-profile-editor.php:22
5209
  msgid "Success"
5210
  msgstr ""
5211
 
5212
- #: includes/cart/class-edd-cart.php:1388
5213
  msgid "Cart saved successfully. You can restore your cart using this URL:"
5214
  msgstr ""
5215
 
5216
- #: includes/cart/class-edd-cart.php:1423 includes/cart/class-edd-cart.php:1437
5217
  msgid "Cart restoration failed. Invalid token."
5218
  msgstr ""
5219
 
5220
- #: includes/cart/class-edd-cart.php:1431 includes/cart/class-edd-cart.php:1440
5221
  msgid "The cart cannot be restored. Invalid token."
5222
  msgstr ""
5223
 
5224
- #: includes/cart/class-edd-cart.php:1449
5225
  msgid "Cart restored successfully."
5226
  msgstr ""
5227
 
@@ -7899,31 +7899,31 @@ msgstr ""
7899
  msgid "Purchase All Items"
7900
  msgstr ""
7901
 
7902
- #: includes/shortcodes.php:699
7903
  msgid "Sorry, trouble retrieving payment receipt."
7904
  msgstr ""
7905
 
7906
- #: includes/shortcodes.php:734
7907
  msgid "You must be logged in to view this payment receipt."
7908
  msgstr ""
7909
 
7910
- #: includes/shortcodes.php:746
7911
  msgid "Receipt could not be retrieved, your purchase session has expired."
7912
  msgstr ""
7913
 
7914
- #: includes/shortcodes.php:876
7915
  msgid "The passwords you entered do not match. Please try again."
7916
  msgstr ""
7917
 
7918
- #: includes/shortcodes.php:886
7919
  msgid "The email you entered is invalid. Please enter a valid email."
7920
  msgstr ""
7921
 
7922
- #: includes/shortcodes.php:891
7923
  msgid "The email you entered belongs to another user. Please use another."
7924
  msgstr ""
7925
 
7926
- #: includes/shortcodes.php:966
7927
  msgid "Error removing email address from profile. Please try again later."
7928
  msgstr ""
7929
 
@@ -8183,7 +8183,7 @@ msgstr ""
8183
  msgid "Payment status is %s"
8184
  msgstr ""
8185
 
8186
- #: templates/history-downloads.php:109
8187
  msgid "You have not purchased any downloads"
8188
  msgstr ""
8189
 
@@ -8195,7 +8195,7 @@ msgstr ""
8195
  msgid "View Details and Downloads"
8196
  msgstr ""
8197
 
8198
- #: templates/history-purchases.php:62
8199
  msgid "You have not made any purchases"
8200
  msgstr ""
8201
 
@@ -8501,7 +8501,7 @@ msgctxt "download post type name"
8501
  msgid "%2$s"
8502
  msgstr ""
8503
 
8504
- #: includes/shortcodes.php:650
8505
  msgctxt "download post type name"
8506
  msgid "No %s found"
8507
  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.9.8\n"
6
  "Report-Msgid-Bugs-To: https://easydigitaldownloads.com/\n"
7
+ "POT-Creation-Date: 2018-10-01 20:25:04+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
90
  #: includes/admin/upgrades/upgrade-functions.php:1114
91
  #: includes/api/class-edd-api.php:1969 includes/api/class-edd-api.php:1974
92
  #: includes/api/class-edd-api.php:1986 includes/api/class-edd-api.php:1988
93
+ #: includes/cart/class-edd-cart.php:1424 includes/cart/class-edd-cart.php:1438
94
  #: includes/class-edd-license-handler.php:305
95
  #: includes/deprecated-functions.php:517 includes/deprecated-functions.php:532
96
  #: includes/deprecated-functions.php:542 includes/download-functions.php:1260
556
  msgstr ""
557
 
558
  #: includes/admin/customers/customer-actions.php:311
559
+ #: includes/shortcodes.php:934
560
  msgid "Email address %s removed by %s"
561
  msgstr ""
562
 
685
  #: includes/admin/customers/customers.php:695
686
  #: includes/admin/payments/view-order-details.php:651
687
  #: includes/admin/payments/view-order-details.php:671
688
+ #: includes/admin/thickbox.php:136 includes/class-edd-html-elements.php:796
689
  msgid "Cancel"
690
  msgstr ""
691
 
1806
 
1807
  #: includes/admin/downloads/metabox.php:1105
1808
  #: includes/admin/settings/register-settings.php:761
1809
+ #: includes/admin/thickbox.php:101
1810
  msgid "Add to Cart"
1811
  msgstr ""
1812
 
4440
  msgid "Deactivate License"
4441
  msgstr ""
4442
 
4443
+ #: includes/admin/thickbox.php:29 includes/admin/thickbox.php:135
4444
  msgid "Insert %s"
4445
  msgstr ""
4446
 
4448
  msgid "You must choose a download"
4449
  msgstr ""
4450
 
4451
+ #: includes/admin/thickbox.php:93
4452
  msgid "Use the form below to insert the shortcode for purchasing a %s"
4453
  msgstr ""
4454
 
4455
+ #: includes/admin/thickbox.php:100
4456
  msgid "Choose the button behavior"
4457
  msgstr ""
4458
 
4459
+ #: includes/admin/thickbox.php:102
4460
  msgid "Direct Purchase Link"
4461
  msgstr ""
4462
 
4463
+ #: includes/admin/thickbox.php:108
4464
  msgid "Choose a style"
4465
  msgstr ""
4466
 
4467
+ #: includes/admin/thickbox.php:122
4468
  msgid "Choose a button color"
4469
  msgstr ""
4470
 
4471
+ #: includes/admin/thickbox.php:132
4472
  msgid "Link text . . ."
4473
  msgstr ""
4474
 
5196
  msgid "You do not have permission to %s API keys for this user"
5197
  msgstr ""
5198
 
5199
+ #: includes/cart/class-edd-cart.php:888
5200
  msgid "includes %s tax"
5201
  msgstr ""
5202
 
5203
+ #: includes/cart/class-edd-cart.php:890
5204
  msgid "excludes %s tax"
5205
  msgstr ""
5206
 
5207
+ #: includes/cart/class-edd-cart.php:1388 includes/cart/class-edd-cart.php:1450
5208
  #: templates/shortcode-profile-editor.php:22
5209
  msgid "Success"
5210
  msgstr ""
5211
 
5212
+ #: includes/cart/class-edd-cart.php:1389
5213
  msgid "Cart saved successfully. You can restore your cart using this URL:"
5214
  msgstr ""
5215
 
5216
+ #: includes/cart/class-edd-cart.php:1424 includes/cart/class-edd-cart.php:1438
5217
  msgid "Cart restoration failed. Invalid token."
5218
  msgstr ""
5219
 
5220
+ #: includes/cart/class-edd-cart.php:1432 includes/cart/class-edd-cart.php:1441
5221
  msgid "The cart cannot be restored. Invalid token."
5222
  msgstr ""
5223
 
5224
+ #: includes/cart/class-edd-cart.php:1450
5225
  msgid "Cart restored successfully."
5226
  msgstr ""
5227
 
7899
  msgid "Purchase All Items"
7900
  msgstr ""
7901
 
7902
+ #: includes/shortcodes.php:671
7903
  msgid "Sorry, trouble retrieving payment receipt."
7904
  msgstr ""
7905
 
7906
+ #: includes/shortcodes.php:706
7907
  msgid "You must be logged in to view this payment receipt."
7908
  msgstr ""
7909
 
7910
+ #: includes/shortcodes.php:718
7911
  msgid "Receipt could not be retrieved, your purchase session has expired."
7912
  msgstr ""
7913
 
7914
+ #: includes/shortcodes.php:848
7915
  msgid "The passwords you entered do not match. Please try again."
7916
  msgstr ""
7917
 
7918
+ #: includes/shortcodes.php:858
7919
  msgid "The email you entered is invalid. Please enter a valid email."
7920
  msgstr ""
7921
 
7922
+ #: includes/shortcodes.php:863
7923
  msgid "The email you entered belongs to another user. Please use another."
7924
  msgstr ""
7925
 
7926
+ #: includes/shortcodes.php:938
7927
  msgid "Error removing email address from profile. Please try again later."
7928
  msgstr ""
7929
 
8183
  msgid "Payment status is %s"
8184
  msgstr ""
8185
 
8186
+ #: templates/history-downloads.php:106
8187
  msgid "You have not purchased any downloads"
8188
  msgstr ""
8189
 
8195
  msgid "View Details and Downloads"
8196
  msgstr ""
8197
 
8198
+ #: templates/history-purchases.php:59
8199
  msgid "You have not made any purchases"
8200
  msgstr ""
8201
 
8501
  msgid "%2$s"
8502
  msgstr ""
8503
 
8504
+ #: includes/shortcodes.php:620
8505
  msgctxt "download post type name"
8506
  msgid "No %s found"
8507
  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.8
9
- Stable Tag: 2.9.7
10
  License: GNU Version 2 or Any Later Version
11
 
12
  The easiest way to sell digital products with WordPress.
@@ -189,6 +189,14 @@ Yes. Easy Digital Downloads also includes default support for Amazon Payments an
189
 
190
  == Changelog ==
191
 
 
 
 
 
 
 
 
 
192
  = 2.9.7, September 10, 2018 =
193
  * Fix: The edd_cart_amount data attributes were not updated when quantities were changed at checkout.
194
  * Fix: Updated the zip/postal code validation for Mongolia.
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.8
9
+ Stable Tag: 2.9.8
10
  License: GNU Version 2 or Any Later Version
11
 
12
  The easiest way to sell digital products with WordPress.
189
 
190
  == Changelog ==
191
 
192
+ = 2.9.8, October 1, 2018 =
193
+ * Fix: Updated Amazon Payments onboarding URL.
194
+ * Fix: Insert Download media button would not output expected plain text styles.
195
+ * Fix: Adding a discount code on a cart with free products caused a division by zero error.
196
+ * Fix: Removed unnecessary clearfix rule from CSS.
197
+ * New: Repositioned and refactored the pagination in the [downloads] shortcode to allow better customization.
198
+ * Dev: All available contextual arguments were added to the edd_requested_file filter.
199
+
200
  = 2.9.7, September 10, 2018 =
201
  * Fix: The edd_cart_amount data attributes were not updated when quantities were changed at checkout.
202
  * Fix: Updated the zip/postal code validation for Mongolia.
templates/edd.css CHANGED
@@ -174,15 +174,6 @@
174
  font-size: 95%;
175
  margin: 0 0 5px;
176
  }
177
- #edd_checkout_form_wrap label:after {
178
- display: block;
179
- visibility: hidden;
180
- float: none;
181
- clear: both;
182
- height: 0;
183
- text-indent: -9999px;
184
- content: ".";
185
- }
186
  #edd_checkout_form_wrap span.edd-description {
187
  color: #666;
188
  font-size: 80%;
@@ -1013,9 +1004,6 @@ input.edd_submit_plain {
1013
  .edd_download .edd_price {
1014
  margin-bottom: 10px;
1015
  }
1016
- #edd_download_pagination {
1017
- clear: both;
1018
- }
1019
 
1020
  /* =Misc styles
1021
  -------------------------------------------------------------- */
174
  font-size: 95%;
175
  margin: 0 0 5px;
176
  }
 
 
 
 
 
 
 
 
 
177
  #edd_checkout_form_wrap span.edd-description {
178
  color: #666;
179
  font-size: 80%;
1004
  .edd_download .edd_price {
1005
  margin-bottom: 10px;
1006
  }
 
 
 
1007
 
1008
  /* =Misc styles
1009
  -------------------------------------------------------------- */
templates/edd.min.css CHANGED
@@ -1 +1 @@
1
- @charset "UTF-8";.edd-icon{display:inline-block;fill:currentColor;position:relative;top:-.0625em;vertical-align:middle;width:1em;height:1em}.edd-icon-lock{top:-.125rem}.edd-icon-spin{display:inline-block;-moz-animation:edd-icon-spin 2s infinite linear;-o-animation:edd-icon-spin 2s infinite linear;-webkit-animation:edd-icon-spin 2s infinite linear;animation:edd-icon-spin 2s infinite linear}@-moz-keyframes edd-icon-spin{0%{-moz-transform:rotate(0)}100%{-moz-transform:rotate(359deg)}}@-webkit-keyframes edd-icon-spin{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(359deg)}}@-o-keyframes edd-icon-spin{0%{-o-transform:rotate(0)}100%{-o-transform:rotate(359deg)}}@-ms-keyframes edd-icon-spin{0%{-ms-transform:rotate(0)}100%{-ms-transform:rotate(359deg)}}@keyframes edd-icon-spin{0%{transform:rotate(0)}100%{transform:rotate(359deg)}}.edd_clearfix:after{display:block;visibility:hidden;float:none;clear:both;text-indent:-9999px;content:"."}#edd_checkout_cart{text-align:left;width:100%;border:none;margin:0 0 21px;table-layout:auto}#edd_checkout_cart td,#edd_checkout_cart th{text-align:left;border:1px solid #eee;color:#666;padding:.5em 1.387em}#edd_checkout_cart .edd_cart_header_row th{background:#fafafa;padding:1.387em}#edd_checkout_cart .edd_cart_discount_row th,#edd_checkout_cart .edd_cart_tax_row th{background:0 0}#edd_checkout_cart th{font-weight:700}#edd_checkout_cart td{line-height:25px;vertical-align:middle;background:#fff}#edd_checkout_cart td.edd_cart_actions,#edd_checkout_cart td:last-child,#edd_checkout_cart th.edd_cart_actions,#edd_checkout_cart th.edd_cart_total,#edd_checkout_cart th:last-child{text-align:right}#edd_checkout_cart td img{float:left;margin:0 8px 0 0;background:0 0;padding:0;border:none}#edd_checkout_cart input.edd-item-quantity{width:3em;padding:2px}#edd_checkout_cart .edd_discount{display:inline-block;margin-left:5px}.edd_discount_remove{display:inline-block;width:10px;height:11px;background:url(images/xit.gif ) 0 0 no-repeat;position:relative;top:3px}.edd_discount_remove:hover{background-position:-10px 0}#edd_checkout_cart br{display:none}#edd_checkout_cart a.edd-cart-saving-button{font-weight:400;text-decoration:none}#edd_checkout_form_wrap legend{display:block;font-size:120%;line-height:1;font-weight:700;width:100%;margin:0 0 21px;padding:0}#edd_checkout_form_wrap label{font-weight:700;display:block;position:relative;line-height:100%;font-size:95%;margin:0 0 5px}#edd_checkout_form_wrap label:after{display:block;visibility:hidden;float:none;clear:both;height:0;text-indent:-9999px;content:"."}#edd_checkout_form_wrap span.edd-description{color:#666;font-size:80%;display:block;margin:0 0 5px}#edd_checkout_form_wrap input.edd-input,#edd_checkout_form_wrap textarea.edd-input{display:inline-block;width:70%}#edd_checkout_form_wrap select.edd-select{display:block;width:60%}#edd_checkout_form_wrap select.edd-select.edd-select-small{display:inline;width:auto}#edd_checkout_form_wrap input.edd-input.error,#edd_checkout_form_wrap textarea.edd-input.error{border-color:#c4554e}#edd_checkout_form_wrap>p{margin:0 0 21px}#edd_checkout_form_wrap span.edd-required-indicator{color:#b94a48;display:inline}#edd_checkout_form_wrap input[type=email],#edd_checkout_form_wrap input[type=password],#edd_checkout_form_wrap input[type=tel],#edd_checkout_form_wrap input[type=text],#edd_checkout_form_wrap textarea{padding:4px 6px}#edd_checkout_form_wrap input[type=radio]{border:none;margin-right:5px}#edd_checkout_form_wrap input[type=checkbox]{display:inline-block;margin:0 5px 0 0}#edd_checkout_form_wrap input[type=checkbox]+label,#edd_checkout_form_wrap input[type=checkbox]+label:after{display:inline}#edd_checkout_form_wrap .edd-payment-icons{height:32px;display:block;margin:0 0 8px}#edd_checkout_form_wrap .edd-payment-icons img.payment-icon{max-height:32px;width:auto;margin:0 3px 0 0;float:left;background:0 0;padding:0;border:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}#edd_checkout_form_wrap #edd-payment-mode-wrap label{display:inline-block;margin:0 20px 0 0}#edd_checkout_form_wrap #edd-payment-mode-wrap .edd-payment-mode-label{font-weight:700;display:inline-block;position:relative;margin-bottom:5px}#edd_checkout_form_wrap fieldset{border:1px solid #eee;padding:1.387em;margin:0 0 21px}#edd_checkout_form_wrap #edd_discount_code,#edd_checkout_form_wrap #edd_purchase_submit,#edd_checkout_form_wrap #edd_register_account_fields{padding:0;border:none}#edd_checkout_form_wrap fieldset fieldset{margin:0;border:none;padding:0}#edd_checkout_form_wrap #edd-login-account-wrap,#edd_checkout_form_wrap #edd-new-account-wrap,#edd_checkout_form_wrap #edd_final_total_wrap,#edd_checkout_form_wrap #edd_show_discount,#edd_checkout_form_wrap .edd-cart-adjustment{background:#fafafa;color:#666;padding:.5em 1.387em}#edd_checkout_form_wrap #edd-discount-code-wrap,#edd_checkout_form_wrap #edd_final_total_wrap,#edd_checkout_form_wrap #edd_show_discount{border:1px solid #eee}#edd_checkout_form_wrap .edd-cart-adjustment{padding:1.387em}#edd_checkout_form_wrap .edd-cart-adjustment input.edd-input,#edd_checkout_form_wrap .edd-cart-adjustment input.edd-submit{display:inline-block}#edd_checkout_form_wrap .edd-cart-adjustment input.edd-submit{padding:3px 12px;margin-bottom:2px}#edd_checkout_form_wrap #edd-discount-error-wrap{width:100%;display:inline-block;margin:1em 0 0}#edd_checkout_form_wrap #edd-login-account-wrap,#edd_checkout_form_wrap #edd-new-account-wrap{margin:-1.387em -1.387em 21px;border-left:none;border-right:none;border-top:none}#edd_checkout_form_wrap #edd_payment_mode_select{margin-bottom:21px}#edd_checkout_form_wrap fieldset#edd_register_fields #edd_checkout_user_info{margin-bottom:21px}#edd_checkout_form_wrap fieldset#edd_register_account_fields legend{padding-top:11px}#edd_checkout_form_wrap fieldset#edd_register_account_fields p.edd_login_password,#edd_checkout_form_wrap fieldset#edd_register_account_fields p.edd_register_password{margin:0}#edd_checkout_form_wrap fieldset#edd_cc_fields{border:1px solid #f0f0f0;background:#f9f9f9;position:relative}#edd_checkout_form_wrap fieldset#edd_cc_fields legend{border:none;padding:0}#edd_checkout_form_wrap fieldset p:last-child{margin-bottom:0}#edd_checkout_form_wrap fieldset#edd_cc_fields #edd-card-number-wrap{margin-top:5px}#edd_checkout_form_wrap #edd_purchase_final_total{margin:21px 0}#edd_checkout_form_wrap #edd_purchase_final_total p{margin:0}#edd_secure_site_wrapper{padding:4px 4px 4px 0;font-weight:700}#edd_checkout_form_wrap input.edd-input.card-number.valid{background-image:url(images/tick.png);background-repeat:no-repeat;background-position:98% 50%}#edd_checkout_form_wrap span.exp-divider{display:inline}#edd_checkout_form_wrap span.card-type{position:absolute;top:-2px;right:0;width:43px;height:32px;background-size:43px 32px!important}#edd_checkout_form_wrap span.card-type.off{display:none}#edd_checkout_form_wrap span.card-type.visa{background:url(images/icons/visa.png ) no-repeat}#edd_checkout_form_wrap span.card-type.mastercard{background:url(images/icons/mastercard.png ) no-repeat}#edd_checkout_form_wrap span.card-type.discover{background:url(images/icons/discover.png ) no-repeat}#edd_checkout_form_wrap span.card-type.amex{background:url(images/icons/americanexpress.png ) no-repeat}#edd_checkout_form_wrap .edd-cart-ajax{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.edd-amazon-profile-wrapper{font-size:12px}.edd-amazon-profile-name{font-weight:600}.edd-amazon-logout{font-size:10px;line-height:12px}.edd-amazon-logout a{cursor:pointer}#edd-amazon-address-box,#edd-amazon-wallet-box{height:228px;width:350px}#edd-amazon-address-box{margin-bottom:15px}@media only screen and (min-width:768px){#edd-amazon-address-box,#edd-amazon-wallet-box{width:100%;height:228px}}.edd_purchase_submit_wrapper{position:relative}.edd_purchase_submit_wrapper a.edd-add-to-cart{text-decoration:none;display:none;position:relative;overflow:hidden}.edd_purchase_submit_wrapper a.edd-add-to-cart.edd-has-js{display:inline-block}.edd_purchase_submit_wrapper .edd-cart-ajax{display:none;position:relative;left:-35px}.edd-submit.button.edd-ajax-loading{padding-right:30px}.edd-add-to-cart .edd-add-to-cart-label{opacity:1}.edd-loading,.edd-loading:after{border-radius:50%;display:block;width:1.5em;height:1.5em}.edd-loading{-webkit-animation:edd-spinning 1.1s infinite linear;animation:edd-spinning 1.1s infinite linear;border-top:.2em solid rgba(255,255,255,.2);border-right:.2em solid rgba(255,255,255,.2);border-bottom:.2em solid rgba(255,255,255,.2);border-left:.2em solid #fff;font-size:.75em;position:absolute;left:calc(50% - .75em);top:calc(50% - .75em);opacity:0;-ms-transform:translateZ(0);transform:translateZ(0)}.edd-discount-loader.edd-loading,.edd-loading-ajax.edd-loading,a.edd-add-to-cart.white .edd-loading{border-top-color:rgba(0,0,0,.2);border-right-color:rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.2);border-left-color:#000}.edd-loading-ajax.edd-loading{display:inline-block;position:relative;top:0;left:.25em;vertical-align:middle}#edd_checkout_form_wrap .edd-cart-adjustment .edd-apply-discount.edd-submit{display:inline-block}.edd-discount-loader.edd-loading{display:inline-block;position:relative;left:auto;vertical-align:middle;width:1.25em;height:1.25em}.edd-loading-ajax.edd-loading{opacity:1}@-webkit-keyframes edd-spinning{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes edd-spinning{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.edd-loading,a.edd-add-to-cart .edd-add-to-cart-label{-webkit-transition:.1s opacity!important;-moz-transition:.1s opacity!important;-ms-transition:.1s opacity!important;-o-transition:.1s opacity!important;transition:.1s opacity!important}.edd-add-to-cart[data-edd-loading] .edd-add-to-cart-label{opacity:0}.edd-add-to-cart[data-edd-loading] .edd-loading,.edd-discount-loader.edd-loading{opacity:1}.edd-cart-added-alert{color:#567622;display:block;position:absolute}.edd_form input.edd-input.required,.edd_form select.edd-select.required{color:#000}body.edd_receipt_page{background-color:#fff;color:#141412;margin:0;font-family:Helvetica,sans-serif;font-size:12px}body.edd_receipt_page:before{position:relative}body.edd_receipt_page #edd_receipt_wrapper{width:660px;margin:0 auto;padding:50px 0}body.edd_receipt_page table{display:table;width:100%;border-bottom:1px solid #ededed;border-collapse:collapse;border-spacing:0;font-size:14px;line-height:2;margin:0 0 20px}body.edd_receipt_page td,body.edd_receipt_page th{display:table-cell;text-align:left;border-top:1px solid #ededed;padding:6px 10px;font-weight:400}body.edd_receipt_page th{font-weight:700;text-transform:uppercase}body.edd_receipt_page h3{font-size:22px;margin:40px 0 5px;clear:both;display:block;font-weight:700}body.edd_receipt_page li{list-style:none}table#edd_purchase_receipt,table#edd_purchase_receipt_products{width:100%}table#edd_purchase_receipt td,table#edd_purchase_receipt th,table#edd_purchase_receipt_products td,table#edd_purchase_receipt_products th{text-align:left}table#edd_purchase_receipt .edd_receipt_payment_status.cancelled,table#edd_purchase_receipt .edd_receipt_payment_status.failed,table#edd_purchase_receipt .edd_receipt_payment_status.pending,table#edd_purchase_receipt .edd_receipt_payment_status.revoked{color:#f73f2e}table#edd_purchase_receipt_products li{list-style:none;margin:0 0 8px 10px}table#edd_purchase_receipt ul,table#edd_purchase_receipt_products ul.edd_purchase_receipt_files{margin:0;padding:0}table#edd_purchase_receipt li.edd_download_file{list-style:none;margin:0 0 8px 0}table#edd_purchase_receipt_products .edd_purchase_receipt_product_notes{font-style:italic}table#edd_purchase_receipt_products .edd_purchase_receipt_product_name{font-weight:700}table#edd_purchase_receipt_products .edd_bundled_product_name{font-style:italic;font-weight:700}#edd_user_history{text-align:left;width:100%;border-top:1px solid #f0f0f0;border-bottom:none}#edd_user_history td,#edd_user_history th{text-align:left;padding:3px 5px;border-bottom:1px solid #f0f0f0;border-top:none}#edd_user_history th{font-weight:700;background:#f5f5f5}#edd_user_history td{line-height:25px;vertical-align:middle}#edd_user_history .edd_purchase_status.cancelled,#edd_user_history .edd_purchase_status.failed,#edd_user_history .edd_purchase_status.pending,#edd_user_history .edd_purchase_status.revoked{color:#f73f2e}#edd_login_form legend,#edd_register_form legend{font-size:120%;margin-bottom:1em}#edd_login_form fieldset,#edd_register_form fieldset{border:none}#edd_login_form .edd-input,#edd_register_form .edd-input{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#edd_login_form label,#edd_register_form label{cursor:pointer}#edd_profile_editor_form p{margin-bottom:8px}#edd_profile_editor_form label{display:inline-block}#edd_profile_editor_form .edd-profile-emails{list-style-type:none;display:inline-table;margin-left:0;margin-bottom:0}#edd_profile_editor_form .edd-profile-email{width:auto}#edd_profile_editor_form .edd-profile-email .actions{display:none}#edd_profile_editor_form .edd-profile-email:hover>span{display:inline-block}.edd_added_to_cart_alert{padding:5px;font-size:14px;border:1px solid #046a9e;background:#9ecce2;color:#333;margin:8px 0}.edd_added_to_cart_alert a.edd_alert_checkout_link{color:#000!important}input.edd_submit_plain{background:0 0!important;border:none!important;padding:0!important;display:inline;cursor:pointer}.single-download .edd_download_purchase_form{margin-bottom:1.387em}.edd_download_purchase_form .edd_download_quantity_wrapper{margin:0 0 .5em}.edd_download_purchase_form .edd_download_quantity_wrapper .edd-item-quantity{width:75px}.edd_download_purchase_form .edd_price_options{margin:0 0 15px}.edd_download_purchase_form .edd_price_options ul{margin:0;padding:0;list-style:none}.edd_download_purchase_form .edd_price_options li{display:block;padding:0;margin:0}.edd_download_purchase_form .edd_price_options span{display:inline;padding:0;margin:0}.edd_download_purchase_form .edd_price_options .edd_download_quantity_wrapper{padding-left:18px}.edd_download_purchase_form .edd_price_options .edd_download_quantity_wrapper *{font-size:80%}.edd_download_purchase_form .edd_price_options input.edd-item-quantity{display:inline;width:50px;max-width:90%}#edd-purchase-button,.edd-submit,[type=submit].edd-submit{display:inline-block;padding:6px 12px;margin:0;font-size:14px;font-weight:400;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.edd-submit.button:focus,[type=submit].edd-submit:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.edd-submit.button:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.edd-submit.plain{padding:0;border:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.edd-submit.button,.edd-submit.button.gray,.edd-submit.button:visited{color:#333;background:#f0f0f0;border-color:#ccc}.edd-submit.button.gray:active,.edd-submit.button.gray:focus,.edd-submit.button.gray:hover,.edd-submit.button:active,.edd-submit.button:focus,.edd-submit.button:hover{color:#333;background:#ebebeb;border-color:#adadad}.edd-submit.button.gray:active{background-image:none}.edd-submit.button.white{color:#333;background:#fff;border-color:#ccc}.edd-submit.button.white:active,.edd-submit.button.white:focus,.edd-submit.button.white:hover{color:#333;background:#ebebeb;border-color:#adadad}.edd-submit.button.white:active{background-image:none}.edd-submit.button.blue{color:#fff;background:#428bca;border-color:#357ebd}.edd-submit.button.blue.active,.edd-submit.button.blue:focus,.edd-submit.button.blue:hover{color:#fff;background:#3276b1;border-color:#285e8e}.edd-submit.button.blue.active{background-image:none}.edd-submit.button.red{color:#fff;background:#d9534f;border-color:#d43f3a}.edd-submit.button.red:active,.edd-submit.button.red:focus,.edd-submit.button.red:hover{color:#fff;background:#d2322d;border-color:#ac2925}.edd-submit.button.red:active{background-image:none}.edd-submit.button.green{color:#fff;background:#5cb85c;border-color:#4cae4c}.edd-submit.button.green:active,.edd-submit.button.green:focus,.edd-submit.button.green:hover{color:#fff;background:#47a447;border-color:#398439}.edd-submit.button.green:active{background-image:none}.edd-submit.button.yellow{color:#fff;background:#f0ad4e;border-color:#eea236}.edd-submit.button.yellow:active,.edd-submit.button.yellow:focus,.edd-submit.button.yellow:hover{color:#fff;background:#ed9c28;border-color:#d58512}.edd-submit.button.yellow:active{background-image:none}.edd-submit.button.orange{color:#fff;background:#ed9c28;border-color:#e3921e}.edd-submit.button.orange:active,.edd-submit.button.orange:focus,.edd-submit.button.orange:hover{color:#fff;background:#e59016;border-color:#d58512}.edd-submit.button.orange:active{background-image:none}.edd-submit.button.dark-gray{color:#fff;background:#363636;border-color:#222}.edd-submit.button.dark-gray:active,.edd-submit.button.dark-gray:focus,.edd-submit.button.dark-gray:hover{color:#fff;background:#333;border-color:#adadad}.edd-submit.button.dark-gray:active{background-image:none}.edd_downloads_list:after{content:"";display:table;clear:both}.edd_download{float:left}.edd_download_columns_1 .edd_download{width:100%}.edd_download_columns_2 .edd_download{width:50%}.edd_download_columns_0 .edd_download,.edd_download_columns_3 .edd_download{width:33%}.edd_download_columns_4 .edd_download{width:25%}.edd_download_columns_5 .edd_download{width:20%}.edd_download_columns_6 .edd_download{width:16.6%}.edd_download_inner{padding:0 8px 8px;margin:0 0 10px}.edd_download_columns_2 .edd_download:nth-child(2n+1),.edd_download_columns_3 .edd_download:nth-child(3n+1),.edd_download_columns_4 .edd_download:nth-child(4n+1),.edd_download_columns_5 .edd_download:nth-child(5n+1),.edd_download_columns_6 .edd_download:nth-child(6n+1){clear:left}.edd_download_image{max-width:100%}.edd_download .edd_price{margin-bottom:10px}#edd_download_pagination{clear:both}.edd-hide-on-empty.cart-empty{display:none}edd-hide-on-empty.cart-not.empty{display:block}.edd-cart-ajax{margin:0 8px 0 4px;position:relative;top:2px;background:0 0;border:none;padding:0}.edd-cart-number-of-items{font-style:italic;color:grey}.edd-cart-meta.edd_subtotal{font-weight:700;font-style:italic}.edd-cart-meta.edd_cart_tax{font-size:1em;font-style:italic}.edd-cart-meta.edd_cart_tax::before{font-style:normal}.edd-cart-meta.edd_total{font-weight:700}.edd-cart-meta{padding:2px 5px}.edd-cart-meta.edd_subtotal,.edd-cart-meta.edd_total{background-color:#f9f9f9}.edd_errors:not(.edd-alert){-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;border:1px solid #e6db55;margin:0 0 21px;background:#ffffe0;color:#333}.edd_error{padding:10px}p.edd_error{margin:0!important}.edd_success:not(.edd-alert){-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;border:1px solid #b3ce89;margin:20px 0;background:#d5eab3;color:#567622;padding:6px 8px;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}.edd-alert{-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;margin-bottom:20px;padding:10px;border:1px solid transparent;vertical-align:middle}.edd-alert p{padding:0}.edd-alert p:not(:last-child){margin-bottom:5px}.edd-alert p:last-child{margin-bottom:0}.edd-alert-error{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.edd-alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#3c763d}.edd-alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.edd-alert-warn{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}
1
+ @charset "UTF-8";.edd-icon{display:inline-block;fill:currentColor;position:relative;top:-.0625em;vertical-align:middle;width:1em;height:1em}.edd-icon-lock{top:-.125rem}.edd-icon-spin{display:inline-block;-moz-animation:edd-icon-spin 2s infinite linear;-o-animation:edd-icon-spin 2s infinite linear;-webkit-animation:edd-icon-spin 2s infinite linear;animation:edd-icon-spin 2s infinite linear}@-moz-keyframes edd-icon-spin{0%{-moz-transform:rotate(0)}100%{-moz-transform:rotate(359deg)}}@-webkit-keyframes edd-icon-spin{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(359deg)}}@-o-keyframes edd-icon-spin{0%{-o-transform:rotate(0)}100%{-o-transform:rotate(359deg)}}@-ms-keyframes edd-icon-spin{0%{-ms-transform:rotate(0)}100%{-ms-transform:rotate(359deg)}}@keyframes edd-icon-spin{0%{transform:rotate(0)}100%{transform:rotate(359deg)}}.edd_clearfix:after{display:block;visibility:hidden;float:none;clear:both;text-indent:-9999px;content:"."}#edd_checkout_cart{text-align:left;width:100%;border:none;margin:0 0 21px;table-layout:auto}#edd_checkout_cart td,#edd_checkout_cart th{text-align:left;border:1px solid #eee;color:#666;padding:.5em 1.387em}#edd_checkout_cart .edd_cart_header_row th{background:#fafafa;padding:1.387em}#edd_checkout_cart .edd_cart_discount_row th,#edd_checkout_cart .edd_cart_tax_row th{background:0 0}#edd_checkout_cart th{font-weight:700}#edd_checkout_cart td{line-height:25px;vertical-align:middle;background:#fff}#edd_checkout_cart td.edd_cart_actions,#edd_checkout_cart td:last-child,#edd_checkout_cart th.edd_cart_actions,#edd_checkout_cart th.edd_cart_total,#edd_checkout_cart th:last-child{text-align:right}#edd_checkout_cart td img{float:left;margin:0 8px 0 0;background:0 0;padding:0;border:none}#edd_checkout_cart input.edd-item-quantity{width:3em;padding:2px}#edd_checkout_cart .edd_discount{display:inline-block;margin-left:5px}.edd_discount_remove{display:inline-block;width:10px;height:11px;background:url(images/xit.gif ) 0 0 no-repeat;position:relative;top:3px}.edd_discount_remove:hover{background-position:-10px 0}#edd_checkout_cart br{display:none}#edd_checkout_cart a.edd-cart-saving-button{font-weight:400;text-decoration:none}#edd_checkout_form_wrap legend{display:block;font-size:120%;line-height:1;font-weight:700;width:100%;margin:0 0 21px;padding:0}#edd_checkout_form_wrap label{font-weight:700;display:block;position:relative;line-height:100%;font-size:95%;margin:0 0 5px}#edd_checkout_form_wrap span.edd-description{color:#666;font-size:80%;display:block;margin:0 0 5px}#edd_checkout_form_wrap input.edd-input,#edd_checkout_form_wrap textarea.edd-input{display:inline-block;width:70%}#edd_checkout_form_wrap select.edd-select{display:block;width:60%}#edd_checkout_form_wrap select.edd-select.edd-select-small{display:inline;width:auto}#edd_checkout_form_wrap input.edd-input.error,#edd_checkout_form_wrap textarea.edd-input.error{border-color:#c4554e}#edd_checkout_form_wrap>p{margin:0 0 21px}#edd_checkout_form_wrap span.edd-required-indicator{color:#b94a48;display:inline}#edd_checkout_form_wrap input[type=email],#edd_checkout_form_wrap input[type=password],#edd_checkout_form_wrap input[type=tel],#edd_checkout_form_wrap input[type=text],#edd_checkout_form_wrap textarea{padding:4px 6px}#edd_checkout_form_wrap input[type=radio]{border:none;margin-right:5px}#edd_checkout_form_wrap input[type=checkbox]{display:inline-block;margin:0 5px 0 0}#edd_checkout_form_wrap input[type=checkbox]+label,#edd_checkout_form_wrap input[type=checkbox]+label:after{display:inline}#edd_checkout_form_wrap .edd-payment-icons{height:32px;display:block;margin:0 0 8px}#edd_checkout_form_wrap .edd-payment-icons img.payment-icon{max-height:32px;width:auto;margin:0 3px 0 0;float:left;background:0 0;padding:0;border:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}#edd_checkout_form_wrap #edd-payment-mode-wrap label{display:inline-block;margin:0 20px 0 0}#edd_checkout_form_wrap #edd-payment-mode-wrap .edd-payment-mode-label{font-weight:700;display:inline-block;position:relative;margin-bottom:5px}#edd_checkout_form_wrap fieldset{border:1px solid #eee;padding:1.387em;margin:0 0 21px}#edd_checkout_form_wrap #edd_discount_code,#edd_checkout_form_wrap #edd_purchase_submit,#edd_checkout_form_wrap #edd_register_account_fields{padding:0;border:none}#edd_checkout_form_wrap fieldset fieldset{margin:0;border:none;padding:0}#edd_checkout_form_wrap #edd-login-account-wrap,#edd_checkout_form_wrap #edd-new-account-wrap,#edd_checkout_form_wrap #edd_final_total_wrap,#edd_checkout_form_wrap #edd_show_discount,#edd_checkout_form_wrap .edd-cart-adjustment{background:#fafafa;color:#666;padding:.5em 1.387em}#edd_checkout_form_wrap #edd-discount-code-wrap,#edd_checkout_form_wrap #edd_final_total_wrap,#edd_checkout_form_wrap #edd_show_discount{border:1px solid #eee}#edd_checkout_form_wrap .edd-cart-adjustment{padding:1.387em}#edd_checkout_form_wrap .edd-cart-adjustment input.edd-input,#edd_checkout_form_wrap .edd-cart-adjustment input.edd-submit{display:inline-block}#edd_checkout_form_wrap .edd-cart-adjustment input.edd-submit{padding:3px 12px;margin-bottom:2px}#edd_checkout_form_wrap #edd-discount-error-wrap{width:100%;display:inline-block;margin:1em 0 0}#edd_checkout_form_wrap #edd-login-account-wrap,#edd_checkout_form_wrap #edd-new-account-wrap{margin:-1.387em -1.387em 21px;border-left:none;border-right:none;border-top:none}#edd_checkout_form_wrap #edd_payment_mode_select{margin-bottom:21px}#edd_checkout_form_wrap fieldset#edd_register_fields #edd_checkout_user_info{margin-bottom:21px}#edd_checkout_form_wrap fieldset#edd_register_account_fields legend{padding-top:11px}#edd_checkout_form_wrap fieldset#edd_register_account_fields p.edd_login_password,#edd_checkout_form_wrap fieldset#edd_register_account_fields p.edd_register_password{margin:0}#edd_checkout_form_wrap fieldset#edd_cc_fields{border:1px solid #f0f0f0;background:#f9f9f9;position:relative}#edd_checkout_form_wrap fieldset#edd_cc_fields legend{border:none;padding:0}#edd_checkout_form_wrap fieldset p:last-child{margin-bottom:0}#edd_checkout_form_wrap fieldset#edd_cc_fields #edd-card-number-wrap{margin-top:5px}#edd_checkout_form_wrap #edd_purchase_final_total{margin:21px 0}#edd_checkout_form_wrap #edd_purchase_final_total p{margin:0}#edd_secure_site_wrapper{padding:4px 4px 4px 0;font-weight:700}#edd_checkout_form_wrap input.edd-input.card-number.valid{background-image:url(images/tick.png);background-repeat:no-repeat;background-position:98% 50%}#edd_checkout_form_wrap span.exp-divider{display:inline}#edd_checkout_form_wrap span.card-type{position:absolute;top:-2px;right:0;width:43px;height:32px;background-size:43px 32px!important}#edd_checkout_form_wrap span.card-type.off{display:none}#edd_checkout_form_wrap span.card-type.visa{background:url(images/icons/visa.png ) no-repeat}#edd_checkout_form_wrap span.card-type.mastercard{background:url(images/icons/mastercard.png ) no-repeat}#edd_checkout_form_wrap span.card-type.discover{background:url(images/icons/discover.png ) no-repeat}#edd_checkout_form_wrap span.card-type.amex{background:url(images/icons/americanexpress.png ) no-repeat}#edd_checkout_form_wrap .edd-cart-ajax{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.edd-amazon-profile-wrapper{font-size:12px}.edd-amazon-profile-name{font-weight:600}.edd-amazon-logout{font-size:10px;line-height:12px}.edd-amazon-logout a{cursor:pointer}#edd-amazon-address-box,#edd-amazon-wallet-box{height:228px;width:350px}#edd-amazon-address-box{margin-bottom:15px}@media only screen and (min-width:768px){#edd-amazon-address-box,#edd-amazon-wallet-box{width:100%;height:228px}}.edd_purchase_submit_wrapper{position:relative}.edd_purchase_submit_wrapper a.edd-add-to-cart{text-decoration:none;display:none;position:relative;overflow:hidden}.edd_purchase_submit_wrapper a.edd-add-to-cart.edd-has-js{display:inline-block}.edd_purchase_submit_wrapper .edd-cart-ajax{display:none;position:relative;left:-35px}.edd-submit.button.edd-ajax-loading{padding-right:30px}.edd-add-to-cart .edd-add-to-cart-label{opacity:1}.edd-loading,.edd-loading:after{border-radius:50%;display:block;width:1.5em;height:1.5em}.edd-loading{-webkit-animation:edd-spinning 1.1s infinite linear;animation:edd-spinning 1.1s infinite linear;border-top:.2em solid rgba(255,255,255,.2);border-right:.2em solid rgba(255,255,255,.2);border-bottom:.2em solid rgba(255,255,255,.2);border-left:.2em solid #fff;font-size:.75em;position:absolute;left:calc(50% - .75em);top:calc(50% - .75em);opacity:0;-ms-transform:translateZ(0);transform:translateZ(0)}.edd-discount-loader.edd-loading,.edd-loading-ajax.edd-loading,a.edd-add-to-cart.white .edd-loading{border-top-color:rgba(0,0,0,.2);border-right-color:rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.2);border-left-color:#000}.edd-loading-ajax.edd-loading{display:inline-block;position:relative;top:0;left:.25em;vertical-align:middle}#edd_checkout_form_wrap .edd-cart-adjustment .edd-apply-discount.edd-submit{display:inline-block}.edd-discount-loader.edd-loading{display:inline-block;position:relative;left:auto;vertical-align:middle;width:1.25em;height:1.25em}.edd-loading-ajax.edd-loading{opacity:1}@-webkit-keyframes edd-spinning{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes edd-spinning{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.edd-loading,a.edd-add-to-cart .edd-add-to-cart-label{-webkit-transition:.1s opacity!important;-moz-transition:.1s opacity!important;-ms-transition:.1s opacity!important;-o-transition:.1s opacity!important;transition:.1s opacity!important}.edd-add-to-cart[data-edd-loading] .edd-add-to-cart-label{opacity:0}.edd-add-to-cart[data-edd-loading] .edd-loading,.edd-discount-loader.edd-loading{opacity:1}.edd-cart-added-alert{color:#567622;display:block;position:absolute}.edd_form input.edd-input.required,.edd_form select.edd-select.required{color:#000}body.edd_receipt_page{background-color:#fff;color:#141412;margin:0;font-family:Helvetica,sans-serif;font-size:12px}body.edd_receipt_page:before{position:relative}body.edd_receipt_page #edd_receipt_wrapper{width:660px;margin:0 auto;padding:50px 0}body.edd_receipt_page table{display:table;width:100%;border-bottom:1px solid #ededed;border-collapse:collapse;border-spacing:0;font-size:14px;line-height:2;margin:0 0 20px}body.edd_receipt_page td,body.edd_receipt_page th{display:table-cell;text-align:left;border-top:1px solid #ededed;padding:6px 10px;font-weight:400}body.edd_receipt_page th{font-weight:700;text-transform:uppercase}body.edd_receipt_page h3{font-size:22px;margin:40px 0 5px;clear:both;display:block;font-weight:700}body.edd_receipt_page li{list-style:none}table#edd_purchase_receipt,table#edd_purchase_receipt_products{width:100%}table#edd_purchase_receipt td,table#edd_purchase_receipt th,table#edd_purchase_receipt_products td,table#edd_purchase_receipt_products th{text-align:left}table#edd_purchase_receipt .edd_receipt_payment_status.cancelled,table#edd_purchase_receipt .edd_receipt_payment_status.failed,table#edd_purchase_receipt .edd_receipt_payment_status.pending,table#edd_purchase_receipt .edd_receipt_payment_status.revoked{color:#f73f2e}table#edd_purchase_receipt_products li{list-style:none;margin:0 0 8px 10px}table#edd_purchase_receipt ul,table#edd_purchase_receipt_products ul.edd_purchase_receipt_files{margin:0;padding:0}table#edd_purchase_receipt li.edd_download_file{list-style:none;margin:0 0 8px 0}table#edd_purchase_receipt_products .edd_purchase_receipt_product_notes{font-style:italic}table#edd_purchase_receipt_products .edd_purchase_receipt_product_name{font-weight:700}table#edd_purchase_receipt_products .edd_bundled_product_name{font-style:italic;font-weight:700}#edd_user_history{text-align:left;width:100%;border-top:1px solid #f0f0f0;border-bottom:none}#edd_user_history td,#edd_user_history th{text-align:left;padding:3px 5px;border-bottom:1px solid #f0f0f0;border-top:none}#edd_user_history th{font-weight:700;background:#f5f5f5}#edd_user_history td{line-height:25px;vertical-align:middle}#edd_user_history .edd_purchase_status.cancelled,#edd_user_history .edd_purchase_status.failed,#edd_user_history .edd_purchase_status.pending,#edd_user_history .edd_purchase_status.revoked{color:#f73f2e}#edd_login_form legend,#edd_register_form legend{font-size:120%;margin-bottom:1em}#edd_login_form fieldset,#edd_register_form fieldset{border:none}#edd_login_form .edd-input,#edd_register_form .edd-input{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#edd_login_form label,#edd_register_form label{cursor:pointer}#edd_profile_editor_form p{margin-bottom:8px}#edd_profile_editor_form label{display:inline-block}#edd_profile_editor_form .edd-profile-emails{list-style-type:none;display:inline-table;margin-left:0;margin-bottom:0}#edd_profile_editor_form .edd-profile-email{width:auto}#edd_profile_editor_form .edd-profile-email .actions{display:none}#edd_profile_editor_form .edd-profile-email:hover>span{display:inline-block}.edd_added_to_cart_alert{padding:5px;font-size:14px;border:1px solid #046a9e;background:#9ecce2;color:#333;margin:8px 0}.edd_added_to_cart_alert a.edd_alert_checkout_link{color:#000!important}input.edd_submit_plain{background:0 0!important;border:none!important;padding:0!important;display:inline;cursor:pointer}.single-download .edd_download_purchase_form{margin-bottom:1.387em}.edd_download_purchase_form .edd_download_quantity_wrapper{margin:0 0 .5em}.edd_download_purchase_form .edd_download_quantity_wrapper .edd-item-quantity{width:75px}.edd_download_purchase_form .edd_price_options{margin:0 0 15px}.edd_download_purchase_form .edd_price_options ul{margin:0;padding:0;list-style:none}.edd_download_purchase_form .edd_price_options li{display:block;padding:0;margin:0}.edd_download_purchase_form .edd_price_options span{display:inline;padding:0;margin:0}.edd_download_purchase_form .edd_price_options .edd_download_quantity_wrapper{padding-left:18px}.edd_download_purchase_form .edd_price_options .edd_download_quantity_wrapper *{font-size:80%}.edd_download_purchase_form .edd_price_options input.edd-item-quantity{display:inline;width:50px;max-width:90%}#edd-purchase-button,.edd-submit,[type=submit].edd-submit{display:inline-block;padding:6px 12px;margin:0;font-size:14px;font-weight:400;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.edd-submit.button:focus,[type=submit].edd-submit:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.edd-submit.button:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.edd-submit.plain{padding:0;border:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.edd-submit.button,.edd-submit.button.gray,.edd-submit.button:visited{color:#333;background:#f0f0f0;border-color:#ccc}.edd-submit.button.gray:active,.edd-submit.button.gray:focus,.edd-submit.button.gray:hover,.edd-submit.button:active,.edd-submit.button:focus,.edd-submit.button:hover{color:#333;background:#ebebeb;border-color:#adadad}.edd-submit.button.gray:active{background-image:none}.edd-submit.button.white{color:#333;background:#fff;border-color:#ccc}.edd-submit.button.white:active,.edd-submit.button.white:focus,.edd-submit.button.white:hover{color:#333;background:#ebebeb;border-color:#adadad}.edd-submit.button.white:active{background-image:none}.edd-submit.button.blue{color:#fff;background:#428bca;border-color:#357ebd}.edd-submit.button.blue.active,.edd-submit.button.blue:focus,.edd-submit.button.blue:hover{color:#fff;background:#3276b1;border-color:#285e8e}.edd-submit.button.blue.active{background-image:none}.edd-submit.button.red{color:#fff;background:#d9534f;border-color:#d43f3a}.edd-submit.button.red:active,.edd-submit.button.red:focus,.edd-submit.button.red:hover{color:#fff;background:#d2322d;border-color:#ac2925}.edd-submit.button.red:active{background-image:none}.edd-submit.button.green{color:#fff;background:#5cb85c;border-color:#4cae4c}.edd-submit.button.green:active,.edd-submit.button.green:focus,.edd-submit.button.green:hover{color:#fff;background:#47a447;border-color:#398439}.edd-submit.button.green:active{background-image:none}.edd-submit.button.yellow{color:#fff;background:#f0ad4e;border-color:#eea236}.edd-submit.button.yellow:active,.edd-submit.button.yellow:focus,.edd-submit.button.yellow:hover{color:#fff;background:#ed9c28;border-color:#d58512}.edd-submit.button.yellow:active{background-image:none}.edd-submit.button.orange{color:#fff;background:#ed9c28;border-color:#e3921e}.edd-submit.button.orange:active,.edd-submit.button.orange:focus,.edd-submit.button.orange:hover{color:#fff;background:#e59016;border-color:#d58512}.edd-submit.button.orange:active{background-image:none}.edd-submit.button.dark-gray{color:#fff;background:#363636;border-color:#222}.edd-submit.button.dark-gray:active,.edd-submit.button.dark-gray:focus,.edd-submit.button.dark-gray:hover{color:#fff;background:#333;border-color:#adadad}.edd-submit.button.dark-gray:active{background-image:none}.edd_downloads_list:after{content:"";display:table;clear:both}.edd_download{float:left}.edd_download_columns_1 .edd_download{width:100%}.edd_download_columns_2 .edd_download{width:50%}.edd_download_columns_0 .edd_download,.edd_download_columns_3 .edd_download{width:33%}.edd_download_columns_4 .edd_download{width:25%}.edd_download_columns_5 .edd_download{width:20%}.edd_download_columns_6 .edd_download{width:16.6%}.edd_download_inner{padding:0 8px 8px;margin:0 0 10px}.edd_download_columns_2 .edd_download:nth-child(2n+1),.edd_download_columns_3 .edd_download:nth-child(3n+1),.edd_download_columns_4 .edd_download:nth-child(4n+1),.edd_download_columns_5 .edd_download:nth-child(5n+1),.edd_download_columns_6 .edd_download:nth-child(6n+1){clear:left}.edd_download_image{max-width:100%}.edd_download .edd_price{margin-bottom:10px}.edd-hide-on-empty.cart-empty{display:none}edd-hide-on-empty.cart-not.empty{display:block}.edd-cart-ajax{margin:0 8px 0 4px;position:relative;top:2px;background:0 0;border:none;padding:0}.edd-cart-number-of-items{font-style:italic;color:grey}.edd-cart-meta.edd_subtotal{font-weight:700;font-style:italic}.edd-cart-meta.edd_cart_tax{font-size:1em;font-style:italic}.edd-cart-meta.edd_cart_tax::before{font-style:normal}.edd-cart-meta.edd_total{font-weight:700}.edd-cart-meta{padding:2px 5px}.edd-cart-meta.edd_subtotal,.edd-cart-meta.edd_total{background-color:#f9f9f9}.edd_errors:not(.edd-alert){-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;border:1px solid #e6db55;margin:0 0 21px;background:#ffffe0;color:#333}.edd_error{padding:10px}p.edd_error{margin:0!important}.edd_success:not(.edd-alert){-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;border:1px solid #b3ce89;margin:20px 0;background:#d5eab3;color:#567622;padding:6px 8px;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}.edd-alert{-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;margin-bottom:20px;padding:10px;border:1px solid transparent;vertical-align:middle}.edd-alert p{padding:0}.edd-alert p:not(:last-child){margin-bottom:5px}.edd-alert p:last-child{margin-bottom:0}.edd-alert-error{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.edd-alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#3c763d}.edd-alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.edd-alert-warn{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}
templates/history-downloads.php CHANGED
@@ -93,17 +93,14 @@ if ( $purchases ) :
93
  endforeach;
94
  ?>
95
  </table>
96
- <div id="edd_download_history_pagination" class="edd_pagination navigation">
97
- <?php
98
- $big = 999999;
99
- echo paginate_links( array(
100
- 'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ),
101
- 'format' => '?paged=%#%',
102
- 'current' => max( 1, get_query_var( 'paged' ) ),
103
- 'total' => ceil( edd_count_purchases_of_customer() / 20 ) // 20 items per page
104
- ) );
105
- ?>
106
- </div>
107
  <?php do_action( 'edd_after_download_history' ); ?>
108
  <?php else : ?>
109
  <p class="edd-no-downloads"><?php _e( 'You have not purchased any downloads', 'easy-digital-downloads' ); ?></p>
93
  endforeach;
94
  ?>
95
  </table>
96
+ <?php
97
+ echo edd_pagination(
98
+ array(
99
+ 'type' => 'download_history',
100
+ 'total' => ceil( edd_count_purchases_of_customer() / 20 ) // 20 items per page
101
+ )
102
+ );
103
+ ?>
 
 
 
104
  <?php do_action( 'edd_after_download_history' ); ?>
105
  <?php else : ?>
106
  <p class="edd-no-downloads"><?php _e( 'You have not purchased any downloads', 'easy-digital-downloads' ); ?></p>
templates/history-purchases.php CHANGED
@@ -45,17 +45,14 @@ if ( is_user_logged_in() ):
45
  </tr>
46
  <?php endforeach; ?>
47
  </table>
48
- <div id="edd_purchase_history_pagination" class="edd_pagination navigation">
49
- <?php
50
- $big = 999999;
51
- echo paginate_links( array(
52
- 'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ),
53
- 'format' => '?paged=%#%',
54
- 'current' => max( 1, get_query_var( 'paged' ) ),
55
- 'total' => ceil( edd_count_purchases_of_customer() / 20 ) // 20 items per page
56
- ) );
57
- ?>
58
- </div>
59
  <?php do_action( 'edd_after_purchase_history', $payments ); ?>
60
  <?php wp_reset_postdata(); ?>
61
  <?php else : ?>
45
  </tr>
46
  <?php endforeach; ?>
47
  </table>
48
+ <?php
49
+ echo edd_pagination(
50
+ array(
51
+ 'type' => 'purchase_history',
52
+ 'total' => ceil( edd_count_purchases_of_customer() / 20 ) // 20 items per page
53
+ )
54
+ );
55
+ ?>
 
 
 
56
  <?php do_action( 'edd_after_purchase_history', $payments ); ?>
57
  <?php wp_reset_postdata(); ?>
58
  <?php else : ?>