Easy Digital Downloads - Version 2.8.7

Version Description

Download this release

Release Info

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

Code changes from version 2.8.6 to 2.8.7

assets/css/edd-admin.css CHANGED
@@ -64,6 +64,13 @@ a.edd-delete:hover {
64
  z-index: 9999 !important;
65
  }
66
 
 
 
 
 
 
 
 
67
  /* =Add Ons Styles
68
  -------------------------------------------------------------- */
69
 
@@ -131,9 +138,15 @@ a.edd-delete:hover {
131
  height: 100px;
132
  min-width: 200px;
133
  }
134
- #edd-add-discount input[type="checkbox"],
135
- #edd-edit-discount input[type="checkbox"] {
136
- width: 15px;
 
 
 
 
 
 
137
  }
138
 
139
  /* Payment History Styles
@@ -509,6 +522,9 @@ input[class*="edd-price-field"] {
509
  #edd-edit-order-form .column:nth-child(2n+1) {
510
  margin-right: 0;
511
  }
 
 
 
512
  .edd-edit-purchase-element ul li.download {
513
  width: 35%;
514
  }
@@ -1298,6 +1314,10 @@ td.edd_order_price {
1298
  width: 100%;
1299
  min-height: 230px;
1300
  }
 
 
 
 
1301
  }
1302
 
1303
  /* Customer Styles
@@ -1680,6 +1700,60 @@ td.edd_order_price {
1680
  .edd-bundled-product-row .edd-bundled-product-item-reorder .edd-product-file-reorder {
1681
  padding: 0;
1682
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1683
  }
1684
 
1685
  /* Tools Styles
64
  z-index: 9999 !important;
65
  }
66
 
67
+ .download_page_edd-settings .edd-settings-payment-icon-wrapper {
68
+ margin-right:10px;
69
+ line-height:16px;
70
+ height:16px;
71
+ display: table;
72
+ }
73
+
74
  /* =Add Ons Styles
75
  -------------------------------------------------------------- */
76
 
138
  height: 100px;
139
  min-width: 200px;
140
  }
141
+ #edd-add-discount input[type="text"],
142
+ #edd-edit-discount input[type="text"] {
143
+ width: 300px;
144
+ }
145
+
146
+ #edd-add-discount input.edd-price-field,
147
+ #edd-edit-discount input.edd-price-field {
148
+ padding: 3px 5px;
149
+ width: 75px;
150
  }
151
 
152
  /* Payment History Styles
522
  #edd-edit-order-form .column:nth-child(2n+1) {
523
  margin-right: 0;
524
  }
525
+ #edd-edit-order-form input.large-text {
526
+ width: 90%;
527
+ }
528
  .edd-edit-purchase-element ul li.download {
529
  width: 35%;
530
  }
1314
  width: 100%;
1315
  min-height: 230px;
1316
  }
1317
+
1318
+ #edd-edit-order-form input.large-text {
1319
+ width: 100%;
1320
+ }
1321
  }
1322
 
1323
  /* Customer Styles
1700
  .edd-bundled-product-row .edd-bundled-product-item-reorder .edd-product-file-reorder {
1701
  padding: 0;
1702
  }
1703
+
1704
+ #edd-payment-filters span {
1705
+ display: block;
1706
+ margin: 2px 0;
1707
+ }
1708
+
1709
+ #edd-payment-filters a,
1710
+ .download_page_edd-reports .button {
1711
+ text-align: center;
1712
+ }
1713
+
1714
+ #edd-payment-date-filters span {
1715
+ display: block;
1716
+ }
1717
+ #edd-payment-date-filters span > input {
1718
+ float: right;
1719
+ }
1720
+
1721
+ #edd-add-discount select[multiple] option,
1722
+ #edd-edit-discount select[multiple] option {
1723
+ height: 20px;
1724
+ }
1725
+
1726
+ .download_page_edd-tools .inside input[type="text"],
1727
+ .download_page_edd-tools .inside select,
1728
+ .download_page_edd-tools .inside input[type="submit"],
1729
+ .download_page_edd-settings .inside input[type="button"],
1730
+ .download_page_edd-reports .inside input[type="text"],
1731
+ .download_page_edd-reports .inside select,
1732
+ .download_page_edd-reports .inside input[type="submit"],
1733
+ .download_page_edd-reports .inside .button,
1734
+ #system-info-textarea,
1735
+ #edd-add-discount input[type="text"],
1736
+ #edd-edit-discount input[type="text"],
1737
+ #edd-payment-filters input:not([type='radio']),
1738
+ #edd-payment-filters select,
1739
+ #edd-payment-filters a {
1740
+ width: 100%;
1741
+ }
1742
+
1743
+ #edd-add-discount select[multiple],
1744
+ #edd-edit-discount select[multiple],
1745
+ .download_page_edd-tools select[multiple] {
1746
+ height: 200px !important;
1747
+ }
1748
+
1749
+ .download_page_edd-settings input[type="checkbox"] {
1750
+ margin: 2px 0;
1751
+ }
1752
+
1753
+ .post-type-download input[type="checkbox"] {
1754
+ margin-left: 2px;
1755
+ }
1756
+
1757
  }
1758
 
1759
  /* Tools Styles
assets/css/edd-admin.min.css CHANGED
@@ -1 +1 @@
1
- #edd-payment-date-filters input,.edd-mobile-link{vertical-align:middle}.edd-hidden{display:none}.edd-clearfix:after{content:".";display:block;height:0;text-indent:-9999px;visibility:hidden}.edd-wrap a{text-decoration:none}a.edd-delete{color:#a00}a.edd-delete:hover{color:red}.download_page_edd-settings .form-table label{color:#666;font-size:14px;font-style:italic;margin:4px 0 0}.download_page_edd-settings .form-table input.small-text~label,.download_page_edd-settings .form-table input[type=checkbox]+label{display:inline}.download_page_edd-settings .form-table tr>th>h3,.download_page_edd-settings .form-table tr>th>strong{font-size:1.2em;font-weight:600;margin:0 auto}.edd-help-tip{cursor:help}.edd-ui-tooltip{background:#333!important;border-width:1px!important;border-radius:3px!important;box-shadow:1px 1px 2px 1px rgba(214,214,214,.5)!important;color:#dedede!important;max-width:300px!important;padding:7px!important;text-rendering:optimizeLegibility;text-shadow:none!important;z-index:9999!important}#edd-add-ons h2.nav-tab-wrapper{position:relative}#edd-add-ons h2 .button-primary,.edd-tab-span{position:absolute}.edd-tab-span{top:-6px;right:0}.edd-add-ons-footer{padding-top:10px}#edd-add-ons h2{margin:0 0 15px}#edd-add-ons .edd-extension{background:#fff;border:1px solid #ccc;float:left;padding:14px;position:relative;margin:0 15px 15px 0;width:320px;height:315px}#edd-add-ons .edd-extension h3{font-size:13px;margin:0 0 8px}#edd-add-ons .edd-extension .button-secondary{position:absolute;bottom:14px;left:14px}#edd-add-ons .edd-browse-all{clear:both;width:100%}#edd-add-ons .edd-extension .third-party{display:none}#edd-add-ons .edd-starter-package{background-color:#85c0e5;border-color:#62a9d7;color:#fff}#edd-add-ons .edd-starter-package h3{color:#fff}#edd-payment-filters p,.edd-repeatable-row-actions .toggle-custom-price-option-section{color:#777}#edd-add-ons .edd-extension .wp-post-image{width:100%;height:auto}#edd-products{height:100px;min-width:200px}#edd-add-discount input[type=checkbox],#edd-edit-discount input[type=checkbox]{width:15px}#edd-payment-filters{background:#f5f5f5;clear:both;background-image:-webkit-gradient(linear,left bottom,left top,from(#f5f5f5),to(#fafafa));background-image:-webkit-linear-gradient(bottom,#f5f5f5,#fafafa);background-image:-moz-linear-gradient(bottom,#f5f5f5,#fafafa);background-image:-o-linear-gradient(bottom,#f5f5f5,#fafafa);background-image:linear-gradient(to top,#f5f5f5,#fafafa);border-color:#dfdfdf;border-width:1px;border-style:solid;border-radius:3px;font-size:13px;line-height:2.1em;overflow:auto;padding:12px;margin:8px 0}#edd-payments-filter ul.subsubsub{margin-bottom:8px}tr.status-refunded td{background:#cecece;border-top-color:#ccc}.wp-list-table.downloads th#ID{width:80px}.wp-list-table.downloads th#details{width:130px}.wp-list-table.downloads th#date{width:140px}.wp-list-table.downloads th#user{width:130px}.edd-mobile-link{line-height:32px}.edd-mobile-link img{max-width:80%;height:auto;float:left}@media handheld,only screen and (max-width:640px){.wp-list-table.downloads th{width:auto!important}}.download_page_edd-payment-history .ui-dialog .ui-dialog-titlebar-close span{margin-left:-8px;margin-top:-8px}#edd-download-link-textarea{width:100%}.edd_files_name_label{width:225px;float:left}.edd_files_url_label{width:220px;float:left}#postbox-container-1 .edd_files_name_label,#postbox-container-1 .edd_files_url_label{width:80px}.edd-add-repeatable-row{margin:10px 0}.edd-add-repeatable-row .submit{padding:0!important}.edd_repeatable_upload_wrapper:not(:first-child),.edd_variable_prices_wrapper:not(:first-child){margin-top:12px}.edd-repeatable-row-actions{color:#777;font-size:12px}.edd-repeatable-row-actions a{text-decoration:none;width:auto;cursor:pointer;vertical-align:middle}.edd-repeatable-row-actions .toggle-custom-price-option-section:hover{color:#444}.edd-bundle-products-header,.edd-repeatable-row-header{clear:both;background:#f1f1f1;border:1px solid #e5e5e5}.edd-repeatable-row-header{cursor:move}.edd-bundled-product-row:after,.edd-bundled-product-row:before,.edd-repeatable-row-header:after,.edd-repeatable-row-header:before{content:'';display:table}.edd-bundled-product-row:after,.edd-repeatable-row-header:after{clear:both}.edd-repeatable-row-title{float:left;font-weight:600}.edd-admin-box .right,.edd-bundled-product-row .edd-bundled-product-actions{float:right}.edd-bundled-product-item-reorder .edd-product-file-reorder{color:#e5e5e5;font-family:dashicons;content:"\f545";font-size:18px;font-weight:300;margin-left:4px;vertical-align:top;transition:.2s color}.edd-bundled-product-item-reorder .edd-product-file-reorder:hover{color:#bbb}.edd-repeatable-row-actions,.edd-repeatable-row-title{padding:8px;box-sizing:border-box}.edd-repeatable-row-actions{float:right;text-align:right;padding:8px}.edd-bundled-product-row .edd-remove-row,.edd-repeatable-row-actions .edd-remove-row{font-size:12px;width:auto;cursor:pointer}.edd-bundled-product-row,.edd-repeatable-row-standard-fields{background:#f9f9f9;padding:8px;border-width:0 1px 1px;border-style:solid;border-color:#e5e5e5}.edd-repeatable-row-setting-label{display:block;margin-bottom:4px}.edd-repeatable-row-setting-label .edd-help-tip{display:inline-block;margin-left:4px}.edd-bundled-product-row .edd-bundled-product-actions,.edd-bundled-product-row .edd-bundled-product-item,.edd-bundled-product-row .edd-bundled-product-item-reorder,.edd-bundled-product-row .edd-bundled-product-price-assignment,.edd-file-assignment,.edd-file-name,.edd-file-url,.edd-option-name,.edd-option-price,.edd_repeatable_default{display:inline-block;vertical-align:top}.edd-option-name{width:38%;margin-right:5%}.edd-option-price{min-width:100px}.edd_repeatable_default{text-align:center;min-width:80px}.edd-file-name{width:18%;margin-right:3%}.edd-file-url{width:65%}.edd-repeatable-row-standard-fields.has-variable-pricing .edd-file-url{width:38%;margin-right:5%}.edd-file-assignment{width:27%}.edd-file-assignment .edd-repeatable-row-setting-label{margin-bottom:0}.edd-custom-price-option-sections-wrap{display:none;border-width:0 1px 1px;border-style:solid;border-color:#e5e5e5;box-sizing:border-box;width:100%}.edd-custom-price-option-section{display:block;padding:10px 8px;border-bottom:1px solid rgba(222,222,222,.3)}.edd-custom-price-option-section:last-child{border-bottom:none}label.edd_prices_shipping{display:none!important}.edd-custom-price-option-section-title{display:block;font-size:14px;font-weight:600;padding:0 0 10px}.edd-custom-price-option-section>:not(.edd-custom-price-option-section-title){display:inline-block;padding-right:20px;vertical-align:top;margin-bottom:4px}.edd-custom-price-option-section>:not(.edd-custom-price-option-section-title) label{display:block;margin-bottom:2px}.edd-bundle-products-header{font-weight:600;padding:8px}.edd-bundled-product-row .edd-bundled-product-item-reorder{min-width:30px;margin-right:8px}.edd-bundled-product-row .edd-bundled-product-item-reorder .edd-product-file-reorder{font-size:20px;font-weight:300;padding:16px 4px 0;cursor:move}.edd-admin-box .label,.edd-admin-box-inside .strong{font-weight:600}.edd-bundled-product-row .edd-bundled-product-item{width:60%;margin-right:3%}.edd-bundled-product-row.has-variable-pricing .edd-bundled-product-item{width:47%}.edd-bundled-product-row .edd-bundled-product-price-assignment{width:23%;margin-right:3%}.edd_repeatable_upload_wrapper .edd_repeatable_upload_field_container{position:relative}.edd_upload_file{background:#fff;display:block;padding:2px 8px;position:absolute;top:3px;right:7px}.edd_upload_field{padding-right:8em}textarea#edd-payment-note{width:100%;height:4em;margin:0}#edd-purchased-files .row .edd-purchased-files-list-wrapper .download{line-height:1.4}#edd-purchased-files .edd-purchased-files-list-wrapper .edd-purchased-option{color:#666}input[class*=edd-price-field]{padding:3px 5px;width:75px}#edd-order-download-quantity[type=number].small-text,#edd-order-download-tax[type=text].small-text,[class*=item_] [class*=edd-payment-details-download-][type=number].small-text{height:25px}#edd-order-download-quantity[type=number].small-text,.item_price .edd-payment-details-download-quantity[type=number].small-text{width:55px}#edd-order-download-tax[type=text].small-text,.item_tax .edd-payment-details-download-item-tax[type=number].small-text{width:75px}.edd_repeatable_product_wrapper .edd-select,.edd_repeatable_upload_wrapper .pricing select{min-width:100%}#edd_product_notes_field{display:block;margin:12px 0 0;height:4em;width:100%}.edd_remove_repeatable{border:none;cursor:pointer;display:inline-block;padding:0;overflow:hidden;margin:8px 0 0;text-indent:-9999px;width:10px;height:10px}.edd_remove_repeatable:active,.edd_remove_repeatable:focus,.edd_remove_repeatable:hover{background-position:-10px 0!important}#edd-edit-order-form .column{width:32%}.edd-edit-purchase-element[class*=columns-] ul li{padding-right:1%}#edd-edit-order-form .column:nth-child(2n+1),#edd-edit-order-form .columns-4 .column:nth-child(2n+1),#edd-edit-order-form .columns-5 .column:nth-child(3n+1){margin-right:0}.edd-edit-purchase-element ul li.download{width:35%}.edd-edit-purchase-element ul li.item_price{width:15%}.edd-edit-purchase-element ul li.item_price.item_quantity{width:25%}.edd-edit-purchase-element ul li.item_tax{width:15%}.edd-edit-purchase-element ul li.price{width:20%}.edd-admin-box-inside{border-bottom:1px solid #eee;clear:both;padding:3px 12px;margin:0;word-break:break-word}.rtl .edd-admin-box-inside{padding:5px 10px 5px 0}.edd-payment-fees .fee-label{color:#666;font-weight:400}.rtl .edd-admin-box .right{float:left;margin-left:10px}#edd-customer-details .actions,#edd-order-recalc-total{float:right}#edd-order-details .inside,#edd-order-update .inside{margin:0;padding:0}#edd-order-update input.edd_datepicker{width:180px}#edd-order-update input[type=number].edd-payment-time-hour,#edd-order-update input[type=number].edd-payment-time-min{width:50px}#edd-order-update .edd-tax-rate{color:#9c9c9c;font-style:italic}#edd-order-resend-receipt .inside{margin-top:11px}#edd-order-resend-receipt .edd-order-resend-receipt-addresses{margin-top:10px}.edd-admin-box-inside:last-child{border-bottom:0}#edd-edit-order-form .data-payment-key{word-break:break-all}.edd-order-update-box #major-publishing-actions .button-secondary{margin-right:10px}.edd-edit-purchase-element .edd-select-chosen{width:196px}#edd-customer-details .order-data-address input,#edd-customer-details .order-data-column p.data input,#edd-edit-order-form .column input,#edd-order-address-country-wrap select,.edd-edit-purchase-element ul{clear:both;display:block}#edd-customer-details .customer-info .column{width:49%}.edd-order-data input.small-text{margin:0}.edd-order-data input.med-text{margin:0;width:100px}#edd-order-update span.label{display:inline;width:50px}.edd-order-update-box .button-primary{margin-right:0}#edd-edit-order-form .column .description{padding-right:10px}#edd-edit-order-form .column,.edd-edit-purchase-element ul li{display:inline-block;line-height:1.4;position:relative;margin:0;vertical-align:middle}.edd-edit-purchase-element .row{padding:12px}.edd-edit-purchase-element .row:not(:last-child){border-bottom:1px solid #eee}.edd-edit-purchase-element .row:nth-child(odd):not(.header){background-color:#f9f9f9}.edd-edit-purchase-element .row.header{padding:6px 12px;font-weight:600;vertical-align:top}.edd-edit-purchase-element ul{font-size:0}.edd-edit-purchase-element ul li{font-size:13px}#edd-order-data .data span{color:#666;font-weight:600}.edd-edit-purchase-element .inside{padding:12px}.edd-edit-purchase-element .edd-purchased-download-title{font-size:14px;font-weight:500}.edd-edit-purchase-element .edd-purchased-download-title .deleted{color:#777}.edd-edit-purchase-element .edd-purchased-download-actions{color:#777;line-height:1.4}.edd-edit-purchase-element .edd-purchased-download-actions .edd-purchased-download-actions-label{font-weight:500}.edd-edit-purchase-element .edd-purchased-download-actions a{color:#777;font-size:12px}.edd-edit-purchase-element .edd-purchased-download-actions a:hover{color:#444}.edd-edit-purchase-element .edd-purchased-download-actions .edd-order-remove-download{color:#a00}.edd-edit-purchase-element .edd-purchased-download-actions .edd-order-remove-download:hover{color:red}#edd_products .edd-select,.edd_repeatable_product_wrapper .edd-select,.edd_repeatable_upload_wrapper .pricing select{min-width:100%;max-width:200px}.edd_repeatable_product_wrapper td{overflow:visible}.edd-payment-details-label-mobile{display:none}@media screen and (max-width:1284px){.edd-edit-purchase-element ul li.download{padding-bottom:15px;width:100%}.edd-edit-purchase-element .edd-purchased-download-title{font-size:16px}.edd-edit-purchase-element ul li.item_price{width:22%}.edd-edit-purchase-element ul li.item_price.item_quantity{width:35%}.edd-edit-purchase-element ul li.item_tax{width:25%}.edd-edit-purchase-element ul li.price{width:20%}.edd-edit-purchase-element .edd-purchased-download-actions{padding-top:10px}.edd-add-download-to-purchase-header,.edd-purchased-files-header{display:none}.edd-payment-details-label-mobile{display:block;font-weight:500;padding-bottom:6px}}@media screen and (max-width:1024px){.edd-edit-purchase-element ul li.item_price.item_quantity{width:40%}.edd-edit-purchase-element ul li.price{width:24%}.edd-edit-purchase-element .edd-purchased-download-actions{padding-top:15px}.edd-edit-purchase-element .edd-purchased-download-actions,.edd-edit-purchase-element .edd-purchased-download-actions a{font-size:14px}}@media screen and (max-width:782px){#edd-edit-order-form .column{width:49%}.edd-edit-purchase-element ul li.item_price,.edd-edit-purchase-element ul li.item_price.item_quantity{padding-bottom:10px}.edd-edit-purchase-element ul li.item_price.item_quantity{width:35%}.edd-edit-purchase-element ul li.item_tax,.edd-edit-purchase-element ul li.price{width:20%;padding-bottom:10px}.edd-payment-details-label-mobile{font-size:14px;font-weight:500}.edd-payment-details-download-amount,.edd-price-currency{font-size:16px}.order-data-column input[type=email]{padding:6px 10px}}@media screen and (max-width:600px){.edd-edit-purchase-element ul li.item_price,.edd-edit-purchase-element ul li.item_price.item_quantity,.edd-edit-purchase-element ul li.item_tax{width:100%;padding-bottom:20px}.edd-edit-purchase-element .edd-add-download-to-purchase ul li.item_tax,.edd-edit-purchase-element ul li.price{width:100%;padding-bottom:0}.edd-edit-purchase-element .edd-add-download-to-purchase-actions{padding-top:15px}#edd-edit-order-form .column{width:100%}}#edd_product_stats .label{display:inline-block}#edd_product_stats hr{border-style:solid;border-width:1px;border-color:#ccc #fff #fff #ccc}#edd_product_stats .product-earnings-stats:before,#edd_product_stats .product-sales-stats:before{color:#82878c;font:400 20px/1 dashicons;display:inline-block;padding:0 2px 0 0;position:relative;top:0;left:-1px;speak:none;text-decoration:none!important;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#edd-item-card-wrapper a.delete,#edd-item-stats-wrapper a,.customer-edit-link a,.disconnect-user a,.wrap-licenses .edd-license-data.edd-license-expired a:hover,.wrap-licenses .edd-license-data.license-expires-soon-notice a:hover,.wrap-licenses .edd-license-data[class*=edd-license-] a:hover{text-decoration:none}#edd_product_stats .product-sales-stats:before{content:'\f174'}#edd_product_stats .product-earnings-stats:before{content:'\f239'}.edd_dashboard_widget table thead td{border-bottom:1px solid #ececec;color:#777}.edd_dashboard_widget .table_left{float:left;width:45%}.edd_dashboard_widget .table_right{float:right;width:45%}.edd_dashboard_widget .inside{font-size:12px}.edd_dashboard_widget td{padding:3px 0}.edd_dashboard_widget .b,.edd_dashboard_widget .t{line-height:1.5;vertical-align:middle}.edd_dashboard_widget .b{font-size:14px;font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;padding-right:6px;width:auto}.edd_dashboard_widget .t{font-size:12px;padding-right:12px;color:#777;width:100%}.edd_dashboard_widget .label_heading{border-top:1px solid #ececec;color:#8f8f8f;font-family:Helvetica,Arial,sans-serif;font-size:12px;font-weight:400;display:block;padding-top:10px;margin:0 0 8px 12px}.edd_dashboard_widget .edd_dashboard_widget_subheading{border-top:1px solid #ececec;color:#8f8f8f;font-size:14px;padding-top:10px;margin:1em 0 0}.edd_dashboard_widget .edd_dashboard_widget_subheading+.table{margin:8px 0 0}.edd_dashboard_widget .edd_price_label{background:#00769c;border-radius:3px;color:#fff;font-size:10px;padding:2px 4px;margin-right:2px}.edd_dashboard_widget table{width:100%;margin-left:0;margin-bottom:1em}td.edd_order_label{width:80%}td.edd_order_price{text-align:right}@media handheld,only screen and (max-width:1000px){.edd_dashboard_widget .edd-recent-email{display:none}}#edd-dashboard-widgets-wrap .postbox h3{cursor:default}#edd-date-range-options,#edd-graphs-date-options{float:left}#edd-date-range-options span{float:left;line-height:24px;height:24px;margin-right:6px}.edd-import-export-form{position:relative}.edd-import-export-form .edd-progress{background:#ddd;position:absolute;bottom:15px;width:95%;height:15px}.edd-import-export-form .edd-progress div{background:#ccc;height:100%;width:0}.edd-import-export-form .notice-wrap{background-color:#f4f4f4;border-style:solid;border-width:1px 0;border-color:#eae9e9;padding:12px 12px 4px;overflow:auto;margin:20px -12px -23px}.edd-import-export-form .notice-wrap .spinner{margin:4px 10px 8px;float:right}.admin-color-fresh .edd-import-export-form .edd-progress div{background:#0073aa}.admin-color-light .edd-import-export-form .edd-progress div{background:#888}.admin-color-blue .edd-import-export-form .edd-progress div{background:#096484}.admin-color-coffee .edd-import-export-form .edd-progress div{background:#c7a589}.admin-color-ectoplasm .edd-import-export-form .edd-progress div{background:#a3b745}.admin-color-midnight .edd-import-export-form .edd-progress div{background:#e14d43}.admin-color-sunrise .edd-import-export-form .edd-progress div{background:#dd823b}#edd-graphs-filter label{vertical-align:inherit}#edd-graphs-filter .graph-option-section{float:left;line-height:2.5em;padding-right:5px}.edd-mix-totals{background-color:#fff;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04);padding:10px}.edd-mix-chart{display:inline-block;width:49%;vertical-align:top}.edd-graph-notes{color:#9c9c9c}.edd-graph-notes span{display:block}.edd-pie-graph .legend{display:none}.edd-pie-legend{overflow:auto;margin-top:10px}.edd-legend-item-wrapper{color:#333;display:inline-block;font-size:8pt;padding:2px 5px 0;width:48%;height:20px}.edd-legend-color{border:1px solid #cfcfcf;display:inline-block;margin-right:5px;width:20px;height:15px}.edd-pie-legend-item{display:inline-block;vertical-align:top;width:80%}#edd_tax_rates{margin:1em 0 0}#edd_tax_rates .edd_tax_country *,#edd_tax_rates .edd_tax_state *{max-width:100%}#edd_tax_rates .edd_tax_country,#edd_tax_rates .edd_tax_state{width:180px}#edd_tax_rates .edd_tax_rate{width:80px}#edd_tax_rates th{padding:15px 10px}.wrap-licenses .form-table,.wrap-licenses caption,.wrap-licenses tbody,.wrap-licenses td,.wrap-licenses tfoot,.wrap-licenses th,.wrap-licenses thead,.wrap-licenses tr{display:block}.wrap-licenses .form-table tr{float:left;margin:0 15px 15px 0;background:#fff;border:1px solid #ccc;width:30.5%;max-width:350px;padding:14px;min-height:220px;position:relative;box-sizing:border-box}.wrap-licenses .form-table th{background:#f9f9f9;padding:14px;border-bottom:1px solid #ccc;margin:-14px -14px 20px;width:100%}.wrap-licenses .form-table td{padding:0}.wrap-licenses td input.regular-text{margin:0 0 8px;width:100%}.wrap-licenses .edd-license-data[class*=edd-license-]{position:absolute;background:#fafafa;padding:14px;border-top:1px solid #eee;margin:20px -14px -14px;min-height:67px;width:100%;bottom:14px;box-sizing:border-box}.wrap-licenses .edd-license-data[class*=edd-license-] a{color:#444}.wrap-licenses .edd-license-data.license-expires-soon-notice{background-color:#00a0d2;color:#fff;border-color:#00a0d2}.wrap-licenses .edd-license-data.edd-license-expired{background-color:#e24e4e;color:#fff;border-color:#e24e4e}.wrap-licenses .edd-license-data.edd-license-error,.wrap-licenses .edd-license-data.edd-license-invalid,.wrap-licenses .edd-license-data.edd-license-item_name_mismatch,.wrap-licenses .edd-license-data.edd-license-missing,.wrap-licenses .edd-license-data.edd-license-site_inactive{background-color:#ffebcd;border-color:#ffebcd}.wrap-licenses .edd-license-data p{font-size:13px;margin-top:0}.wrap-licenses .edd-license-data.edd-license-expired a,.wrap-licenses .edd-license-data.license-expires-soon-notice a{color:#fff}.wrap-licenses p.submit{clear:both}#system-info-textarea{background:0 0;font-family:Menlo,Monaco,monospace;display:block;overflow:auto;white-space:pre;width:800px;height:400px}#TB_window #edd-add-download:active,#TB_window #edd-add-download:focus,#TB_window #edd-add-download:hover{color:#fff}.edd-graph .y1Axis{color:#edc240!important}.edd-graph .y2Axis{color:#afd8f8!important}.download_page_edd-tools .apikeys .column-user{width:192px}.edd-select-chosen{width:100%;max-width:300px}.chosen-container-multi .chosen-choices{background-image:none;border-color:#dfdfdf;-webkit-border-radius:3px;border-radius:3px}.chosen-container-multi .chosen-choices input{border-color:#dfdfdf;height:27px!important;margin:2px}.chosen-container .chosen-drop{border-color:#aaa;-webkit-box-shadow:1px 1px 2px rgba(0,0,0,.1);box-shadow:1px 1px 2px rgba(0,0,0,.1)}.chosen-container .search-field{float:none!important}.chosen-container .search-field input{width:90%!important}.chosen-container-active .chosen-choices{border-color:#aaa;-webkit-border-top-left-radius:3px;-webkit-border-top-right-radius:3px;-webkit-border-bottom-left-radius:0;-webkit-box-shadow:1px 1px 2px rgba(0,0,0,.1);box-shadow:1px 1px 2px rgba(0,0,0,.1);border-radius:3px 3px 0 0}.download_page_edd-tools .tablenav .actions{overflow:visible}.edd_user_search_wrap{position:relative;overflow:visible}.edd_user_search_results{position:absolute;left:0;top:27px}.edd_user_search_results a.edd-ajax-user-cancel{position:absolute;right:6px;top:2px}.edd_user_search_results ul{background:#f0f0f0;border:1px solid #dfdfdf;overflow-y:scroll;padding:10px 10px 4px;margin:0;max-height:200px;width:300px}.wp-list-table .type-download .row-actions{color:#999}@media screen and (max-width:1100px){.edd-mix-chart{display:block;width:100%}.wrap-licenses .form-table tr{width:46%;max-width:none;min-height:230px}}@media screen and (max-width:782px){.post-type-download .nav-tab-wrapper a{font-size:70%;padding:2px 4px}.download_page_edd-tools .apikeys .column-user{width:80px}.license-expiration-date-notice,.license-lifetime-notice,.license-null{padding-left:0}[class^=license-] input[type=text]{margin-bottom:3px}}#edd-item-tab-wrapper-list li a,#edd-item-tab-wrapper-list li.active{display:block;padding:8px 10px 8px 6px}@media screen and (max-width:600px){.wrap-licenses .form-table tr{width:100%;min-height:230px}}#edd-item-wrapper{background:#f5f5f5;border:1px solid #e5e5e5;webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);max-width:830px}#edd-item-wrapper:after{content:"";display:block;clear:both;visibility:hidden;font-size:0;height:0}#edd-item-tab-wrapper{float:left;width:18%;z-index:1}#edd-item-tab-wrapper-list{background:#fff;margin:0}#edd-item-tab-wrapper-list li{display:block;background-color:#eaeaea;color:#444;font-size:12px;border-bottom:1px solid #e5e5e5;margin-bottom:0;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;word-wrap:break-word}#edd-item-tab-wrapper-list li.active{background-color:#fff}#edd-item-tab-wrapper-list .inactive a,#edd-item-tab-wrapper-list .inactive a:visited{background-color:#f5f5f5;color:#444;text-decoration:none}#edd-item-tab-wrapper-list .inactive a:hover{background-color:#fff}#edd-item-tab-wrapper-list .dashicons{color:#444;font-size:16px;min-width:24px;height:auto}#edd-item-card-wrapper .left{float:left}#edd-item-card-wrapper .right{float:right}#edd-item-card-wrapper input{font-weight:400}#edd-item-card-wrapper .customer-id,.customer-info .customer-name{font-size:24px;font-weight:600}#edd-item-card-wrapper{background-color:#fff;border:1px solid #e5e5e5;display:inline-block;margin-left:-1px;min-height:200px;width:700px;z-index:2}.edd-item-has-tabs #edd-item-card-wrapper{border-width:0 0 0 1px;width:82%}#edd-item-card-wrapper .customer-section{border-bottom:1px solid #eee;margin-bottom:10px;overflow:auto}#edd-item-card-wrapper .customer-section table{margin-bottom:20px}#edd-item-card-wrapper>div{padding:0 20px}#edd-item-card-wrapper>div:first-child{padding-top:20px}#edd-item-card-wrapper>div:last-child{border:none;padding-bottom:20px}#edd-item-card-wrapper .avatar-wrap{padding-right:10px;text-align:center}#edd-item-card-wrapper .customer-main-wrapper input{width:200px}#edd-item-card-wrapper .customer-address-wrapper{margin-right:25px;max-width:33%;width:202px}#edd-item-card-wrapper .customer-address-wrapper select{width:200px}#edd-item-card-wrapper .customer-info{margin-top:5px;margin-bottom:10px;min-height:185px}#edd-item-card-wrapper .info-wrapper{min-height:125px;overflow:visible}#edd-item-card-wrapper a.delete{color:red;margin-right:5px}.customer-edit-link a,.disconnect-user a{font-size:12px;font-weight:400}#customer-edit-actions{line-height:28px;margin-bottom:20px;text-align:center}#customer-edit-actions .button-secondary{margin-right:10px}#edd-item-card-wrapper .row-title{width:30%}#edd-item-card-wrapper .info-item{display:block;line-height:16px;padding-bottom:5px}#edd-item-card-wrapper .edit-item{display:none}#edd-item-card-wrapper .edd_user_search_results{left:1px;top:16px}#edd-item-card-wrapper .edd_user_search_results ul{width:200px}#edd-item-stats-wrapper{margin:0 auto;min-height:30px;text-align:center}#edd-item-stats-wrapper li{font-size:14px;float:left;line-height:22px;width:50%}#edd-item-stats-wrapper .dashicons{color:#888}#edd-item-tables-wrapper table{text-align:center;width:100%}#edd-item-tables-wrapper th{text-align:center}#edd-item-tables-wrapper .downloads tr>td:first-child,#edd-item-tables-wrapper .downloads tr>th:first-child,#edd-item-tables-wrapper .emails tr>td:first-child,#edd-item-tables-wrapper .emails tr>th:first-child{text-align:left}#edd-item-tables-wrapper .downloads tr>td:only-child,.delete-customer{text-align:center}#edd-item-tables-wrapper .emails .add-customer-email-row td{background-color:#f9f9f9;border-top:1px solid #e5e5e5}#edd-item-tables-wrapper .emails .primary-email-icon{font-size:13px;vertical-align:middle;line-height:1.5em}#edd-item-tables-wrapper .emails input{vertical-align:middle;margin:6px 0}#edd-item-tables-wrapper .emails .spinner{float:none}#edd-item-notes-wrapper{min-height:50px}.edd-item-notes-header img,.edd-item-notes-header span{font-weight:600;line-height:30px;vertical-align:middle}.customer-note-input{margin-bottom:5px;width:100%}#edd-customer-notes div:nth-of-type(even){background-color:#fcfcfc}.customer-note-wrapper{border-bottom:1px solid #f9f9f9;min-height:38px;padding:7px 0 7px 7px}.customer-note-wrapper span{display:block}.note-content-wrap{padding-top:7px}#edd-item-card-wrapper .notice-wrap{padding-left:20px;padding-right:20px;margin-left:-20px;margin-right:-20px}@media screen and (max-width:810px) and (min-width:656px){.customer-info .customer-name{font-size:16px}#edd-item-card-wrapper .widefat td,.widefat th{padding:4px 6px;max-width:100px!important;display:table-cell}}@media screen and (max-width:781px){#edd-item-card-wrapper,#edd-item-tab-wrapper{margin:0;width:100%}#edd-item-tab-wrapper-list{background:#fff;margin:0}#edd-item-tab-wrapper-list li{float:left;display:inline;font-size:14px;box-sizing:border-box;border-width:0 1px 1px 0;border-style:solid;border-color:#e5e5e5;width:33.33333%}#edd-item-tab-wrapper-list li:nth-child(3n+3){border-width:0 0 1px}#edd-item-tab-wrapper-list .dashicons{font-size:18px}.edd-item-has-tabs #edd-item-card-wrapper{border-top:1px solid #e5e5e5;border-left:0;margin-top:-1px;width:100%}}@media screen and (max-width:656px){#edd-item-card-wrapper .customer-id,.customer-info .customer-name{font-size:16px}#edd-item-card-wrapper .customer-info{min-height:220px}.edd-item-info.customer-info{position:relative}#edd-item-card-wrapper .customer-address-wrapper{float:none;position:absolute;top:84px;left:110px;max-width:200px}#edd-item-card-wrapper .customer-main-wrapper{float:none;position:absolute;left:110px}#edd-item-card-wrapper #edd-item-stats-wrapper{padding-left:0;padding-right:0}#edd-item-card-wrapper .customer-section{margin-bottom:0}#edd-item-card-wrapper .widefat td,#edd-item-card-wrapper .widefat th{padding:4px 6px;max-width:100px!important;display:table-cell;overflow:hidden}}@media screen and (max-width:480px){#edd-item-tab-wrapper-list li{width:50%}#edd-item-tab-wrapper-list li:nth-child(3n+3){border-width:0 1px 1px 0}#edd-item-tab-wrapper-list li:nth-child(even){border-width:0 0 1px}.edd-repeatable-row-actions,.edd-repeatable-row-title{text-align:left;width:100%}.edd-repeatable-row-title{padding-bottom:0}.edd-bundled-product-item-reorder,.edd-bundled-product-row .edd-bundled-product-item,.edd-bundled-product-row .edd-bundled-product-price-assignment,.edd-file-assignment,.edd-file-name,.edd-file-url,.edd-option-name,.edd-option-price,.edd_repeatable_default{float:none;text-align:left;width:100%!important;margin:10px 0}.edd-bundled-product-row .edd-bundled-product-actions{float:none}.edd-bundled-product-row .edd-bundled-product-item-reorder .edd-product-file-reorder{padding:0}}.recount-stats-controls form{display:inline}.edd-recount-stats-descriptions span{display:none;line-height:24px}
1
+ #edd-payment-date-filters input,.edd-mobile-link{vertical-align:middle}.edd-hidden{display:none}.edd-clearfix:after{content:".";display:block;height:0;text-indent:-9999px;visibility:hidden}.edd-wrap a{text-decoration:none}a.edd-delete{color:#a00}a.edd-delete:hover{color:red}.download_page_edd-settings .form-table label{color:#666;font-size:14px;font-style:italic;margin:4px 0 0}.download_page_edd-settings .form-table input.small-text~label,.download_page_edd-settings .form-table input[type=checkbox]+label{display:inline}.download_page_edd-settings .form-table tr>th>h3,.download_page_edd-settings .form-table tr>th>strong{font-size:1.2em;font-weight:600;margin:0 auto}.edd-help-tip{cursor:help}.edd-ui-tooltip{background:#333!important;border-width:1px!important;border-radius:3px!important;box-shadow:1px 1px 2px 1px rgba(214,214,214,.5)!important;color:#dedede!important;max-width:300px!important;padding:7px!important;text-rendering:optimizeLegibility;text-shadow:none!important;z-index:9999!important}.download_page_edd-settings .edd-settings-payment-icon-wrapper{margin-right:10px;line-height:16px;height:16px;display:table}#edd-add-ons h2.nav-tab-wrapper{position:relative}#edd-add-ons h2 .button-primary,.edd-tab-span{position:absolute}.edd-tab-span{top:-6px;right:0}.edd-add-ons-footer{padding-top:10px}#edd-add-ons h2{margin:0 0 15px}#edd-add-ons .edd-extension{background:#fff;border:1px solid #ccc;float:left;padding:14px;position:relative;margin:0 15px 15px 0;width:320px;height:315px}#edd-add-ons .edd-extension h3{font-size:13px;margin:0 0 8px}#edd-add-ons .edd-extension .button-secondary{position:absolute;bottom:14px;left:14px}#edd-add-ons .edd-browse-all{clear:both;width:100%}#edd-add-ons .edd-extension .third-party{display:none}#edd-add-ons .edd-starter-package{background-color:#85c0e5;border-color:#62a9d7;color:#fff}#edd-add-ons .edd-starter-package h3{color:#fff}#edd-payment-filters p,.edd-repeatable-row-actions .toggle-custom-price-option-section{color:#777}#edd-add-ons .edd-extension .wp-post-image{width:100%;height:auto}#edd-products{height:100px;min-width:200px}#edd-add-discount input[type=text],#edd-edit-discount input[type=text]{width:300px}#edd-add-discount input.edd-price-field,#edd-edit-discount input.edd-price-field{padding:3px 5px;width:75px}#edd-payment-filters{background:#f5f5f5;clear:both;background-image:-webkit-gradient(linear,left bottom,left top,from(#f5f5f5),to(#fafafa));background-image:-webkit-linear-gradient(bottom,#f5f5f5,#fafafa);background-image:-moz-linear-gradient(bottom,#f5f5f5,#fafafa);background-image:-o-linear-gradient(bottom,#f5f5f5,#fafafa);background-image:linear-gradient(to top,#f5f5f5,#fafafa);border-color:#dfdfdf;border-width:1px;border-style:solid;border-radius:3px;font-size:13px;line-height:2.1em;overflow:auto;padding:12px;margin:8px 0}#edd-payments-filter ul.subsubsub{margin-bottom:8px}tr.status-refunded td{background:#cecece;border-top-color:#ccc}.wp-list-table.downloads th#ID{width:80px}.wp-list-table.downloads th#details{width:130px}.wp-list-table.downloads th#date{width:140px}.wp-list-table.downloads th#user{width:130px}.edd-mobile-link{line-height:32px}.edd-mobile-link img{max-width:80%;height:auto;float:left}@media handheld,only screen and (max-width:640px){.wp-list-table.downloads th{width:auto!important}}.download_page_edd-payment-history .ui-dialog .ui-dialog-titlebar-close span{margin-left:-8px;margin-top:-8px}#edd-download-link-textarea{width:100%}.edd_files_name_label{width:225px;float:left}.edd_files_url_label{width:220px;float:left}#postbox-container-1 .edd_files_name_label,#postbox-container-1 .edd_files_url_label{width:80px}.edd-add-repeatable-row{margin:10px 0}.edd-add-repeatable-row .submit{padding:0!important}.edd_repeatable_upload_wrapper:not(:first-child),.edd_variable_prices_wrapper:not(:first-child){margin-top:12px}.edd-repeatable-row-actions{color:#777;font-size:12px}.edd-repeatable-row-actions a{text-decoration:none;width:auto;cursor:pointer;vertical-align:middle}.edd-repeatable-row-actions .toggle-custom-price-option-section:hover{color:#444}.edd-bundle-products-header,.edd-repeatable-row-header{clear:both;background:#f1f1f1;border:1px solid #e5e5e5}.edd-repeatable-row-header{cursor:move}.edd-bundled-product-row:after,.edd-bundled-product-row:before,.edd-repeatable-row-header:after,.edd-repeatable-row-header:before{content:'';display:table}.edd-bundled-product-row:after,.edd-repeatable-row-header:after{clear:both}.edd-repeatable-row-title{float:left;font-weight:600}.edd-admin-box .right,.edd-bundled-product-row .edd-bundled-product-actions{float:right}.edd-bundled-product-item-reorder .edd-product-file-reorder{color:#e5e5e5;font-family:dashicons;content:"\f545";font-size:18px;font-weight:300;margin-left:4px;vertical-align:top;transition:.2s color}.edd-bundled-product-item-reorder .edd-product-file-reorder:hover{color:#bbb}.edd-repeatable-row-actions,.edd-repeatable-row-title{padding:8px;box-sizing:border-box}.edd-repeatable-row-actions{float:right;text-align:right;padding:8px}.edd-bundled-product-row .edd-remove-row,.edd-repeatable-row-actions .edd-remove-row{font-size:12px;width:auto;cursor:pointer}.edd-bundled-product-row,.edd-repeatable-row-standard-fields{background:#f9f9f9;padding:8px;border-width:0 1px 1px;border-style:solid;border-color:#e5e5e5}.edd-repeatable-row-setting-label{display:block;margin-bottom:4px}.edd-repeatable-row-setting-label .edd-help-tip{display:inline-block;margin-left:4px}.edd-bundled-product-row .edd-bundled-product-actions,.edd-bundled-product-row .edd-bundled-product-item,.edd-bundled-product-row .edd-bundled-product-item-reorder,.edd-bundled-product-row .edd-bundled-product-price-assignment,.edd-file-assignment,.edd-file-name,.edd-file-url,.edd-option-name,.edd-option-price,.edd_repeatable_default{display:inline-block;vertical-align:top}.edd-option-name{width:38%;margin-right:5%}.edd-option-price{min-width:100px}.edd_repeatable_default{text-align:center;min-width:80px}.edd-file-name{width:18%;margin-right:3%}.edd-file-url{width:65%}.edd-repeatable-row-standard-fields.has-variable-pricing .edd-file-url{width:38%;margin-right:5%}.edd-file-assignment{width:27%}.edd-file-assignment .edd-repeatable-row-setting-label{margin-bottom:0}.edd-custom-price-option-sections-wrap{display:none;border-width:0 1px 1px;border-style:solid;border-color:#e5e5e5;box-sizing:border-box;width:100%}.edd-custom-price-option-section{display:block;padding:10px 8px;border-bottom:1px solid rgba(222,222,222,.3)}.edd-custom-price-option-section:last-child{border-bottom:none}label.edd_prices_shipping{display:none!important}.edd-custom-price-option-section-title{display:block;font-size:14px;font-weight:600;padding:0 0 10px}.edd-custom-price-option-section>:not(.edd-custom-price-option-section-title){display:inline-block;padding-right:20px;vertical-align:top;margin-bottom:4px}.edd-custom-price-option-section>:not(.edd-custom-price-option-section-title) label{display:block;margin-bottom:2px}.edd-bundle-products-header{font-weight:600;padding:8px}.edd-bundled-product-row .edd-bundled-product-item-reorder{min-width:30px;margin-right:8px}.edd-bundled-product-row .edd-bundled-product-item-reorder .edd-product-file-reorder{font-size:20px;font-weight:300;padding:16px 4px 0;cursor:move}.edd-admin-box .label,.edd-admin-box-inside .strong{font-weight:600}.edd-bundled-product-row .edd-bundled-product-item{width:60%;margin-right:3%}.edd-bundled-product-row.has-variable-pricing .edd-bundled-product-item{width:47%}.edd-bundled-product-row .edd-bundled-product-price-assignment{width:23%;margin-right:3%}.edd_repeatable_upload_wrapper .edd_repeatable_upload_field_container{position:relative}.edd_upload_file{background:#fff;display:block;padding:2px 8px;position:absolute;top:3px;right:7px}.edd_upload_field{padding-right:8em}textarea#edd-payment-note{width:100%;height:4em;margin:0}#edd-purchased-files .row .edd-purchased-files-list-wrapper .download{line-height:1.4}#edd-purchased-files .edd-purchased-files-list-wrapper .edd-purchased-option{color:#666}input[class*=edd-price-field]{padding:3px 5px;width:75px}#edd-order-download-quantity[type=number].small-text,#edd-order-download-tax[type=text].small-text,[class*=item_] [class*=edd-payment-details-download-][type=number].small-text{height:25px}#edd-order-download-quantity[type=number].small-text,.item_price .edd-payment-details-download-quantity[type=number].small-text{width:55px}#edd-order-download-tax[type=text].small-text,.item_tax .edd-payment-details-download-item-tax[type=number].small-text{width:75px}.edd_repeatable_product_wrapper .edd-select,.edd_repeatable_upload_wrapper .pricing select{min-width:100%}#edd_product_notes_field{display:block;margin:12px 0 0;height:4em;width:100%}.edd_remove_repeatable{border:none;cursor:pointer;display:inline-block;padding:0;overflow:hidden;margin:8px 0 0;text-indent:-9999px;width:10px;height:10px}.edd_remove_repeatable:active,.edd_remove_repeatable:focus,.edd_remove_repeatable:hover{background-position:-10px 0!important}#edd-edit-order-form .column{width:32%}.edd-edit-purchase-element[class*=columns-] ul li{padding-right:1%}#edd-edit-order-form .column:nth-child(2n+1),#edd-edit-order-form .columns-4 .column:nth-child(2n+1),#edd-edit-order-form .columns-5 .column:nth-child(3n+1){margin-right:0}#edd-edit-order-form input.large-text{width:90%}.edd-edit-purchase-element ul li.download{width:35%}.edd-edit-purchase-element ul li.item_price{width:15%}.edd-edit-purchase-element ul li.item_price.item_quantity{width:25%}.edd-edit-purchase-element ul li.item_tax{width:15%}.edd-edit-purchase-element ul li.price{width:20%}.edd-admin-box-inside{border-bottom:1px solid #eee;clear:both;padding:3px 12px;margin:0;word-break:break-word}.rtl .edd-admin-box-inside{padding:5px 10px 5px 0}.edd-payment-fees .fee-label{color:#666;font-weight:400}.rtl .edd-admin-box .right{float:left;margin-left:10px}#edd-customer-details .actions,#edd-order-recalc-total{float:right}#edd-order-details .inside,#edd-order-update .inside{margin:0;padding:0}#edd-order-update input.edd_datepicker{width:180px}#edd-order-update input[type=number].edd-payment-time-hour,#edd-order-update input[type=number].edd-payment-time-min{width:50px}#edd-order-update .edd-tax-rate{color:#9c9c9c;font-style:italic}#edd-order-resend-receipt .inside{margin-top:11px}#edd-order-resend-receipt .edd-order-resend-receipt-addresses{margin-top:10px}.edd-admin-box-inside:last-child{border-bottom:0}#edd-edit-order-form .data-payment-key{word-break:break-all}.edd-order-update-box #major-publishing-actions .button-secondary{margin-right:10px}.edd-edit-purchase-element .edd-select-chosen{width:196px}#edd-customer-details .order-data-address input,#edd-customer-details .order-data-column p.data input,#edd-edit-order-form .column input,#edd-order-address-country-wrap select,.edd-edit-purchase-element ul{clear:both;display:block}#edd-customer-details .customer-info .column{width:49%}.edd-order-data input.small-text{margin:0}.edd-order-data input.med-text{margin:0;width:100px}#edd-order-update span.label{display:inline;width:50px}.edd-order-update-box .button-primary{margin-right:0}#edd-edit-order-form .column .description{padding-right:10px}#edd-edit-order-form .column,.edd-edit-purchase-element ul li{display:inline-block;line-height:1.4;position:relative;margin:0;vertical-align:middle}.edd-edit-purchase-element .row{padding:12px}.edd-edit-purchase-element .row:not(:last-child){border-bottom:1px solid #eee}.edd-edit-purchase-element .row:nth-child(odd):not(.header){background-color:#f9f9f9}.edd-edit-purchase-element .row.header{padding:6px 12px;font-weight:600;vertical-align:top}.edd-edit-purchase-element ul{font-size:0}.edd-edit-purchase-element ul li{font-size:13px}#edd-order-data .data span{color:#666;font-weight:600}.edd-edit-purchase-element .inside{padding:12px}.edd-edit-purchase-element .edd-purchased-download-title{font-size:14px;font-weight:500}.edd-edit-purchase-element .edd-purchased-download-title .deleted{color:#777}.edd-edit-purchase-element .edd-purchased-download-actions{color:#777;line-height:1.4}.edd-edit-purchase-element .edd-purchased-download-actions .edd-purchased-download-actions-label{font-weight:500}.edd-edit-purchase-element .edd-purchased-download-actions a{color:#777;font-size:12px}.edd-edit-purchase-element .edd-purchased-download-actions a:hover{color:#444}.edd-edit-purchase-element .edd-purchased-download-actions .edd-order-remove-download{color:#a00}.edd-edit-purchase-element .edd-purchased-download-actions .edd-order-remove-download:hover{color:red}#edd_products .edd-select,.edd_repeatable_product_wrapper .edd-select,.edd_repeatable_upload_wrapper .pricing select{min-width:100%;max-width:200px}.edd_repeatable_product_wrapper td{overflow:visible}.edd-payment-details-label-mobile{display:none}@media screen and (max-width:1284px){.edd-edit-purchase-element ul li.download{padding-bottom:15px;width:100%}.edd-edit-purchase-element .edd-purchased-download-title{font-size:16px}.edd-edit-purchase-element ul li.item_price{width:22%}.edd-edit-purchase-element ul li.item_price.item_quantity{width:35%}.edd-edit-purchase-element ul li.item_tax{width:25%}.edd-edit-purchase-element ul li.price{width:20%}.edd-edit-purchase-element .edd-purchased-download-actions{padding-top:10px}.edd-add-download-to-purchase-header,.edd-purchased-files-header{display:none}.edd-payment-details-label-mobile{display:block;font-weight:500;padding-bottom:6px}}@media screen and (max-width:1024px){.edd-edit-purchase-element ul li.item_price.item_quantity{width:40%}.edd-edit-purchase-element ul li.price{width:24%}.edd-edit-purchase-element .edd-purchased-download-actions{padding-top:15px}.edd-edit-purchase-element .edd-purchased-download-actions,.edd-edit-purchase-element .edd-purchased-download-actions a{font-size:14px}}@media screen and (max-width:782px){#edd-edit-order-form .column{width:49%}.edd-edit-purchase-element ul li.item_price,.edd-edit-purchase-element ul li.item_price.item_quantity{padding-bottom:10px}.edd-edit-purchase-element ul li.item_price.item_quantity{width:35%}.edd-edit-purchase-element ul li.item_tax,.edd-edit-purchase-element ul li.price{width:20%;padding-bottom:10px}.edd-payment-details-label-mobile{font-size:14px;font-weight:500}.edd-payment-details-download-amount,.edd-price-currency{font-size:16px}.order-data-column input[type=email]{padding:6px 10px}}@media screen and (max-width:600px){.edd-edit-purchase-element ul li.item_price,.edd-edit-purchase-element ul li.item_price.item_quantity,.edd-edit-purchase-element ul li.item_tax{width:100%;padding-bottom:20px}.edd-edit-purchase-element .edd-add-download-to-purchase ul li.item_tax,.edd-edit-purchase-element ul li.price{width:100%;padding-bottom:0}.edd-edit-purchase-element .edd-add-download-to-purchase-actions{padding-top:15px}#edd-edit-order-form .column{width:100%}}#edd_product_stats .label{display:inline-block}#edd_product_stats hr{border-style:solid;border-width:1px;border-color:#ccc #fff #fff #ccc}#edd_product_stats .product-earnings-stats:before,#edd_product_stats .product-sales-stats:before{color:#82878c;font:400 20px/1 dashicons;display:inline-block;padding:0 2px 0 0;position:relative;top:0;left:-1px;speak:none;text-decoration:none!important;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#edd-item-card-wrapper a.delete,#edd-item-stats-wrapper a,.customer-edit-link a,.disconnect-user a,.wrap-licenses .edd-license-data.edd-license-expired a:hover,.wrap-licenses .edd-license-data.license-expires-soon-notice a:hover,.wrap-licenses .edd-license-data[class*=edd-license-] a:hover{text-decoration:none}#edd_product_stats .product-sales-stats:before{content:'\f174'}#edd_product_stats .product-earnings-stats:before{content:'\f239'}.edd_dashboard_widget table thead td{border-bottom:1px solid #ececec;color:#777}.edd_dashboard_widget .table_left{float:left;width:45%}.edd_dashboard_widget .table_right{float:right;width:45%}.edd_dashboard_widget .inside{font-size:12px}.edd_dashboard_widget td{padding:3px 0}.edd_dashboard_widget .b,.edd_dashboard_widget .t{line-height:1.5;vertical-align:middle}.edd_dashboard_widget .b{font-size:14px;font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;padding-right:6px;width:auto}.edd_dashboard_widget .t{font-size:12px;padding-right:12px;color:#777;width:100%}.edd_dashboard_widget .label_heading{border-top:1px solid #ececec;color:#8f8f8f;font-family:Helvetica,Arial,sans-serif;font-size:12px;font-weight:400;display:block;padding-top:10px;margin:0 0 8px 12px}.edd_dashboard_widget .edd_dashboard_widget_subheading{border-top:1px solid #ececec;color:#8f8f8f;font-size:14px;padding-top:10px;margin:1em 0 0}.edd_dashboard_widget .edd_dashboard_widget_subheading+.table{margin:8px 0 0}.edd_dashboard_widget .edd_price_label{background:#00769c;border-radius:3px;color:#fff;font-size:10px;padding:2px 4px;margin-right:2px}.edd_dashboard_widget table{width:100%;margin-left:0;margin-bottom:1em}td.edd_order_label{width:80%}td.edd_order_price{text-align:right}@media handheld,only screen and (max-width:1000px){.edd_dashboard_widget .edd-recent-email{display:none}}#edd-dashboard-widgets-wrap .postbox h3{cursor:default}#edd-date-range-options,#edd-graphs-date-options{float:left}#edd-date-range-options span{float:left;line-height:24px;height:24px;margin-right:6px}.edd-import-export-form{position:relative}.edd-import-export-form .edd-progress{background:#ddd;position:absolute;bottom:15px;width:95%;height:15px}.edd-import-export-form .edd-progress div{background:#ccc;height:100%;width:0}.edd-import-export-form .notice-wrap{background-color:#f4f4f4;border-style:solid;border-width:1px 0;border-color:#eae9e9;padding:12px 12px 4px;overflow:auto;margin:20px -12px -23px}.edd-import-export-form .notice-wrap .spinner{margin:4px 10px 8px;float:right}.admin-color-fresh .edd-import-export-form .edd-progress div{background:#0073aa}.admin-color-light .edd-import-export-form .edd-progress div{background:#888}.admin-color-blue .edd-import-export-form .edd-progress div{background:#096484}.admin-color-coffee .edd-import-export-form .edd-progress div{background:#c7a589}.admin-color-ectoplasm .edd-import-export-form .edd-progress div{background:#a3b745}.admin-color-midnight .edd-import-export-form .edd-progress div{background:#e14d43}.admin-color-sunrise .edd-import-export-form .edd-progress div{background:#dd823b}#edd-graphs-filter label{vertical-align:inherit}#edd-graphs-filter .graph-option-section{float:left;line-height:2.5em;padding-right:5px}.edd-mix-totals{background-color:#fff;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04);padding:10px}.edd-mix-chart{display:inline-block;width:49%;vertical-align:top}.edd-graph-notes{color:#9c9c9c}.edd-graph-notes span{display:block}.edd-pie-graph .legend{display:none}.edd-pie-legend{overflow:auto;margin-top:10px}.edd-legend-item-wrapper{color:#333;display:inline-block;font-size:8pt;padding:2px 5px 0;width:48%;height:20px}.edd-legend-color{border:1px solid #cfcfcf;display:inline-block;margin-right:5px;width:20px;height:15px}.edd-pie-legend-item{display:inline-block;vertical-align:top;width:80%}#edd_tax_rates{margin:1em 0 0}#edd_tax_rates .edd_tax_country *,#edd_tax_rates .edd_tax_state *{max-width:100%}#edd_tax_rates .edd_tax_country,#edd_tax_rates .edd_tax_state{width:180px}#edd_tax_rates .edd_tax_rate{width:80px}#edd_tax_rates th{padding:15px 10px}.wrap-licenses .form-table,.wrap-licenses caption,.wrap-licenses tbody,.wrap-licenses td,.wrap-licenses tfoot,.wrap-licenses th,.wrap-licenses thead,.wrap-licenses tr{display:block}.wrap-licenses .form-table tr{float:left;margin:0 15px 15px 0;background:#fff;border:1px solid #ccc;width:30.5%;max-width:350px;padding:14px;min-height:220px;position:relative;box-sizing:border-box}.wrap-licenses .form-table th{background:#f9f9f9;padding:14px;border-bottom:1px solid #ccc;margin:-14px -14px 20px;width:100%}.wrap-licenses .form-table td{padding:0}.wrap-licenses td input.regular-text{margin:0 0 8px;width:100%}.wrap-licenses .edd-license-data[class*=edd-license-]{position:absolute;background:#fafafa;padding:14px;border-top:1px solid #eee;margin:20px -14px -14px;min-height:67px;width:100%;bottom:14px;box-sizing:border-box}.wrap-licenses .edd-license-data[class*=edd-license-] a{color:#444}.wrap-licenses .edd-license-data.license-expires-soon-notice{background-color:#00a0d2;color:#fff;border-color:#00a0d2}.wrap-licenses .edd-license-data.edd-license-expired{background-color:#e24e4e;color:#fff;border-color:#e24e4e}.wrap-licenses .edd-license-data.edd-license-error,.wrap-licenses .edd-license-data.edd-license-invalid,.wrap-licenses .edd-license-data.edd-license-item_name_mismatch,.wrap-licenses .edd-license-data.edd-license-missing,.wrap-licenses .edd-license-data.edd-license-site_inactive{background-color:#ffebcd;border-color:#ffebcd}.wrap-licenses .edd-license-data p{font-size:13px;margin-top:0}.wrap-licenses .edd-license-data.edd-license-expired a,.wrap-licenses .edd-license-data.license-expires-soon-notice a{color:#fff}.wrap-licenses p.submit{clear:both}#system-info-textarea{background:0 0;font-family:Menlo,Monaco,monospace;display:block;overflow:auto;white-space:pre;width:800px;height:400px}#TB_window #edd-add-download:active,#TB_window #edd-add-download:focus,#TB_window #edd-add-download:hover{color:#fff}.edd-graph .y1Axis{color:#edc240!important}.edd-graph .y2Axis{color:#afd8f8!important}.download_page_edd-tools .apikeys .column-user{width:192px}.edd-select-chosen{width:100%;max-width:300px}.chosen-container-multi .chosen-choices{background-image:none;border-color:#dfdfdf;-webkit-border-radius:3px;border-radius:3px}.chosen-container-multi .chosen-choices input{border-color:#dfdfdf;height:27px!important;margin:2px}.chosen-container .chosen-drop{border-color:#aaa;-webkit-box-shadow:1px 1px 2px rgba(0,0,0,.1);box-shadow:1px 1px 2px rgba(0,0,0,.1)}.chosen-container .search-field{float:none!important}.chosen-container .search-field input{width:90%!important}.chosen-container-active .chosen-choices{border-color:#aaa;-webkit-border-top-left-radius:3px;-webkit-border-top-right-radius:3px;-webkit-border-bottom-left-radius:0;-webkit-box-shadow:1px 1px 2px rgba(0,0,0,.1);box-shadow:1px 1px 2px rgba(0,0,0,.1);border-radius:3px 3px 0 0}.download_page_edd-tools .tablenav .actions{overflow:visible}.edd_user_search_wrap{position:relative;overflow:visible}.edd_user_search_results{position:absolute;left:0;top:27px}.edd_user_search_results a.edd-ajax-user-cancel{position:absolute;right:6px;top:2px}.edd_user_search_results ul{background:#f0f0f0;border:1px solid #dfdfdf;overflow-y:scroll;padding:10px 10px 4px;margin:0;max-height:200px;width:300px}.wp-list-table .type-download .row-actions{color:#999}@media screen and (max-width:1100px){.edd-mix-chart{display:block;width:100%}.wrap-licenses .form-table tr{width:46%;max-width:none;min-height:230px}}@media screen and (max-width:782px){.post-type-download .nav-tab-wrapper a{font-size:70%;padding:2px 4px}.download_page_edd-tools .apikeys .column-user{width:80px}.license-expiration-date-notice,.license-lifetime-notice,.license-null{padding-left:0}[class^=license-] input[type=text]{margin-bottom:3px}}#edd-item-tab-wrapper-list li a,#edd-item-tab-wrapper-list li.active{display:block;padding:8px 10px 8px 6px}@media screen and (max-width:600px){.wrap-licenses .form-table tr{width:100%;min-height:230px}#edd-edit-order-form input.large-text{width:100%}}#edd-item-wrapper{background:#f5f5f5;border:1px solid #e5e5e5;webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);max-width:830px}#edd-item-wrapper:after{content:"";display:block;clear:both;visibility:hidden;font-size:0;height:0}#edd-item-tab-wrapper{float:left;width:18%;z-index:1}#edd-item-tab-wrapper-list{background:#fff;margin:0}#edd-item-tab-wrapper-list li{display:block;background-color:#eaeaea;color:#444;font-size:12px;border-bottom:1px solid #e5e5e5;margin-bottom:0;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;word-wrap:break-word}#edd-item-tab-wrapper-list li.active{background-color:#fff}#edd-item-tab-wrapper-list .inactive a,#edd-item-tab-wrapper-list .inactive a:visited{background-color:#f5f5f5;color:#444;text-decoration:none}#edd-item-tab-wrapper-list .inactive a:hover{background-color:#fff}#edd-item-tab-wrapper-list .dashicons{color:#444;font-size:16px;min-width:24px;height:auto}#edd-item-card-wrapper .left{float:left}#edd-item-card-wrapper .right{float:right}#edd-item-card-wrapper input{font-weight:400}#edd-item-card-wrapper .customer-id,.customer-info .customer-name{font-size:24px;font-weight:600}#edd-item-card-wrapper{background-color:#fff;border:1px solid #e5e5e5;display:inline-block;margin-left:-1px;min-height:200px;width:700px;z-index:2}.edd-item-has-tabs #edd-item-card-wrapper{border-width:0 0 0 1px;width:82%}#edd-item-card-wrapper .customer-section{border-bottom:1px solid #eee;margin-bottom:10px;overflow:auto}#edd-item-card-wrapper .customer-section table{margin-bottom:20px}#edd-item-card-wrapper>div{padding:0 20px}#edd-item-card-wrapper>div:first-child{padding-top:20px}#edd-item-card-wrapper>div:last-child{border:none;padding-bottom:20px}#edd-item-card-wrapper .avatar-wrap{padding-right:10px;text-align:center}#edd-item-card-wrapper .customer-main-wrapper input{width:200px}#edd-item-card-wrapper .customer-address-wrapper{margin-right:25px;max-width:33%;width:202px}#edd-item-card-wrapper .customer-address-wrapper select{width:200px}#edd-item-card-wrapper .customer-info{margin-top:5px;margin-bottom:10px;min-height:185px}#edd-item-card-wrapper .info-wrapper{min-height:125px;overflow:visible}#edd-item-card-wrapper a.delete{color:red;margin-right:5px}.customer-edit-link a,.disconnect-user a{font-size:12px;font-weight:400}#customer-edit-actions{line-height:28px;margin-bottom:20px;text-align:center}#customer-edit-actions .button-secondary{margin-right:10px}#edd-item-card-wrapper .row-title{width:30%}#edd-item-card-wrapper .info-item{display:block;line-height:16px;padding-bottom:5px}#edd-item-card-wrapper .edit-item{display:none}#edd-item-card-wrapper .edd_user_search_results{left:1px;top:16px}#edd-item-card-wrapper .edd_user_search_results ul{width:200px}#edd-item-stats-wrapper{margin:0 auto;min-height:30px;text-align:center}#edd-item-stats-wrapper li{font-size:14px;float:left;line-height:22px;width:50%}#edd-item-stats-wrapper .dashicons{color:#888}#edd-item-tables-wrapper table{text-align:center;width:100%}#edd-item-tables-wrapper th{text-align:center}#edd-item-tables-wrapper .downloads tr>td:first-child,#edd-item-tables-wrapper .downloads tr>th:first-child,#edd-item-tables-wrapper .emails tr>td:first-child,#edd-item-tables-wrapper .emails tr>th:first-child{text-align:left}#edd-item-tables-wrapper .downloads tr>td:only-child,.delete-customer{text-align:center}#edd-item-tables-wrapper .emails .add-customer-email-row td{background-color:#f9f9f9;border-top:1px solid #e5e5e5}#edd-item-tables-wrapper .emails .primary-email-icon{font-size:13px;vertical-align:middle;line-height:1.5em}#edd-item-tables-wrapper .emails input{vertical-align:middle;margin:6px 0}#edd-item-tables-wrapper .emails .spinner{float:none}#edd-item-notes-wrapper{min-height:50px}.edd-item-notes-header img,.edd-item-notes-header span{font-weight:600;line-height:30px;vertical-align:middle}.customer-note-input{margin-bottom:5px;width:100%}#edd-customer-notes div:nth-of-type(even){background-color:#fcfcfc}.customer-note-wrapper{border-bottom:1px solid #f9f9f9;min-height:38px;padding:7px 0 7px 7px}.customer-note-wrapper span{display:block}.note-content-wrap{padding-top:7px}#edd-item-card-wrapper .notice-wrap{padding-left:20px;padding-right:20px;margin-left:-20px;margin-right:-20px}@media screen and (max-width:810px) and (min-width:656px){.customer-info .customer-name{font-size:16px}#edd-item-card-wrapper .widefat td,.widefat th{padding:4px 6px;max-width:100px!important;display:table-cell}}@media screen and (max-width:781px){#edd-item-card-wrapper,#edd-item-tab-wrapper{margin:0;width:100%}#edd-item-tab-wrapper-list{background:#fff;margin:0}#edd-item-tab-wrapper-list li{float:left;display:inline;font-size:14px;box-sizing:border-box;border-width:0 1px 1px 0;border-style:solid;border-color:#e5e5e5;width:33.33333%}#edd-item-tab-wrapper-list li:nth-child(3n+3){border-width:0 0 1px}#edd-item-tab-wrapper-list .dashicons{font-size:18px}.edd-item-has-tabs #edd-item-card-wrapper{border-top:1px solid #e5e5e5;border-left:0;margin-top:-1px;width:100%}}@media screen and (max-width:656px){#edd-item-card-wrapper .customer-id,.customer-info .customer-name{font-size:16px}#edd-item-card-wrapper .customer-info{min-height:220px}.edd-item-info.customer-info{position:relative}#edd-item-card-wrapper .customer-address-wrapper{float:none;position:absolute;top:84px;left:110px;max-width:200px}#edd-item-card-wrapper .customer-main-wrapper{float:none;position:absolute;left:110px}#edd-item-card-wrapper #edd-item-stats-wrapper{padding-left:0;padding-right:0}#edd-item-card-wrapper .customer-section{margin-bottom:0}#edd-item-card-wrapper .widefat td,#edd-item-card-wrapper .widefat th{padding:4px 6px;max-width:100px!important;display:table-cell;overflow:hidden}}@media screen and (max-width:480px){#edd-item-tab-wrapper-list li{width:50%}#edd-item-tab-wrapper-list li:nth-child(3n+3){border-width:0 1px 1px 0}#edd-item-tab-wrapper-list li:nth-child(even){border-width:0 0 1px}.edd-repeatable-row-actions,.edd-repeatable-row-title{text-align:left;width:100%}.edd-repeatable-row-title{padding-bottom:0}.edd-bundled-product-item-reorder,.edd-bundled-product-row .edd-bundled-product-item,.edd-bundled-product-row .edd-bundled-product-price-assignment,.edd-file-assignment,.edd-file-name,.edd-file-url,.edd-option-name,.edd-option-price,.edd_repeatable_default{float:none;text-align:left;width:100%!important;margin:10px 0}.edd-bundled-product-row .edd-bundled-product-actions{float:none}.edd-bundled-product-row .edd-bundled-product-item-reorder .edd-product-file-reorder{padding:0}#edd-payment-filters span{display:block;margin:2px 0}#edd-payment-filters a,.download_page_edd-reports .button{text-align:center}#edd-payment-date-filters span{display:block}#edd-payment-date-filters span>input{float:right}#edd-add-discount select[multiple] option,#edd-edit-discount select[multiple] option{height:20px}#edd-add-discount input[type=text],#edd-edit-discount input[type=text],#edd-payment-filters a,#edd-payment-filters input:not([type=radio]),#edd-payment-filters select,#system-info-textarea,.download_page_edd-reports .inside .button,.download_page_edd-reports .inside input[type=submit],.download_page_edd-reports .inside input[type=text],.download_page_edd-reports .inside select,.download_page_edd-settings .inside input[type=button],.download_page_edd-tools .inside input[type=submit],.download_page_edd-tools .inside input[type=text],.download_page_edd-tools .inside select{width:100%}#edd-add-discount select[multiple],#edd-edit-discount select[multiple],.download_page_edd-tools select[multiple]{height:200px!important}.download_page_edd-settings input[type=checkbox]{margin:2px 0}.post-type-download input[type=checkbox]{margin-left:2px}}.recount-stats-controls form{display:inline}.edd-recount-stats-descriptions span{display:none;line-height:24px}
assets/js/admin-scripts.js CHANGED
@@ -297,7 +297,7 @@ jQuery(document).ready(function ($) {
297
  clone = EDD_Download_Configuration.clone_repeatable( row );
298
 
299
  clone.find( '.edd_repeatable_attachment_id_field' ).val( attachment.id );
300
- clone.find( 'edd_repeatable_thumbnail_size_field' ).val( selectedSize );
301
  clone.find( '.edd_repeatable_upload_field' ).val( selectedURL );
302
  clone.find( '.edd_repeatable_name_field' ).val( selectedName );
303
  clone.insertAfter( row );
@@ -1080,7 +1080,7 @@ jQuery(document).ready(function ($) {
1080
  taxes : function() {
1081
  var no_states = $('select.edd-no-states');
1082
  if( no_states.length ) {
1083
- no_states.closest('tr').hide();
1084
  }
1085
 
1086
  // Update base state field based on selected base country
@@ -1093,9 +1093,9 @@ jQuery(document).ready(function ($) {
1093
  };
1094
  $.post(ajaxurl, data, function (response) {
1095
  if( 'nostates' == response ) {
1096
- $tr.next().hide();
1097
  } else {
1098
- $tr.next().show();
1099
  $tr.next().find('select').replaceWith( response );
1100
  }
1101
  });
@@ -1286,7 +1286,7 @@ jQuery(document).ready(function ($) {
1286
  // Add placeholders for Chosen input fields
1287
  $( '.chosen-choices' ).on( 'click', function () {
1288
  var placeholder = $(this).parent().prev().data('search-placeholder');
1289
- if ( ! placeholder.length ) {
1290
  placeholder = edd_vars.type_to_search;
1291
  }
1292
  $(this).children('li').children('input').attr( 'placeholder', placeholder );
@@ -2119,4 +2119,4 @@ function edd_attach_tooltips( selector ) {
2119
  duration: 200
2120
  }
2121
  });
2122
- }
297
  clone = EDD_Download_Configuration.clone_repeatable( row );
298
 
299
  clone.find( '.edd_repeatable_attachment_id_field' ).val( attachment.id );
300
+ clone.find( '.edd_repeatable_thumbnail_size_field' ).val( selectedSize );
301
  clone.find( '.edd_repeatable_upload_field' ).val( selectedURL );
302
  clone.find( '.edd_repeatable_name_field' ).val( selectedName );
303
  clone.insertAfter( row );
1080
  taxes : function() {
1081
  var no_states = $('select.edd-no-states');
1082
  if( no_states.length ) {
1083
+ no_states.closest('tr').addClass('hidden');
1084
  }
1085
 
1086
  // Update base state field based on selected base country
1093
  };
1094
  $.post(ajaxurl, data, function (response) {
1095
  if( 'nostates' == response ) {
1096
+ $tr.next().addClass('hidden');
1097
  } else {
1098
+ $tr.next().removeClass('hidden');
1099
  $tr.next().find('select').replaceWith( response );
1100
  }
1101
  });
1286
  // Add placeholders for Chosen input fields
1287
  $( '.chosen-choices' ).on( 'click', function () {
1288
  var placeholder = $(this).parent().prev().data('search-placeholder');
1289
+ if ( typeof placeholder === "undefined" ) {
1290
  placeholder = edd_vars.type_to_search;
1291
  }
1292
  $(this).children('li').children('input').attr( 'placeholder', placeholder );
2119
  duration: 200
2120
  }
2121
  });
2122
+ }
assets/js/admin-scripts.min.js CHANGED
@@ -1,2 +1,2 @@
1
- function edd_attach_tooltips(e){e.tooltip({content:function(){return jQuery(this).prop("title")},tooltipClass:"edd-ui-tooltip",position:{my:"center top",at:"center bottom+10",collision:"flipfit"},hide:{duration:200},show:{duration:200}})}jQuery(document).ready(function(e){var t=e(".edd-help-tip");edd_attach_tooltips(t);var d={init:function(){this.add(),this.move(),this.remove(),this.type(),this.prices(),this.files(),this.updatePrices()},clone_repeatable:function(t){var d=highest=1;return t.parent().find(".edd_repeatable_row").each(function(){var t=e(this).data("key");parseInt(t)>highest&&(highest=t)}),d=highest+=1,clone=t.clone(),clone.find("select").each(function(){e(this).val(t.find('select[name="'+e(this).attr("name")+'"]').val())}),clone.removeClass("edd_add_blank"),clone.attr("data-key",d),clone.find("input, select, textarea").val("").each(function(){var t=e(this).attr("name"),a=e(this).attr("id");t&&(t=t.replace(/\[(\d+)\]/,"["+parseInt(d)+"]"),e(this).attr("name",t)),e(this).attr("data-key",d),"undefined"!=typeof a&&(a=a.replace(/(\d+)/,parseInt(d)),e(this).attr("id",a))}),clone.find("span.edd_price_id").each(function(){e(this).text(parseInt(d))}),clone.find("span.edd_file_id").each(function(){e(this).text(parseInt(d))}),clone.find(".edd_repeatable_default_input").each(function(){e(this).val(parseInt(d)).removeAttr("checked")}),clone.find(".edd_repeatable_condition_field").each(function(){e(this).find("option:eq(0)").prop("selected","selected")}),clone.find(".search-choice").remove(),clone.find(".chosen-container").remove(),edd_attach_tooltips(clone.find(".edd-help-tip")),clone},add:function(){e(document.body).on("click",".submit .edd_add_repeatable",function(t){t.preventDefault();var a=e(this),n=a.parent().parent().prev(".edd_repeatable_row"),i=d.clone_repeatable(n);i.insertAfter(n).find("input, textarea, select").filter(":visible").eq(0).focus(),i.find(".edd-select-chosen").chosen({inherit_select_classes:!0,placeholder_text_single:edd_vars.one_option,placeholder_text_multiple:edd_vars.one_or_more_option}),i.find(".edd-select-chosen").css("width","100%"),i.find(".edd-select-chosen .chosen-search input").attr("placeholder",edd_vars.search_placeholder)})},move:function(){e(".edd_repeatable_table .edd-repeatables-wrap").sortable({handle:".edd-draghandle-anchor",items:".edd_repeatable_row",opacity:.6,cursor:"move",axis:"y",update:function(){var t=0;e(this).find(".edd_repeatable_row").each(function(){e(this).find("input.edd_repeatable_index").each(function(){e(this).val(t)}),t++})}})},remove:function(){e(document.body).on("click",".edd-remove-row, .edd_remove_repeatable",function(t){t.preventDefault();var d,a,n,i=e(this).parents(".edd_repeatable_row"),o=i.parent().find(".edd_repeatable_row").length,r=e(this).data("type"),s="div.edd_repeatable_"+r+"s";if(d=e(this).is(".ui-sortable .edd_repeatable_row:first-child .edd-remove-row, .ui-sortable .edd_repeatable_row:first-child .edd_remove_repeatable")?i.next(".edd_repeatable_row"):i.prev(".edd_repeatable_row"),a=d.find("select, input, textarea, button").filter(":visible"),n=a.eq(0),"price"===r){var c=i.data("key");e('.edd_repeatable_condition_field option[value="'+c+'"]').remove()}if(o>1)e("input, select",i).val(""),i.fadeOut("fast").remove(),n.focus();else switch(r){case"price":alert(edd_vars.one_price_min);break;case"file":e("input, select",i).val("");break;default:alert(edd_vars.one_field_min)}e(s).each(function(t){e(this).find("input, select").each(function(){var d=e(this).attr("name");d=d.replace(/\[(\d+)\]/,"["+t+"]"),e(this).attr("name",d).attr("id",d)})})})},type:function(){e(document.body).on("change","#_edd_product_type",function(t){var d=e("#edd_products"),a=e("#edd_download_files"),n=e("#edd_download_limit_wrap");"bundle"===e(this).val()?(d.show(),a.hide(),n.hide()):(d.hide(),a.show(),n.show())})},prices:function(){e(document.body).on("change","#edd_variable_pricing",function(t){var d=e(this).is(":checked"),a=e("#edd_regular_price_field"),n=e("#edd_variable_price_fields, .edd_repeatable_table .pricing"),i=e(".edd-bundled-product-row, .edd-repeatable-row-standard-fields");d?(a.hide(),n.show(),i.addClass("has-variable-pricing")):(a.show(),n.hide(),i.removeClass("has-variable-pricing"))})},files:function(){var t;window.formfield="",e(document.body).on("click",".edd_upload_file_button",function(a){a.preventDefault();var n=e(this);return window.formfield=e(this).closest(".edd_repeatable_upload_wrapper"),t?void t.open():(t=wp.media.frames.file_frame=wp.media({frame:"post",state:"insert",title:n.data("uploader-title"),button:{text:n.data("uploader-button-text")},multiple:"0"==e(this).data("multiple")?!1:!0}),t.on("menu:render:default",function(e){var t={};e.unset("library-separator"),e.unset("gallery"),e.unset("featured-image"),e.unset("embed"),e.set(t)}),t.on("insert",function(){var a=t.state().get("selection");a.each(function(t,a){t=t.toJSON();var n="image"===t.type?e(".attachment-display-settings .size option:selected").val():!1,i=t.url,o=t.title.length>0?t.title:t.filename;if(n&&"undefined"!=typeof t.sizes[n]&&(i=t.sizes[n].url),"image"===t.type&&(o=n&&"undefined"!=typeof t.sizes[n]?o+"-"+t.sizes[n].width+"x"+t.sizes[n].height:o+"-"+t.width+"x"+t.height),0===a)window.formfield.find(".edd_repeatable_attachment_id_field").val(t.id),window.formfield.find(".edd_repeatable_thumbnail_size_field").val(n),window.formfield.find(".edd_repeatable_upload_field").val(i),window.formfield.find(".edd_repeatable_name_field").val(o);else{var r=window.formfield,s=d.clone_repeatable(r);s.find(".edd_repeatable_attachment_id_field").val(t.id),s.find("edd_repeatable_thumbnail_size_field").val(n),s.find(".edd_repeatable_upload_field").val(i),s.find(".edd_repeatable_name_field").val(o),s.insertAfter(r)}})}),void t.open())});var t;window.formfield=""},updatePrices:function(){e("#edd_price_fields").on("keyup",".edd_variable_prices_name",function(){var t=e(this).parents(".edd_repeatable_row").data("key"),d=e(this).val(),a=e(".edd_repeatable_condition_field option[value="+t+"]");a.length>0?a.text(d):e(".edd_repeatable_condition_field").append(e("<option></option>").attr("value",t).text(d))})}};e(document.body).on("click",".toggle-custom-price-option-section",function(t){t.preventDefault();var d=e(this).html()==edd_vars.show_advanced_settings?!0:!1;d?e(this).html(edd_vars.hide_advanced_settings):e(this).html(edd_vars.show_advanced_settings);var a=e(this).parents(".edd-repeatable-row-header");a.siblings(".edd-custom-price-option-sections-wrap").slideToggle();var n;n=d?e(":input:not(input[type=button],input[type=submit],button):visible:first",a.siblings(".edd-custom-price-option-sections-wrap")):e(":input:not(input[type=button],input[type=submit],button):visible:first",a.siblings(".edd-repeatable-row-standard-fields")),n.focus()}),d.init();var a=e(".edd_datepicker");if(a.length>0){var n="mm/dd/yy";a.datepicker({dateFormat:n})}var i={init:function(){this.edit_address(),this.remove_download(),this.add_download(),this.change_customer(),this.new_customer(),this.edit_price(),this.recalculate_total(),this.variable_prices_check(),this.add_note(),this.remove_note(),this.resend_receipt(),this.copy_download_link()},edit_address:function(){e('select[name="edd-payment-address[0][country]"]').change(function(){var t=e(this),d={action:"edd_get_shop_states",country:t.val(),field_name:"edd-payment-address[0][state]"};return e.post(ajaxurl,d,function(t){var d=e("#edd-order-address-state-wrap select, #edd-order-address-state-wrap input");e("#edd-order-address-state-wrap .chosen-container").remove(),"nostates"==t?d.replaceWith('<input type="text" name="edd-payment-address[0][state]" value="" class="edd-edit-toggles medium-text"/>'):d.replaceWith(t)}),!1})},remove_download:function(){e("#edd-purchased-files").on("click",".edd-order-remove-download",function(){var t=e(document.body).find("#edd-purchased-files > .row:not(.header)").length;if(1===t)return alert(edd_vars.one_download_min),!1;if(confirm(edd_vars.delete_payment_download)){var d=e(this).data("key"),a=(e(".edd-payment-id").val(),e('input[name="edd-payment-details-downloads['+d+'][id]"]').val()),n=e('input[name="edd-payment-details-downloads['+d+'][price_id]"]').val(),i=e('input[name="edd-payment-details-downloads['+d+'][quantity]"]').val(),o=e('input[name="edd-payment-details-downloads['+d+'][amount]"]').val();if(e('input[name="edd-payment-details-downloads['+d+'][tax]"]'))var r=e('input[name="edd-payment-details-downloads['+d+'][tax]"]').val();if(e('input[name="edd-payment-details-downloads['+d+'][fees]"]'))var r=e.parseJSON(e('input[name="edd-payment-details-downloads['+d+'][fees]"]').val());var s=e('input[name="edd-payment-removed"]').val();s=e.parseJSON(s),s.length<1&&(s={});var c=[{id:a,price_id:n,quantity:i,amount:o,cart_index:d}];s[d]=c,e('input[name="edd-payment-removed"]').val(JSON.stringify(s)),e(this).parent().parent().remove(),r&&r.length&&e.each(r,function(t,d){e('*li[data-fee-id="'+d+'"]').remove()}),e("#edd-payment-downloads-changed").val(1),e(".edd-order-payment-recalc-totals").show()}return!1})},change_customer:function(){e("#edd-customer-details").on("click",".edd-payment-change-customer, .edd-payment-change-customer-cancel",function(t){t.preventDefault();var d=e(this).hasClass("edd-payment-change-customer"),a=e(this).hasClass("edd-payment-change-customer-cancel");d?(e(".customer-info").hide(),e(".change-customer").show(),e(".edd-payment-change-customer-input").css("width","auto")):a&&(e(".customer-info").show(),e(".change-customer").hide())})},new_customer:function(){e("#edd-customer-details").on("click",".edd-payment-new-customer, .edd-payment-new-customer-cancel",function(t){t.preventDefault();var d=e(this).hasClass("edd-payment-new-customer"),a=e(this).hasClass("edd-payment-new-customer-cancel");d?(e(".customer-info").hide(),e(".new-customer").show()):a&&(e(".customer-info").show(),e(".new-customer").hide());var d=e("#edd-new-customer");e(".new-customer").is(":visible")?d.val(1):d.val(0)})},add_download:function(){e(".edd-edit-purchase-element").on("click","#edd-order-add-download",function(t){t.preventDefault();var d=e("#edd_order_download_select"),a=e("#edd-order-download-quantity"),n=e("#edd-order-download-price"),i=e("#edd-order-download-tax"),o=e(".edd_price_options_select option:selected"),r=d.val(),s=d.find(":selected").text(),c=a.val(),l=n.val(),p=i.val(),u=o.val(),_=o.text();if(1>r)return!1;if(l||(l=0),l=parseFloat(l),isNaN(l))return alert(edd_vars.numeric_item_price),!1;if(p=parseFloat(p),isNaN(p))return alert(edd_vars.numeric_item_tax),!1;if(isNaN(parseInt(c)))return alert(edd_vars.numeric_quantity),!1;_&&(s=s+" - "+_);var m=e("#edd-purchased-files div.row").length,f=e("#edd-purchased-files div.row:last").clone();f.find(".download span").html('<a href="post.php?post='+r+'&action=edit"></a>'),f.find(".download span a").text(s),f.find(".edd-payment-details-download-item-price").val(l.toFixed(edd_vars.currency_decimals)),f.find(".edd-payment-details-download-item-tax").val(p.toFixed(edd_vars.currency_decimals)),f.find("input.edd-payment-details-download-id").val(r),f.find("input.edd-payment-details-download-price-id").val(u);var h=l*c+p;h=h.toFixed(edd_vars.currency_decimals),f.find("span.edd-payment-details-download-amount").text(h),f.find("input.edd-payment-details-download-amount").val(h),f.find("input.edd-payment-details-download-quantity").val(c),f.find("input.edd-payment-details-download-has-log").val(0),f.find(".edd-copy-download-link-wrapper").remove(),f.find("input").each(function(){var t=e(this).attr("name");t=t.replace(/\[(\d+)\]/,"["+parseInt(m)+"]"),e(this).attr("name",t).attr("id",t)}),f.find("a.edd-order-remove-download").attr("data-key",parseInt(m)),e("#edd-payment-downloads-changed").val(1),e(f).insertAfter("#edd-purchased-files div.row:last"),e(".edd-order-payment-recalc-totals").show(),e(".edd-add-download-field").val("")})},edit_price:function(){e(document.body).on("change keyup",".edd-payment-item-input",function(){var t=e(this).parents("ul.edd-purchased-files-list-wrapper");e(".edd-order-payment-recalc-totals").show();var d=t.find("input.edd-payment-details-download-quantity").val().replace(edd_vars.thousands_separator,""),a=t.find("input.edd-payment-details-download-item-price").val().replace(edd_vars.thousands_separator,""),n=t.find("input.edd-payment-details-download-item-tax").val().replace(edd_vars.thousands_separator,"");if(a=parseFloat(a),isNaN(a))return alert(edd_vars.numeric_item_price),!1;n=parseFloat(n),isNaN(n)&&(n=0),isNaN(parseInt(d))&&(d=1);var i=a*d+n;i=i.toFixed(edd_vars.currency_decimals),t.find("input.edd-payment-details-download-amount").val(i),t.find("span.edd-payment-details-download-amount").text(i)})},recalculate_total:function(){e("#edd-order-recalc-total").on("click",function(t){t.preventDefault();var d=0,a=0,n=e("#edd-purchased-files .row input.edd-payment-details-download-amount"),i=e("#edd-purchased-files .row input.edd-payment-details-download-item-tax");n.length&&n.each(function(){d+=parseFloat(e(this).val())}),i.length&&i.each(function(){a+=parseFloat(e(this).val())}),e(".edd-payment-fees").length&&e(".edd-payment-fees span.fee-amount").each(function(){d+=parseFloat(e(this).data("fee"))}),e("input[name=edd-payment-total]").val(d.toFixed(edd_vars.currency_decimals)),e("input[name=edd-payment-tax]").val(a.toFixed(edd_vars.currency_decimals))})},variable_prices_check:function(){e(".edd-edit-purchase-element").on("change","select#edd_order_download_select",function(){var t=e(this),d=t.val();if(parseInt(d)>0){var a={action:"edd_check_for_download_price_variations",download_id:d};e.ajax({type:"POST",data:a,url:ajaxurl,success:function(d){e(".edd_price_options_select").remove(),e(d).insertAfter(t.next())}}).fail(function(e){window.console&&window.console.log&&console.log(e)})}})},add_note:function(){e("#edd-add-payment-note").on("click",function(t){t.preventDefault();var d={action:"edd_insert_payment_note",payment_id:e(this).data("payment-id"),note:e("#edd-payment-note").val()};if(d.note)e.ajax({type:"POST",data:d,url:ajaxurl,success:function(t){e("#edd-payment-notes-inner").append(t),e(".edd-no-payment-notes").hide(),e("#edd-payment-note").val("")}}).fail(function(e){window.console&&window.console.log&&console.log(e)});else{var a=e("#edd-payment-note").css("border-color");e("#edd-payment-note").css("border-color","red"),setTimeout(function(){e("#edd-payment-note").css("border-color",a)},500)}})},remove_note:function(){e(document.body).on("click",".edd-delete-payment-note",function(t){if(t.preventDefault(),confirm(edd_vars.delete_payment_note)){var d={action:"edd_delete_payment_note",payment_id:e(this).data("payment-id"),note_id:e(this).data("note-id")};return e.ajax({type:"POST",data:d,url:ajaxurl,success:function(t){return e("#edd-payment-note-"+d.note_id).remove(),e(".edd-payment-note").length||e(".edd-no-payment-notes").show(),!1}}).fail(function(e){window.console&&window.console.log&&console.log(e)}),!0}})},resend_receipt:function(){var t=e(".edd-order-resend-receipt-addresses");e(document.body).on("click","#edd-select-receipt-email",function(e){e.preventDefault(),t.slideDown()}),e(document.body).on("change",".edd-order-resend-receipt-email",function(){var t=e("#edd-select-receipt-email").prop("href")+"&email="+e(this).val();confirm(edd_vars.resend_receipt)&&(window.location=t)}),e(document.body).on("click","#edd-resend-receipt",function(e){return confirm(edd_vars.resend_receipt)})},copy_download_link:function(){e(document.body).on("click",".edd-copy-download-link",function(t){t.preventDefault();var d=e(this),a={action:"edd_get_file_download_link",payment_id:e('input[name="edd_payment_id"]').val(),download_id:d.data("download-id"),price_id:d.data("price-id")};e.ajax({type:"POST",data:a,url:ajaxurl,success:function(t){return e("#edd-download-link").dialog({width:400}).html('<textarea rows="10" cols="40" id="edd-download-link-textarea">'+t+"</textarea>"),e("#edd-download-link-textarea").focus().select(),!1}}).fail(function(e){window.console&&window.console.log&&console.log(e)})})}};i.init();var o={init:function(){this.type_select(),this.product_requirements()},type_select:function(){e("#edd-edit-discount #edd-type, #edd-add-discount #edd-type").change(function(){var t=e(this).val();e(".edd-amount-description").hide(),e(".edd-amount-description."+t+"-discount").show()})},product_requirements:function(){e("#products").change(function(){var t=e("#edd-discount-product-conditions");e(this).val()?t.show():t.hide()})}};o.init();var r={init:function(){this.date_options(),this.customers_export()},date_options:function(){e("#edd-graphs-date-options").change(function(){var t=e(this),d=e("#edd-date-range-options");"other"===t.val()?d.show():d.hide()})},customers_export:function(){e("#edd_customer_export_download").change(function(){var t=e(this),d=e("option:selected",t).val(),a=e("#edd_customer_export_option");if("0"===t.val()?a.show():a.hide(),0!=parseInt(d)){var n={action:"edd_check_for_download_price_variations",download_id:d,all_prices:!0},i=e(".edd_price_options_select");e.post(ajaxurl,n,function(t){i.remove(),e("#edd_customer_export_download_chosen").after(t)})}else i.remove()})}};r.init();var s={init:function(){this.general(),this.taxes(),this.emails(),this.misc()},general:function(){var t=e(".edd-color-picker");if(t.length&&t.wpColorPicker(),"undefined"==typeof wp||"1"!==edd_vars.new_media_ui){var d=e(".edd_settings_upload_button");d.length>0&&(window.formfield="",e(document.body).on("click",d,function(t){t.preventDefault(),window.formfield=e(this).parent().prev(),window.tbframe_interval=setInterval(function(){jQuery("#TB_iframeContent").contents().find(".savesend .button").val(edd_vars.use_this_file).end().find("#insert-gallery, .wp-post-thumbnail").hide()},2e3),tb_show(edd_vars.add_new_download,"media-upload.php?TB_iframe=true")}),window.edd_send_to_editor=window.send_to_editor,window.send_to_editor=function(t){window.formfield?(imgurl=e("a","<div>"+t+"</div>").attr("href"),window.formfield.val(imgurl),window.clearInterval(window.tbframe_interval),tb_remove()):window.edd_send_to_editor(t),window.send_to_editor=window.edd_send_to_editor,window.formfield="",window.imagefield=!1})}else{var a;window.formfield="",e(document.body).on("click",".edd_settings_upload_button",function(t){t.preventDefault();var d=e(this);return window.formfield=e(this).parent().prev(),a?void a.open():(a=wp.media.frames.file_frame=wp.media({frame:"post",state:"insert",title:d.data("uploader_title"),button:{text:d.data("uploader_button_text")},multiple:!1}),a.on("menu:render:default",function(e){var t={};e.unset("library-separator"),e.unset("gallery"),e.unset("featured-image"),e.unset("embed"),e.set(t)}),a.on("insert",function(){var e=a.state().get("selection");e.each(function(e,t){e=e.toJSON(),window.formfield.val(e.url)})}),void a.open())});var a;window.formfield=""}},taxes:function(){var t=e("select.edd-no-states");t.length&&t.closest("tr").hide(),e('select[name="edd_settings[base_country]"]').change(function(){var t=e(this),d=t.closest("tr"),a={action:"edd_get_shop_states",country:e(this).val(),field_name:"edd_settings[base_state]"};return e.post(ajaxurl,a,function(e){"nostates"==e?d.next().hide():(d.next().show(),d.next().find("select").replaceWith(e))}),!1}),e(document.body).on("change","#edd_tax_rates select.edd-tax-country",function(){var t=e(this),d={action:"edd_get_shop_states",country:e(this).val(),field_name:t.attr("name").replace("country","state")};return e.post(ajaxurl,d,function(e){if("nostates"==e){var a='<input type="text" name="'+d.field_name+'" value=""/>';t.parent().next().find("select").replaceWith(a)}else t.parent().next().find("input,select").show(),t.parent().next().find("input,select").replaceWith(e)}),!1}),e("#edd_add_tax_rate").on("click",function(){var t=e("#edd_tax_rates tr:last"),d=t.clone(),a=t.parent().find("tr").length;return d.find("td input").not(":input[type=checkbox]").val(""),d.find('td [type="checkbox"]').attr("checked",!1),d.find("input, select").each(function(){var t=e(this).attr("name");t=t.replace(/\[(\d+)\]/,"["+parseInt(a)+"]"),e(this).attr("name",t).attr("id",t)}),d.find("label").each(function(){var t=e(this).attr("for");t=t.replace(/\[(\d+)\]/,"["+parseInt(a)+"]"),e(this).attr("for",t)}),d.insertAfter(t),!1}),e(document.body).on("click","#edd_tax_rates .edd_remove_tax_rate",function(){if(confirm(edd_vars.delete_tax_rate)){var t=e("#edd_tax_rates tr:visible"),d=t.length;2===d?(e("#edd_tax_rates select").val(""),e('#edd_tax_rates input[type="text"]').val(""),e('#edd_tax_rates input[type="number"]').val(""),e('#edd_tax_rates input[type="checkbox"]').attr("checked",!1)):e(this).closest("tr").remove(),e("#edd_tax_rates tr").each(function(t){e(this).children().find("input, select").each(function(){var d=e(this).attr("name");d=d.replace(/\[(\d+)\]/,"["+(t-1)+"]"),e(this).attr("name",d).attr("id",d)})})}return!1})},emails:function(){var t=e("#email-preview-wrap");if(t.length){var d=e("#email-preview");t.colorbox({inline:!0,href:d,width:"80%",height:"auto"})}},misc:function(){var t=e('select[name="edd_settings[download_method]"]'),d=t.parent().parent().next();"direct"==t.val()&&(d.hide(),d.find("input").prop("checked",!1)),t.on("change",function(){"direct"==e(this).val()?(d.hide(),d.find("input").prop("checked",!1)):d.show()})}};s.init(),e(".download_page_edd-payment-history .row-actions .delete a, a.edd-delete-payment").on("click",function(){return confirm(edd_vars.delete_payment)?!0:!1}),e("#the-list").on("click",".editinline",function(){var t=e(this).closest("tr").attr("id");t=t.replace("post-","");var d=e("#post-"+t),a=d.find(".column-price .downloadprice-"+t).val();a!=e("#post-"+t+".column-price .downloadprice-"+t).val()?e(".regprice","#edd-download-data").val(a).attr("disabled",!1):e(".regprice","#edd-download-data").val(edd_vars.quick_edit_warning).attr("disabled","disabled")}),e(document.body).on("click","#bulk_edit",function(){var t=e("#bulk-edit"),d=new Array;t.find("#bulk-titles").children().each(function(){d.push(e(this).attr("id").replace(/^(ttle)/i,""))});var a=e('#edd-download-data input[name="_edd_regprice"]').val(),n={action:"edd_save_bulk_edit",edd_bulk_nonce:d,post_ids:d,price:a};e.post(ajaxurl,n)}),e(".edd-select-chosen").chosen({inherit_select_classes:!0,placeholder_text_single:edd_vars.one_option,placeholder_text_multiple:edd_vars.one_or_more_option}),e(".edd-select-chosen .chosen-search input").each(function(){var t=e(this).parent().parent().parent().prev("select.edd-select-chosen"),d=(t.data("search-type"),t.data("search-placeholder"));e(this).attr("placeholder",d)}),e(".chosen-choices").on("click",function(){var t=e(this).parent().prev().data("search-placeholder");t.length||(t=edd_vars.type_to_search),e(this).children("li").children("input").attr("placeholder",t)});var c,l=342;e(document.body).on("keyup",".edd-select.chosen-container .chosen-search input, .edd-select.chosen-container .search-field input",function(t){var d=e(this).val(),a=e(this).closest(".edd-select-chosen"),n=(a.attr("id").replace("_chosen",""),a.prev()),i=a.hasClass("no-bundles"),o=a.hasClass("variations"),r=t.which,s="edd_download_search";if(a.prev().data("search-type")){if("no_ajax"==n.data("search-type"))return;s="edd_"+n.data("search-type")+"_search"}d.length<=3&&"edd_download_search"==s||16==r||13==r||91==r||17==r||37==r||38==r||39==r||40==r||(clearTimeout(c),c=setTimeout(function(){e.ajax({type:"GET",url:ajaxurl,data:{action:s,s:d,no_bundles:i,variations:o},dataType:"json",beforeSend:function(){n.closest("ul.chosen-results").empty()},success:function(t){e("option:not(:selected)",n).remove(),e.each(t,function(t,d){e('option[value="'+d.id+'"]',n).length||n.prepend('<option value="'+d.id+'">'+d.name+"</option>")}),e(".edd-select-chosen").trigger("chosen:updated"),n.next().find("input").val(d)}}).fail(function(e){window.console&&window.console.log&&console.log(e)}).done(function(e){})},l))}),e("#post").on("click",".edd-thickbox",function(){e(".edd-select-chosen","#choose-download").css("width","100%")});var p={init:function(){this.revoke_api_key(),this.regenerate_api_key(),this.create_api_key(),this.recount_stats()},revoke_api_key:function(){e(document.body).on("click",".edd-revoke-api-key",function(e){return confirm(edd_vars.revoke_api_key)})},regenerate_api_key:function(){e(document.body).on("click",".edd-regenerate-api-key",function(e){return confirm(edd_vars.regenerate_api_key)})},create_api_key:function(){e(document.body).on("submit","#api-key-generate-form",function(t){var d=e('input[type="text"][name="user_id"]');d.css("border-color","#ddd");var a=d.val();return a.length<1||0==a?(d.css("border-color","#ff0000"),!1):void 0})},recount_stats:function(){e(document.body).on("change","#recount-stats-type",function(){var t=e("#edd-tools-recount-form"),d=e("option:selected",this).data("type"),a=e("#recount-stats-submit"),n=e("#tools-product-dropdown");if(t.find(".notice-wrap").remove(),a.removeClass("button-disabled").attr("disabled",!1),n.hide(),e(".edd-recount-stats-descriptions span").hide(),"recount-download"===d)n.show(),n.find(".edd-select-chosen").css("width","auto");else if("reset-stats"===d){t.append('<div class="notice-wrap"></div>');var i=t.find(".notice-wrap");i.html('<div class="notice notice-warning"><p><input type="checkbox" id="confirm-reset" name="confirm_reset_store" value="1" /> <label for="confirm-reset">'+edd_vars.reset_stats_warn+"</label></p></div>"),e("#recount-stats-submit").addClass("button-disabled").attr("disabled","disabled")}else n.hide(),n.val(0);e("#"+d).show()}),e(document.body).on("change","#confirm-reset",function(){var t=e(this).is(":checked");t?e("#recount-stats-submit").removeClass("button-disabled").removeAttr("disabled"):e("#recount-stats-submit").addClass("button-disabled").attr("disabled","disabled")}),e("#edd-tools-recount-form").submit(function(t){var d=e("#recount-stats-type").val(),a=e(this),n=e("option:selected",this).data("type");if("reset-stats"===n){var i=e("#confirm-reset").is(":checked");if(i)return!0;r=!0}a.find(".notice-wrap").remove(),a.append('<div class="notice-wrap"></div>');var o=a.find(".notice-wrap"),r=!1;if((null===d||0===d)&&(o.html('<div class="updated error"><p>'+edd_vars.batch_export_no_class+"</p></div>"),r=!0),"recount-download"===n){var s=e('select[name="download_id"]').val();0==s&&(o.html('<div class="updated error"><p>'+edd_vars.batch_export_no_reqs+"</p></div>"),r=!0)}return r?(a.find(".button-disabled").removeClass("button-disabled"),!1):void 0})}};p.init();var u={init:function(){this.submit(),this.dismiss_message()},submit:function(){var t=this;e(document.body).on("submit",".edd-export-form",function(d){d.preventDefault();var a=e(this).find('input[type="submit"]');if(!a.hasClass("button-disabled")){var n=e(this).serialize();a.addClass("button-disabled"),e(this).find(".notice-wrap").remove(),e(this).append('<div class="notice-wrap"><span class="spinner is-active"></span><div class="edd-progress"><div></div></div></div>'),t.process_step(1,n,t)}})},process_step:function(t,d,a){e.ajax({type:"POST",url:ajaxurl,data:{form:d,action:"edd_do_ajax_export",step:t},dataType:"json",success:function(t){if("done"==t.step||t.error||t.success){var n=e(".edd-export-form").find(".edd-progress").parent().parent(),i=n.find(".notice-wrap");if(n.find(".button-disabled").removeClass("button-disabled"),t.error){var o=t.message;i.html('<div class="updated error"><p>'+o+"</p></div>")}else if(t.success){var r=t.message;i.html('<div id="edd-batch-success" class="updated notice is-dismissible"><p>'+r+'<span class="notice-dismiss"></span></p></div>')}else i.remove(),window.location=t.url}else e(".edd-progress div").animate({width:t.percentage+"%"},50,function(){}),a.process_step(parseInt(t.step),d,a)}}).fail(function(e){window.console&&window.console.log&&console.log(e)})},dismiss_message:function(){e(document.body).on("click","#edd-batch-success .notice-dismiss",function(){e("#edd-batch-success").parent().slideUp("fast")})}};u.init();var _={init:function(){this.submit()},submit:function(){var t=this;e(".edd-import-form").ajaxForm({beforeSubmit:t.before_submit,success:t.success,complete:t.complete,dataType:"json",error:t.error})},before_submit:function(t,d,a){if(d.find(".notice-wrap").remove(),d.append('<div class="notice-wrap"><span class="spinner is-active"></span><div class="edd-progress"><div></div></div></div>'),!(window.File&&window.FileReader&&window.FileList&&window.Blob)){var n=e(".edd-import-form").find(".edd-progress").parent().parent(),i=n.find(".notice-wrap");return n.find(".button-disabled").removeClass("button-disabled"),i.html('<div class="update error"><p>'+edd_vars.unsupported_browser+"</p></div>"),!1}},success:function(e,t,d,a){},complete:function(t){var d=jQuery.parseJSON(t.responseText);if(d.success){var a=e(".edd-import-form .notice-wrap").parent();a.find(".edd-import-file-wrap,.notice-wrap").remove(),a.find(".edd-import-options").slideDown();var n=a.find("select.edd-import-csv-column"),i=(n.parent().parent(),""),o=d.data.columns.sort(function(e,t){return t>e?-1:e>t?1:0});e.each(o,function(e,t){i+='<option value="'+t+'">'+t+"</option>"}),n.append(i),n.on("change",function(){var t=e(this).val();t&&0!=d.data.first_row[t]?e(this).parent().next().html(d.data.first_row[t]):e(this).parent().next().html("")}),e(document.body).on("click",".edd-import-proceed",function(e){e.preventDefault(),a.append('<div class="notice-wrap"><span class="spinner is-active"></span><div class="edd-progress"><div></div></div></div>'),d.data.mapping=a.serialize(),_.process_step(1,d.data,self)})}else _.error(t)},error:function(t){var d=jQuery.parseJSON(t.responseText),a=e(".edd-import-form").find(".edd-progress").parent().parent(),n=a.find(".notice-wrap");a.find(".button-disabled").removeClass("button-disabled"),d.data.error?n.html('<div class="update error"><p>'+d.data.error+"</p></div>"):n.remove()},process_step:function(t,d,a){e.ajax({type:"POST",url:ajaxurl,data:{form:d.form,nonce:d.nonce,"class":d["class"],upload:d.upload,mapping:d.mapping,action:"edd_do_ajax_import",step:t},dataType:"json",success:function(t){if("done"==t.data.step||t.data.error){var n=e(".edd-import-form").find(".edd-progress").parent().parent(),i=n.find(".notice-wrap");n.find(".button-disabled").removeClass("button-disabled"),t.data.error?i.html('<div class="update error"><p>'+t.data.error+"</p></div>"):(n.find(".edd-import-options").hide(),e("html, body").animate({scrollTop:n.parent().offset().top},500),i.html('<div class="updated"><p>'+t.data.message+"</p></div>"))}else e(".edd-progress div").animate({width:t.data.percentage+"%"},50,function(){}),_.process_step(parseInt(t.data.step),d,a)}}).fail(function(e){window.console&&window.console.log&&console.log(e)})}};_.init();var m={vars:{customer_card_wrap_editable:e(".edd-customer-card-wrapper .editable"),customer_card_wrap_edit_item:e(".edd-customer-card-wrapper .edit-item"),user_id:e('input[name="customerinfo[user_id]"]'),state_input:e(':input[name="customerinfo[state]"]'),note:e("#customer-note")},init:function(){this.edit_customer(),this.add_email(),this.user_search(),this.remove_user(),this.cancel_edit(),this.change_country(),this.add_note(),this.delete_checked()},edit_customer:function(){e(document.body).on("click","#edit-customer",function(e){e.preventDefault(),m.vars.customer_card_wrap_editable.hide(),m.vars.customer_card_wrap_edit_item.fadeIn().css("display","block")})},add_email:function(){e(document.body).on("click","#add-customer-email",function(t){t.preventDefault();var d=e(this),a=d.parent();a.parent().find(".notice-wrap").remove(),a.find(".spinner").css("visibility","visible"),d.attr("disabled",!0);var n=a.find('input[name="customer-id"]').val(),i=a.find('input[name="additional-email"]').val(),o=a.find('input[name="make-additional-primary"]').is(":checked"),r=a.find('input[name="add_email_nonce"]').val(),s={edd_action:"customer-add-email",customer_id:n,email:i,primary:o,_wpnonce:r};e.post(ajaxurl,s,function(e){!0===e.success?window.location.href=e.redirect:(d.attr("disabled",!1),
2
- a.after('<div class="notice-wrap"><div class="notice notice-error inline"><p>'+e.message+"</p></div></div>"),a.find(".spinner").css("visibility","hidden"))},"json")})},user_search:function(){e(document.body).on("click.eddSelectUser",".edd_user_search_results a",function(t){t.preventDefault();var d=e(this).data("userid");m.vars.user_id.val(d)})},remove_user:function(){e(document.body).on("click","#disconnect-customer",function(t){t.preventDefault();var d=e('input[name="customerinfo[id]"]').val(),a={edd_action:"disconnect-userid",customer_id:d,_wpnonce:e("#edit-customer-info #_wpnonce").val()};e.post(ajaxurl,a,function(e){window.location.href=window.location.href},"json")})},cancel_edit:function(){e(document.body).on("click","#edd-edit-customer-cancel",function(t){t.preventDefault(),m.vars.customer_card_wrap_edit_item.hide(),m.vars.customer_card_wrap_editable.show(),e(".edd_user_search_results").html("")})},change_country:function(){e('select[name="customerinfo[country]"]').change(function(){var t=e(this),d={action:"edd_get_shop_states",country:t.val(),field_name:"customerinfo[state]"};return e.post(ajaxurl,d,function(e){"nostates"==e?m.vars.state_input.replaceWith('<input type="text" name="'+d.field_name+'" value="" class="edd-edit-toggles medium-text"/>'):m.vars.state_input.replaceWith(e)}),!1})},add_note:function(){e(document.body).on("click","#add-customer-note",function(t){t.preventDefault();var d={edd_action:"add-customer-note",customer_id:e("#customer-id").val(),customer_note:m.vars.note.val(),add_customer_note_nonce:e("#add_customer_note_nonce").val()};if(d.customer_note)e.ajax({type:"POST",data:d,url:ajaxurl,success:function(t){e("#edd-customer-notes").prepend(t),e(".edd-no-customer-notes").hide(),m.vars.note.val("")}}).fail(function(e){window.console&&window.console.log&&console.log(e)});else{var a=m.vars.note.css("border-color");m.vars.note.css("border-color","red"),setTimeout(function(){m.vars.note.css("border-color",a)},500)}})},delete_checked:function(){e("#edd-customer-delete-confirm").change(function(){var t=e("#edd-customer-delete-records"),d=e("#edd-delete-customer");e(this).prop("checked")?(t.attr("disabled",!1),d.attr("disabled",!1)):(t.attr("disabled",!0),t.prop("checked",!1),d.attr("disabled",!0))})}};m.init(),e(".edd-ajax-user-search").keyup(function(){var t=e(this).val(),d="";e(this).data("exclude")&&(d=e(this).data("exclude")),e(".edd-ajax").show();var a={action:"edd_search_users",user_name:t,exclude:d};document.body.style.cursor="wait",e.ajax({type:"POST",data:a,dataType:"json",url:ajaxurl,success:function(t){e(".edd-ajax").hide(),e(".edd_user_search_results").removeClass("hidden"),e(".edd_user_search_results span").html(""),e(t.results).appendTo(".edd_user_search_results span"),document.body.style.cursor="default"}})}),e(document.body).on("click.eddSelectUser",".edd_user_search_results span a",function(t){t.preventDefault();var d=e(this).data("login");e(".edd-ajax-user-search").val(d),e(".edd_user_search_results").addClass("hidden"),e(".edd_user_search_results span").html("")}),e(document.body).on("click.eddCancelUserSearch",".edd_user_search_results a.edd-ajax-user-cancel",function(t){t.preventDefault(),e(".edd-ajax-user-search").val(""),e(".edd_user_search_results").addClass("hidden"),e(".edd_user_search_results span").html("")}),e("#edd_dashboard_sales").length&&e.ajax({type:"GET",data:{action:"edd_load_dashboard_widget"},url:ajaxurl,success:function(t){e("#edd_dashboard_sales .inside").html(t)}}),e(document.body).on("keydown",".customer-note-input",function(t){13==t.keyCode&&(t.metaKey||t.ctrlKey)&&e("#add-customer-note").click()})});var eddFormatCurrency=function(e){var t=parseFloat(e),d=edd_vars.currency,a=edd_vars.currency_decimals;return t.toLocaleString(d,{style:"currency",currency:d,minimumFractionDigits:a,maximumFractionDigits:a})},eddFormatNumber=function(e){var t=parseFloat(e),d=edd_vars.currency;edd_vars.currency_decimals;return t.toLocaleString(d,{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:0})},eddLabelFormatter=function(e,t){return'<div style="font-size:12px; text-align:center; padding:2px">'+e+"</div>"},eddLegendFormatterSales=function(e,t){var d=e.toLowerCase().replace(/\s/g,"-"),a='<div class="edd-legend-color" style="background-color: '+t.color+'"></div>',n='<div class="edd-pie-legend-item">'+e+": "+Math.round(t.percent)+"% ("+eddFormatNumber(t.data[0][1])+")</div>",i='<div id="'+t.edd_vars.id+d+'" class="edd-legend-item-wrapper">'+a+n+"</div>";return jQuery("#edd-pie-legend-"+t.edd_vars.id).append(i),i},eddLegendFormatterEarnings=function(e,t){var d=e.toLowerCase().replace(/\s/g,"-"),a='<div class="edd-legend-color" style="background-color: '+t.color+'"></div>',n='<div class="edd-pie-legend-item">'+e+": "+Math.round(t.percent)+"% ("+eddFormatCurrency(t.data[0][1])+")</div>",i='<div id="'+t.edd_vars.id+d+'" class="edd-legend-item-wrapper">'+a+n+"</div>";return jQuery("#edd-pie-legend-"+t.edd_vars.id).append(i),i};
1
+ function edd_attach_tooltips(e){e.tooltip({content:function(){return jQuery(this).prop("title")},tooltipClass:"edd-ui-tooltip",position:{my:"center top",at:"center bottom+10",collision:"flipfit"},hide:{duration:200},show:{duration:200}})}jQuery(document).ready(function(e){var t=e(".edd-help-tip");edd_attach_tooltips(t);var d={init:function(){this.add(),this.move(),this.remove(),this.type(),this.prices(),this.files(),this.updatePrices()},clone_repeatable:function(t){var d=highest=1;return t.parent().find(".edd_repeatable_row").each(function(){var t=e(this).data("key");parseInt(t)>highest&&(highest=t)}),d=highest+=1,clone=t.clone(),clone.find("select").each(function(){e(this).val(t.find('select[name="'+e(this).attr("name")+'"]').val())}),clone.removeClass("edd_add_blank"),clone.attr("data-key",d),clone.find("input, select, textarea").val("").each(function(){var t=e(this).attr("name"),a=e(this).attr("id");t&&(t=t.replace(/\[(\d+)\]/,"["+parseInt(d)+"]"),e(this).attr("name",t)),e(this).attr("data-key",d),"undefined"!=typeof a&&(a=a.replace(/(\d+)/,parseInt(d)),e(this).attr("id",a))}),clone.find("span.edd_price_id").each(function(){e(this).text(parseInt(d))}),clone.find("span.edd_file_id").each(function(){e(this).text(parseInt(d))}),clone.find(".edd_repeatable_default_input").each(function(){e(this).val(parseInt(d)).removeAttr("checked")}),clone.find(".edd_repeatable_condition_field").each(function(){e(this).find("option:eq(0)").prop("selected","selected")}),clone.find(".search-choice").remove(),clone.find(".chosen-container").remove(),edd_attach_tooltips(clone.find(".edd-help-tip")),clone},add:function(){e(document.body).on("click",".submit .edd_add_repeatable",function(t){t.preventDefault();var a=e(this),n=a.parent().parent().prev(".edd_repeatable_row"),i=d.clone_repeatable(n);i.insertAfter(n).find("input, textarea, select").filter(":visible").eq(0).focus(),i.find(".edd-select-chosen").chosen({inherit_select_classes:!0,placeholder_text_single:edd_vars.one_option,placeholder_text_multiple:edd_vars.one_or_more_option}),i.find(".edd-select-chosen").css("width","100%"),i.find(".edd-select-chosen .chosen-search input").attr("placeholder",edd_vars.search_placeholder)})},move:function(){e(".edd_repeatable_table .edd-repeatables-wrap").sortable({handle:".edd-draghandle-anchor",items:".edd_repeatable_row",opacity:.6,cursor:"move",axis:"y",update:function(){var t=0;e(this).find(".edd_repeatable_row").each(function(){e(this).find("input.edd_repeatable_index").each(function(){e(this).val(t)}),t++})}})},remove:function(){e(document.body).on("click",".edd-remove-row, .edd_remove_repeatable",function(t){t.preventDefault();var d,a,n,i=e(this).parents(".edd_repeatable_row"),o=i.parent().find(".edd_repeatable_row").length,r=e(this).data("type"),s="div.edd_repeatable_"+r+"s";if(d=e(this).is(".ui-sortable .edd_repeatable_row:first-child .edd-remove-row, .ui-sortable .edd_repeatable_row:first-child .edd_remove_repeatable")?i.next(".edd_repeatable_row"):i.prev(".edd_repeatable_row"),a=d.find("select, input, textarea, button").filter(":visible"),n=a.eq(0),"price"===r){var c=i.data("key");e('.edd_repeatable_condition_field option[value="'+c+'"]').remove()}if(o>1)e("input, select",i).val(""),i.fadeOut("fast").remove(),n.focus();else switch(r){case"price":alert(edd_vars.one_price_min);break;case"file":e("input, select",i).val("");break;default:alert(edd_vars.one_field_min)}e(s).each(function(t){e(this).find("input, select").each(function(){var d=e(this).attr("name");d=d.replace(/\[(\d+)\]/,"["+t+"]"),e(this).attr("name",d).attr("id",d)})})})},type:function(){e(document.body).on("change","#_edd_product_type",function(t){var d=e("#edd_products"),a=e("#edd_download_files"),n=e("#edd_download_limit_wrap");"bundle"===e(this).val()?(d.show(),a.hide(),n.hide()):(d.hide(),a.show(),n.show())})},prices:function(){e(document.body).on("change","#edd_variable_pricing",function(t){var d=e(this).is(":checked"),a=e("#edd_regular_price_field"),n=e("#edd_variable_price_fields, .edd_repeatable_table .pricing"),i=e(".edd-bundled-product-row, .edd-repeatable-row-standard-fields");d?(a.hide(),n.show(),i.addClass("has-variable-pricing")):(a.show(),n.hide(),i.removeClass("has-variable-pricing"))})},files:function(){var t;window.formfield="",e(document.body).on("click",".edd_upload_file_button",function(a){a.preventDefault();var n=e(this);return window.formfield=e(this).closest(".edd_repeatable_upload_wrapper"),t?void t.open():(t=wp.media.frames.file_frame=wp.media({frame:"post",state:"insert",title:n.data("uploader-title"),button:{text:n.data("uploader-button-text")},multiple:"0"==e(this).data("multiple")?!1:!0}),t.on("menu:render:default",function(e){var t={};e.unset("library-separator"),e.unset("gallery"),e.unset("featured-image"),e.unset("embed"),e.set(t)}),t.on("insert",function(){var a=t.state().get("selection");a.each(function(t,a){t=t.toJSON();var n="image"===t.type?e(".attachment-display-settings .size option:selected").val():!1,i=t.url,o=t.title.length>0?t.title:t.filename;if(n&&"undefined"!=typeof t.sizes[n]&&(i=t.sizes[n].url),"image"===t.type&&(o=n&&"undefined"!=typeof t.sizes[n]?o+"-"+t.sizes[n].width+"x"+t.sizes[n].height:o+"-"+t.width+"x"+t.height),0===a)window.formfield.find(".edd_repeatable_attachment_id_field").val(t.id),window.formfield.find(".edd_repeatable_thumbnail_size_field").val(n),window.formfield.find(".edd_repeatable_upload_field").val(i),window.formfield.find(".edd_repeatable_name_field").val(o);else{var r=window.formfield,s=d.clone_repeatable(r);s.find(".edd_repeatable_attachment_id_field").val(t.id),s.find(".edd_repeatable_thumbnail_size_field").val(n),s.find(".edd_repeatable_upload_field").val(i),s.find(".edd_repeatable_name_field").val(o),s.insertAfter(r)}})}),void t.open())});var t;window.formfield=""},updatePrices:function(){e("#edd_price_fields").on("keyup",".edd_variable_prices_name",function(){var t=e(this).parents(".edd_repeatable_row").data("key"),d=e(this).val(),a=e(".edd_repeatable_condition_field option[value="+t+"]");a.length>0?a.text(d):e(".edd_repeatable_condition_field").append(e("<option></option>").attr("value",t).text(d))})}};e(document.body).on("click",".toggle-custom-price-option-section",function(t){t.preventDefault();var d=e(this).html()==edd_vars.show_advanced_settings?!0:!1;d?e(this).html(edd_vars.hide_advanced_settings):e(this).html(edd_vars.show_advanced_settings);var a=e(this).parents(".edd-repeatable-row-header");a.siblings(".edd-custom-price-option-sections-wrap").slideToggle();var n;n=d?e(":input:not(input[type=button],input[type=submit],button):visible:first",a.siblings(".edd-custom-price-option-sections-wrap")):e(":input:not(input[type=button],input[type=submit],button):visible:first",a.siblings(".edd-repeatable-row-standard-fields")),n.focus()}),d.init();var a=e(".edd_datepicker");if(a.length>0){var n="mm/dd/yy";a.datepicker({dateFormat:n})}var i={init:function(){this.edit_address(),this.remove_download(),this.add_download(),this.change_customer(),this.new_customer(),this.edit_price(),this.recalculate_total(),this.variable_prices_check(),this.add_note(),this.remove_note(),this.resend_receipt(),this.copy_download_link()},edit_address:function(){e('select[name="edd-payment-address[0][country]"]').change(function(){var t=e(this),d={action:"edd_get_shop_states",country:t.val(),field_name:"edd-payment-address[0][state]"};return e.post(ajaxurl,d,function(t){var d=e("#edd-order-address-state-wrap select, #edd-order-address-state-wrap input");e("#edd-order-address-state-wrap .chosen-container").remove(),"nostates"==t?d.replaceWith('<input type="text" name="edd-payment-address[0][state]" value="" class="edd-edit-toggles medium-text"/>'):d.replaceWith(t)}),!1})},remove_download:function(){e("#edd-purchased-files").on("click",".edd-order-remove-download",function(){var t=e(document.body).find("#edd-purchased-files > .row:not(.header)").length;if(1===t)return alert(edd_vars.one_download_min),!1;if(confirm(edd_vars.delete_payment_download)){var d=e(this).data("key"),a=(e(".edd-payment-id").val(),e('input[name="edd-payment-details-downloads['+d+'][id]"]').val()),n=e('input[name="edd-payment-details-downloads['+d+'][price_id]"]').val(),i=e('input[name="edd-payment-details-downloads['+d+'][quantity]"]').val(),o=e('input[name="edd-payment-details-downloads['+d+'][amount]"]').val();if(e('input[name="edd-payment-details-downloads['+d+'][tax]"]'))var r=e('input[name="edd-payment-details-downloads['+d+'][tax]"]').val();if(e('input[name="edd-payment-details-downloads['+d+'][fees]"]'))var r=e.parseJSON(e('input[name="edd-payment-details-downloads['+d+'][fees]"]').val());var s=e('input[name="edd-payment-removed"]').val();s=e.parseJSON(s),s.length<1&&(s={});var c=[{id:a,price_id:n,quantity:i,amount:o,cart_index:d}];s[d]=c,e('input[name="edd-payment-removed"]').val(JSON.stringify(s)),e(this).parent().parent().remove(),r&&r.length&&e.each(r,function(t,d){e('*li[data-fee-id="'+d+'"]').remove()}),e("#edd-payment-downloads-changed").val(1),e(".edd-order-payment-recalc-totals").show()}return!1})},change_customer:function(){e("#edd-customer-details").on("click",".edd-payment-change-customer, .edd-payment-change-customer-cancel",function(t){t.preventDefault();var d=e(this).hasClass("edd-payment-change-customer"),a=e(this).hasClass("edd-payment-change-customer-cancel");d?(e(".customer-info").hide(),e(".change-customer").show(),e(".edd-payment-change-customer-input").css("width","auto")):a&&(e(".customer-info").show(),e(".change-customer").hide())})},new_customer:function(){e("#edd-customer-details").on("click",".edd-payment-new-customer, .edd-payment-new-customer-cancel",function(t){t.preventDefault();var d=e(this).hasClass("edd-payment-new-customer"),a=e(this).hasClass("edd-payment-new-customer-cancel");d?(e(".customer-info").hide(),e(".new-customer").show()):a&&(e(".customer-info").show(),e(".new-customer").hide());var d=e("#edd-new-customer");e(".new-customer").is(":visible")?d.val(1):d.val(0)})},add_download:function(){e(".edd-edit-purchase-element").on("click","#edd-order-add-download",function(t){t.preventDefault();var d=e("#edd_order_download_select"),a=e("#edd-order-download-quantity"),n=e("#edd-order-download-price"),i=e("#edd-order-download-tax"),o=e(".edd_price_options_select option:selected"),r=d.val(),s=d.find(":selected").text(),c=a.val(),l=n.val(),p=i.val(),u=o.val(),_=o.text();if(1>r)return!1;if(l||(l=0),l=parseFloat(l),isNaN(l))return alert(edd_vars.numeric_item_price),!1;if(p=parseFloat(p),isNaN(p))return alert(edd_vars.numeric_item_tax),!1;if(isNaN(parseInt(c)))return alert(edd_vars.numeric_quantity),!1;_&&(s=s+" - "+_);var m=e("#edd-purchased-files div.row").length,f=e("#edd-purchased-files div.row:last").clone();f.find(".download span").html('<a href="post.php?post='+r+'&action=edit"></a>'),f.find(".download span a").text(s),f.find(".edd-payment-details-download-item-price").val(l.toFixed(edd_vars.currency_decimals)),f.find(".edd-payment-details-download-item-tax").val(p.toFixed(edd_vars.currency_decimals)),f.find("input.edd-payment-details-download-id").val(r),f.find("input.edd-payment-details-download-price-id").val(u);var h=l*c+p;h=h.toFixed(edd_vars.currency_decimals),f.find("span.edd-payment-details-download-amount").text(h),f.find("input.edd-payment-details-download-amount").val(h),f.find("input.edd-payment-details-download-quantity").val(c),f.find("input.edd-payment-details-download-has-log").val(0),f.find(".edd-copy-download-link-wrapper").remove(),f.find("input").each(function(){var t=e(this).attr("name");t=t.replace(/\[(\d+)\]/,"["+parseInt(m)+"]"),e(this).attr("name",t).attr("id",t)}),f.find("a.edd-order-remove-download").attr("data-key",parseInt(m)),e("#edd-payment-downloads-changed").val(1),e(f).insertAfter("#edd-purchased-files div.row:last"),e(".edd-order-payment-recalc-totals").show(),e(".edd-add-download-field").val("")})},edit_price:function(){e(document.body).on("change keyup",".edd-payment-item-input",function(){var t=e(this).parents("ul.edd-purchased-files-list-wrapper");e(".edd-order-payment-recalc-totals").show();var d=t.find("input.edd-payment-details-download-quantity").val().replace(edd_vars.thousands_separator,""),a=t.find("input.edd-payment-details-download-item-price").val().replace(edd_vars.thousands_separator,""),n=t.find("input.edd-payment-details-download-item-tax").val().replace(edd_vars.thousands_separator,"");if(a=parseFloat(a),isNaN(a))return alert(edd_vars.numeric_item_price),!1;n=parseFloat(n),isNaN(n)&&(n=0),isNaN(parseInt(d))&&(d=1);var i=a*d+n;i=i.toFixed(edd_vars.currency_decimals),t.find("input.edd-payment-details-download-amount").val(i),t.find("span.edd-payment-details-download-amount").text(i)})},recalculate_total:function(){e("#edd-order-recalc-total").on("click",function(t){t.preventDefault();var d=0,a=0,n=e("#edd-purchased-files .row input.edd-payment-details-download-amount"),i=e("#edd-purchased-files .row input.edd-payment-details-download-item-tax");n.length&&n.each(function(){d+=parseFloat(e(this).val())}),i.length&&i.each(function(){a+=parseFloat(e(this).val())}),e(".edd-payment-fees").length&&e(".edd-payment-fees span.fee-amount").each(function(){d+=parseFloat(e(this).data("fee"))}),e("input[name=edd-payment-total]").val(d.toFixed(edd_vars.currency_decimals)),e("input[name=edd-payment-tax]").val(a.toFixed(edd_vars.currency_decimals))})},variable_prices_check:function(){e(".edd-edit-purchase-element").on("change","select#edd_order_download_select",function(){var t=e(this),d=t.val();if(parseInt(d)>0){var a={action:"edd_check_for_download_price_variations",download_id:d};e.ajax({type:"POST",data:a,url:ajaxurl,success:function(d){e(".edd_price_options_select").remove(),e(d).insertAfter(t.next())}}).fail(function(e){window.console&&window.console.log&&console.log(e)})}})},add_note:function(){e("#edd-add-payment-note").on("click",function(t){t.preventDefault();var d={action:"edd_insert_payment_note",payment_id:e(this).data("payment-id"),note:e("#edd-payment-note").val()};if(d.note)e.ajax({type:"POST",data:d,url:ajaxurl,success:function(t){e("#edd-payment-notes-inner").append(t),e(".edd-no-payment-notes").hide(),e("#edd-payment-note").val("")}}).fail(function(e){window.console&&window.console.log&&console.log(e)});else{var a=e("#edd-payment-note").css("border-color");e("#edd-payment-note").css("border-color","red"),setTimeout(function(){e("#edd-payment-note").css("border-color",a)},500)}})},remove_note:function(){e(document.body).on("click",".edd-delete-payment-note",function(t){if(t.preventDefault(),confirm(edd_vars.delete_payment_note)){var d={action:"edd_delete_payment_note",payment_id:e(this).data("payment-id"),note_id:e(this).data("note-id")};return e.ajax({type:"POST",data:d,url:ajaxurl,success:function(t){return e("#edd-payment-note-"+d.note_id).remove(),e(".edd-payment-note").length||e(".edd-no-payment-notes").show(),!1}}).fail(function(e){window.console&&window.console.log&&console.log(e)}),!0}})},resend_receipt:function(){var t=e(".edd-order-resend-receipt-addresses");e(document.body).on("click","#edd-select-receipt-email",function(e){e.preventDefault(),t.slideDown()}),e(document.body).on("change",".edd-order-resend-receipt-email",function(){var t=e("#edd-select-receipt-email").prop("href")+"&email="+e(this).val();confirm(edd_vars.resend_receipt)&&(window.location=t)}),e(document.body).on("click","#edd-resend-receipt",function(e){return confirm(edd_vars.resend_receipt)})},copy_download_link:function(){e(document.body).on("click",".edd-copy-download-link",function(t){t.preventDefault();var d=e(this),a={action:"edd_get_file_download_link",payment_id:e('input[name="edd_payment_id"]').val(),download_id:d.data("download-id"),price_id:d.data("price-id")};e.ajax({type:"POST",data:a,url:ajaxurl,success:function(t){return e("#edd-download-link").dialog({width:400}).html('<textarea rows="10" cols="40" id="edd-download-link-textarea">'+t+"</textarea>"),e("#edd-download-link-textarea").focus().select(),!1}}).fail(function(e){window.console&&window.console.log&&console.log(e)})})}};i.init();var o={init:function(){this.type_select(),this.product_requirements()},type_select:function(){e("#edd-edit-discount #edd-type, #edd-add-discount #edd-type").change(function(){var t=e(this).val();e(".edd-amount-description").hide(),e(".edd-amount-description."+t+"-discount").show()})},product_requirements:function(){e("#products").change(function(){var t=e("#edd-discount-product-conditions");e(this).val()?t.show():t.hide()})}};o.init();var r={init:function(){this.date_options(),this.customers_export()},date_options:function(){e("#edd-graphs-date-options").change(function(){var t=e(this),d=e("#edd-date-range-options");"other"===t.val()?d.show():d.hide()})},customers_export:function(){e("#edd_customer_export_download").change(function(){var t=e(this),d=e("option:selected",t).val(),a=e("#edd_customer_export_option");if("0"===t.val()?a.show():a.hide(),0!=parseInt(d)){var n={action:"edd_check_for_download_price_variations",download_id:d,all_prices:!0},i=e(".edd_price_options_select");e.post(ajaxurl,n,function(t){i.remove(),e("#edd_customer_export_download_chosen").after(t)})}else i.remove()})}};r.init();var s={init:function(){this.general(),this.taxes(),this.emails(),this.misc()},general:function(){var t=e(".edd-color-picker");if(t.length&&t.wpColorPicker(),"undefined"==typeof wp||"1"!==edd_vars.new_media_ui){var d=e(".edd_settings_upload_button");d.length>0&&(window.formfield="",e(document.body).on("click",d,function(t){t.preventDefault(),window.formfield=e(this).parent().prev(),window.tbframe_interval=setInterval(function(){jQuery("#TB_iframeContent").contents().find(".savesend .button").val(edd_vars.use_this_file).end().find("#insert-gallery, .wp-post-thumbnail").hide()},2e3),tb_show(edd_vars.add_new_download,"media-upload.php?TB_iframe=true")}),window.edd_send_to_editor=window.send_to_editor,window.send_to_editor=function(t){window.formfield?(imgurl=e("a","<div>"+t+"</div>").attr("href"),window.formfield.val(imgurl),window.clearInterval(window.tbframe_interval),tb_remove()):window.edd_send_to_editor(t),window.send_to_editor=window.edd_send_to_editor,window.formfield="",window.imagefield=!1})}else{var a;window.formfield="",e(document.body).on("click",".edd_settings_upload_button",function(t){t.preventDefault();var d=e(this);return window.formfield=e(this).parent().prev(),a?void a.open():(a=wp.media.frames.file_frame=wp.media({frame:"post",state:"insert",title:d.data("uploader_title"),button:{text:d.data("uploader_button_text")},multiple:!1}),a.on("menu:render:default",function(e){var t={};e.unset("library-separator"),e.unset("gallery"),e.unset("featured-image"),e.unset("embed"),e.set(t)}),a.on("insert",function(){var e=a.state().get("selection");e.each(function(e,t){e=e.toJSON(),window.formfield.val(e.url)})}),void a.open())});var a;window.formfield=""}},taxes:function(){var t=e("select.edd-no-states");t.length&&t.closest("tr").addClass("hidden"),e('select[name="edd_settings[base_country]"]').change(function(){var t=e(this),d=t.closest("tr"),a={action:"edd_get_shop_states",country:e(this).val(),field_name:"edd_settings[base_state]"};return e.post(ajaxurl,a,function(e){"nostates"==e?d.next().addClass("hidden"):(d.next().removeClass("hidden"),d.next().find("select").replaceWith(e))}),!1}),e(document.body).on("change","#edd_tax_rates select.edd-tax-country",function(){var t=e(this),d={action:"edd_get_shop_states",country:e(this).val(),field_name:t.attr("name").replace("country","state")};return e.post(ajaxurl,d,function(e){if("nostates"==e){var a='<input type="text" name="'+d.field_name+'" value=""/>';t.parent().next().find("select").replaceWith(a)}else t.parent().next().find("input,select").show(),t.parent().next().find("input,select").replaceWith(e)}),!1}),e("#edd_add_tax_rate").on("click",function(){var t=e("#edd_tax_rates tr:last"),d=t.clone(),a=t.parent().find("tr").length;return d.find("td input").not(":input[type=checkbox]").val(""),d.find('td [type="checkbox"]').attr("checked",!1),d.find("input, select").each(function(){var t=e(this).attr("name");t=t.replace(/\[(\d+)\]/,"["+parseInt(a)+"]"),e(this).attr("name",t).attr("id",t)}),d.find("label").each(function(){var t=e(this).attr("for");t=t.replace(/\[(\d+)\]/,"["+parseInt(a)+"]"),e(this).attr("for",t)}),d.insertAfter(t),!1}),e(document.body).on("click","#edd_tax_rates .edd_remove_tax_rate",function(){if(confirm(edd_vars.delete_tax_rate)){var t=e("#edd_tax_rates tr:visible"),d=t.length;2===d?(e("#edd_tax_rates select").val(""),e('#edd_tax_rates input[type="text"]').val(""),e('#edd_tax_rates input[type="number"]').val(""),e('#edd_tax_rates input[type="checkbox"]').attr("checked",!1)):e(this).closest("tr").remove(),e("#edd_tax_rates tr").each(function(t){e(this).children().find("input, select").each(function(){var d=e(this).attr("name");d=d.replace(/\[(\d+)\]/,"["+(t-1)+"]"),e(this).attr("name",d).attr("id",d)})})}return!1})},emails:function(){var t=e("#email-preview-wrap");if(t.length){var d=e("#email-preview");t.colorbox({inline:!0,href:d,width:"80%",height:"auto"})}},misc:function(){var t=e('select[name="edd_settings[download_method]"]'),d=t.parent().parent().next();"direct"==t.val()&&(d.hide(),d.find("input").prop("checked",!1)),t.on("change",function(){"direct"==e(this).val()?(d.hide(),d.find("input").prop("checked",!1)):d.show()})}};s.init(),e(".download_page_edd-payment-history .row-actions .delete a, a.edd-delete-payment").on("click",function(){return confirm(edd_vars.delete_payment)?!0:!1}),e("#the-list").on("click",".editinline",function(){var t=e(this).closest("tr").attr("id");t=t.replace("post-","");var d=e("#post-"+t),a=d.find(".column-price .downloadprice-"+t).val();a!=e("#post-"+t+".column-price .downloadprice-"+t).val()?e(".regprice","#edd-download-data").val(a).attr("disabled",!1):e(".regprice","#edd-download-data").val(edd_vars.quick_edit_warning).attr("disabled","disabled")}),e(document.body).on("click","#bulk_edit",function(){var t=e("#bulk-edit"),d=new Array;t.find("#bulk-titles").children().each(function(){d.push(e(this).attr("id").replace(/^(ttle)/i,""))});var a=e('#edd-download-data input[name="_edd_regprice"]').val(),n={action:"edd_save_bulk_edit",edd_bulk_nonce:d,post_ids:d,price:a};e.post(ajaxurl,n)}),e(".edd-select-chosen").chosen({inherit_select_classes:!0,placeholder_text_single:edd_vars.one_option,placeholder_text_multiple:edd_vars.one_or_more_option}),e(".edd-select-chosen .chosen-search input").each(function(){var t=e(this).parent().parent().parent().prev("select.edd-select-chosen"),d=(t.data("search-type"),t.data("search-placeholder"));e(this).attr("placeholder",d)}),e(".chosen-choices").on("click",function(){var t=e(this).parent().prev().data("search-placeholder");"undefined"==typeof t&&(t=edd_vars.type_to_search),e(this).children("li").children("input").attr("placeholder",t)});var c,l=342;e(document.body).on("keyup",".edd-select.chosen-container .chosen-search input, .edd-select.chosen-container .search-field input",function(t){var d=e(this).val(),a=e(this).closest(".edd-select-chosen"),n=(a.attr("id").replace("_chosen",""),a.prev()),i=a.hasClass("no-bundles"),o=a.hasClass("variations"),r=t.which,s="edd_download_search";if(a.prev().data("search-type")){if("no_ajax"==n.data("search-type"))return;s="edd_"+n.data("search-type")+"_search"}d.length<=3&&"edd_download_search"==s||16==r||13==r||91==r||17==r||37==r||38==r||39==r||40==r||(clearTimeout(c),c=setTimeout(function(){e.ajax({type:"GET",url:ajaxurl,data:{action:s,s:d,no_bundles:i,variations:o},dataType:"json",beforeSend:function(){n.closest("ul.chosen-results").empty()},success:function(t){e("option:not(:selected)",n).remove(),e.each(t,function(t,d){e('option[value="'+d.id+'"]',n).length||n.prepend('<option value="'+d.id+'">'+d.name+"</option>")}),e(".edd-select-chosen").trigger("chosen:updated"),n.next().find("input").val(d)}}).fail(function(e){window.console&&window.console.log&&console.log(e)}).done(function(e){})},l))}),e("#post").on("click",".edd-thickbox",function(){e(".edd-select-chosen","#choose-download").css("width","100%")});var p={init:function(){this.revoke_api_key(),this.regenerate_api_key(),this.create_api_key(),this.recount_stats()},revoke_api_key:function(){e(document.body).on("click",".edd-revoke-api-key",function(e){return confirm(edd_vars.revoke_api_key)})},regenerate_api_key:function(){e(document.body).on("click",".edd-regenerate-api-key",function(e){return confirm(edd_vars.regenerate_api_key)})},create_api_key:function(){e(document.body).on("submit","#api-key-generate-form",function(t){var d=e('input[type="text"][name="user_id"]');d.css("border-color","#ddd");var a=d.val();return a.length<1||0==a?(d.css("border-color","#ff0000"),!1):void 0})},recount_stats:function(){e(document.body).on("change","#recount-stats-type",function(){var t=e("#edd-tools-recount-form"),d=e("option:selected",this).data("type"),a=e("#recount-stats-submit"),n=e("#tools-product-dropdown");if(t.find(".notice-wrap").remove(),a.removeClass("button-disabled").attr("disabled",!1),n.hide(),e(".edd-recount-stats-descriptions span").hide(),"recount-download"===d)n.show(),n.find(".edd-select-chosen").css("width","auto");else if("reset-stats"===d){t.append('<div class="notice-wrap"></div>');var i=t.find(".notice-wrap");i.html('<div class="notice notice-warning"><p><input type="checkbox" id="confirm-reset" name="confirm_reset_store" value="1" /> <label for="confirm-reset">'+edd_vars.reset_stats_warn+"</label></p></div>"),e("#recount-stats-submit").addClass("button-disabled").attr("disabled","disabled")}else n.hide(),n.val(0);e("#"+d).show()}),e(document.body).on("change","#confirm-reset",function(){var t=e(this).is(":checked");t?e("#recount-stats-submit").removeClass("button-disabled").removeAttr("disabled"):e("#recount-stats-submit").addClass("button-disabled").attr("disabled","disabled")}),e("#edd-tools-recount-form").submit(function(t){var d=e("#recount-stats-type").val(),a=e(this),n=e("option:selected",this).data("type");if("reset-stats"===n){var i=e("#confirm-reset").is(":checked");if(i)return!0;r=!0}a.find(".notice-wrap").remove(),a.append('<div class="notice-wrap"></div>');var o=a.find(".notice-wrap"),r=!1;if((null===d||0===d)&&(o.html('<div class="updated error"><p>'+edd_vars.batch_export_no_class+"</p></div>"),r=!0),"recount-download"===n){var s=e('select[name="download_id"]').val();0==s&&(o.html('<div class="updated error"><p>'+edd_vars.batch_export_no_reqs+"</p></div>"),r=!0)}return r?(a.find(".button-disabled").removeClass("button-disabled"),!1):void 0})}};p.init();var u={init:function(){this.submit(),this.dismiss_message()},submit:function(){var t=this;e(document.body).on("submit",".edd-export-form",function(d){d.preventDefault();var a=e(this).find('input[type="submit"]');if(!a.hasClass("button-disabled")){var n=e(this).serialize();a.addClass("button-disabled"),e(this).find(".notice-wrap").remove(),e(this).append('<div class="notice-wrap"><span class="spinner is-active"></span><div class="edd-progress"><div></div></div></div>'),t.process_step(1,n,t)}})},process_step:function(t,d,a){e.ajax({type:"POST",url:ajaxurl,data:{form:d,action:"edd_do_ajax_export",step:t},dataType:"json",success:function(t){if("done"==t.step||t.error||t.success){var n=e(".edd-export-form").find(".edd-progress").parent().parent(),i=n.find(".notice-wrap");if(n.find(".button-disabled").removeClass("button-disabled"),t.error){var o=t.message;i.html('<div class="updated error"><p>'+o+"</p></div>")}else if(t.success){var r=t.message;i.html('<div id="edd-batch-success" class="updated notice is-dismissible"><p>'+r+'<span class="notice-dismiss"></span></p></div>')}else i.remove(),window.location=t.url}else e(".edd-progress div").animate({width:t.percentage+"%"},50,function(){}),a.process_step(parseInt(t.step),d,a)}}).fail(function(e){window.console&&window.console.log&&console.log(e)})},dismiss_message:function(){e(document.body).on("click","#edd-batch-success .notice-dismiss",function(){e("#edd-batch-success").parent().slideUp("fast")})}};u.init();var _={init:function(){this.submit()},submit:function(){var t=this;e(".edd-import-form").ajaxForm({beforeSubmit:t.before_submit,success:t.success,complete:t.complete,dataType:"json",error:t.error})},before_submit:function(t,d,a){if(d.find(".notice-wrap").remove(),d.append('<div class="notice-wrap"><span class="spinner is-active"></span><div class="edd-progress"><div></div></div></div>'),!(window.File&&window.FileReader&&window.FileList&&window.Blob)){var n=e(".edd-import-form").find(".edd-progress").parent().parent(),i=n.find(".notice-wrap");return n.find(".button-disabled").removeClass("button-disabled"),i.html('<div class="update error"><p>'+edd_vars.unsupported_browser+"</p></div>"),!1}},success:function(e,t,d,a){},complete:function(t){var d=jQuery.parseJSON(t.responseText);if(d.success){var a=e(".edd-import-form .notice-wrap").parent();a.find(".edd-import-file-wrap,.notice-wrap").remove(),a.find(".edd-import-options").slideDown();var n=a.find("select.edd-import-csv-column"),i=(n.parent().parent(),""),o=d.data.columns.sort(function(e,t){return t>e?-1:e>t?1:0});e.each(o,function(e,t){i+='<option value="'+t+'">'+t+"</option>"}),n.append(i),n.on("change",function(){var t=e(this).val();t&&0!=d.data.first_row[t]?e(this).parent().next().html(d.data.first_row[t]):e(this).parent().next().html("")}),e(document.body).on("click",".edd-import-proceed",function(e){e.preventDefault(),a.append('<div class="notice-wrap"><span class="spinner is-active"></span><div class="edd-progress"><div></div></div></div>'),d.data.mapping=a.serialize(),_.process_step(1,d.data,self)})}else _.error(t)},error:function(t){var d=jQuery.parseJSON(t.responseText),a=e(".edd-import-form").find(".edd-progress").parent().parent(),n=a.find(".notice-wrap");a.find(".button-disabled").removeClass("button-disabled"),d.data.error?n.html('<div class="update error"><p>'+d.data.error+"</p></div>"):n.remove()},process_step:function(t,d,a){e.ajax({type:"POST",url:ajaxurl,data:{form:d.form,nonce:d.nonce,"class":d["class"],upload:d.upload,mapping:d.mapping,action:"edd_do_ajax_import",step:t},dataType:"json",success:function(t){if("done"==t.data.step||t.data.error){var n=e(".edd-import-form").find(".edd-progress").parent().parent(),i=n.find(".notice-wrap");n.find(".button-disabled").removeClass("button-disabled"),t.data.error?i.html('<div class="update error"><p>'+t.data.error+"</p></div>"):(n.find(".edd-import-options").hide(),e("html, body").animate({scrollTop:n.parent().offset().top},500),i.html('<div class="updated"><p>'+t.data.message+"</p></div>"))}else e(".edd-progress div").animate({width:t.data.percentage+"%"},50,function(){}),_.process_step(parseInt(t.data.step),d,a)}}).fail(function(e){window.console&&window.console.log&&console.log(e)})}};_.init();var m={vars:{customer_card_wrap_editable:e(".edd-customer-card-wrapper .editable"),customer_card_wrap_edit_item:e(".edd-customer-card-wrapper .edit-item"),user_id:e('input[name="customerinfo[user_id]"]'),state_input:e(':input[name="customerinfo[state]"]'),note:e("#customer-note")},init:function(){this.edit_customer(),this.add_email(),this.user_search(),this.remove_user(),this.cancel_edit(),this.change_country(),this.add_note(),this.delete_checked()},edit_customer:function(){e(document.body).on("click","#edit-customer",function(e){e.preventDefault(),m.vars.customer_card_wrap_editable.hide(),m.vars.customer_card_wrap_edit_item.fadeIn().css("display","block")})},add_email:function(){e(document.body).on("click","#add-customer-email",function(t){t.preventDefault();var d=e(this),a=d.parent();a.parent().find(".notice-wrap").remove(),a.find(".spinner").css("visibility","visible"),d.attr("disabled",!0);var n=a.find('input[name="customer-id"]').val(),i=a.find('input[name="additional-email"]').val(),o=a.find('input[name="make-additional-primary"]').is(":checked"),r=a.find('input[name="add_email_nonce"]').val(),s={edd_action:"customer-add-email",customer_id:n,email:i,primary:o,_wpnonce:r};e.post(ajaxurl,s,function(e){!0===e.success?window.location.href=e.redirect:(d.attr("disabled",!1),
2
+ a.after('<div class="notice-wrap"><div class="notice notice-error inline"><p>'+e.message+"</p></div></div>"),a.find(".spinner").css("visibility","hidden"))},"json")})},user_search:function(){e(document.body).on("click.eddSelectUser",".edd_user_search_results a",function(t){t.preventDefault();var d=e(this).data("userid");m.vars.user_id.val(d)})},remove_user:function(){e(document.body).on("click","#disconnect-customer",function(t){t.preventDefault();var d=e('input[name="customerinfo[id]"]').val(),a={edd_action:"disconnect-userid",customer_id:d,_wpnonce:e("#edit-customer-info #_wpnonce").val()};e.post(ajaxurl,a,function(e){window.location.href=window.location.href},"json")})},cancel_edit:function(){e(document.body).on("click","#edd-edit-customer-cancel",function(t){t.preventDefault(),m.vars.customer_card_wrap_edit_item.hide(),m.vars.customer_card_wrap_editable.show(),e(".edd_user_search_results").html("")})},change_country:function(){e('select[name="customerinfo[country]"]').change(function(){var t=e(this),d={action:"edd_get_shop_states",country:t.val(),field_name:"customerinfo[state]"};return e.post(ajaxurl,d,function(e){"nostates"==e?m.vars.state_input.replaceWith('<input type="text" name="'+d.field_name+'" value="" class="edd-edit-toggles medium-text"/>'):m.vars.state_input.replaceWith(e)}),!1})},add_note:function(){e(document.body).on("click","#add-customer-note",function(t){t.preventDefault();var d={edd_action:"add-customer-note",customer_id:e("#customer-id").val(),customer_note:m.vars.note.val(),add_customer_note_nonce:e("#add_customer_note_nonce").val()};if(d.customer_note)e.ajax({type:"POST",data:d,url:ajaxurl,success:function(t){e("#edd-customer-notes").prepend(t),e(".edd-no-customer-notes").hide(),m.vars.note.val("")}}).fail(function(e){window.console&&window.console.log&&console.log(e)});else{var a=m.vars.note.css("border-color");m.vars.note.css("border-color","red"),setTimeout(function(){m.vars.note.css("border-color",a)},500)}})},delete_checked:function(){e("#edd-customer-delete-confirm").change(function(){var t=e("#edd-customer-delete-records"),d=e("#edd-delete-customer");e(this).prop("checked")?(t.attr("disabled",!1),d.attr("disabled",!1)):(t.attr("disabled",!0),t.prop("checked",!1),d.attr("disabled",!0))})}};m.init(),e(".edd-ajax-user-search").keyup(function(){var t=e(this).val(),d="";e(this).data("exclude")&&(d=e(this).data("exclude")),e(".edd-ajax").show();var a={action:"edd_search_users",user_name:t,exclude:d};document.body.style.cursor="wait",e.ajax({type:"POST",data:a,dataType:"json",url:ajaxurl,success:function(t){e(".edd-ajax").hide(),e(".edd_user_search_results").removeClass("hidden"),e(".edd_user_search_results span").html(""),e(t.results).appendTo(".edd_user_search_results span"),document.body.style.cursor="default"}})}),e(document.body).on("click.eddSelectUser",".edd_user_search_results span a",function(t){t.preventDefault();var d=e(this).data("login");e(".edd-ajax-user-search").val(d),e(".edd_user_search_results").addClass("hidden"),e(".edd_user_search_results span").html("")}),e(document.body).on("click.eddCancelUserSearch",".edd_user_search_results a.edd-ajax-user-cancel",function(t){t.preventDefault(),e(".edd-ajax-user-search").val(""),e(".edd_user_search_results").addClass("hidden"),e(".edd_user_search_results span").html("")}),e("#edd_dashboard_sales").length&&e.ajax({type:"GET",data:{action:"edd_load_dashboard_widget"},url:ajaxurl,success:function(t){e("#edd_dashboard_sales .inside").html(t)}}),e(document.body).on("keydown",".customer-note-input",function(t){13==t.keyCode&&(t.metaKey||t.ctrlKey)&&e("#add-customer-note").click()})});var eddFormatCurrency=function(e){var t=parseFloat(e),d=edd_vars.currency,a=edd_vars.currency_decimals;return t.toLocaleString(d,{style:"currency",currency:d,minimumFractionDigits:a,maximumFractionDigits:a})},eddFormatNumber=function(e){var t=parseFloat(e),d=edd_vars.currency;edd_vars.currency_decimals;return t.toLocaleString(d,{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:0})},eddLabelFormatter=function(e,t){return'<div style="font-size:12px; text-align:center; padding:2px">'+e+"</div>"},eddLegendFormatterSales=function(e,t){var d=e.toLowerCase().replace(/\s/g,"-"),a='<div class="edd-legend-color" style="background-color: '+t.color+'"></div>',n='<div class="edd-pie-legend-item">'+e+": "+Math.round(t.percent)+"% ("+eddFormatNumber(t.data[0][1])+")</div>",i='<div id="'+t.edd_vars.id+d+'" class="edd-legend-item-wrapper">'+a+n+"</div>";return jQuery("#edd-pie-legend-"+t.edd_vars.id).append(i),i},eddLegendFormatterEarnings=function(e,t){var d=e.toLowerCase().replace(/\s/g,"-"),a='<div class="edd-legend-color" style="background-color: '+t.color+'"></div>',n='<div class="edd-pie-legend-item">'+e+": "+Math.round(t.percent)+"% ("+eddFormatCurrency(t.data[0][1])+")</div>",i='<div id="'+t.edd_vars.id+d+'" class="edd-legend-item-wrapper">'+a+n+"</div>";return jQuery("#edd-pie-legend-"+t.edd_vars.id).append(i),i};
easy-digital-downloads.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: The easiest way to sell digital products with WordPress.
6
  * Author: Easy Digital Downloads
7
  * Author URI: https://easydigitaldownloads.com
8
- * Version: 2.8.6
9
  * Text Domain: easy-digital-downloads
10
  * Domain Path: languages
11
  *
@@ -25,7 +25,7 @@
25
  * @package EDD
26
  * @category Core
27
  * @author Pippin Williamson
28
- * @version 2.8.6
29
  */
30
 
31
  // Exit if accessed directly.
@@ -206,7 +206,7 @@ final class Easy_Digital_Downloads {
206
 
207
  // Plugin version.
208
  if ( ! defined( 'EDD_VERSION' ) ) {
209
- define( 'EDD_VERSION', '2.8.6' );
210
  }
211
 
212
  // Plugin Folder Path.
5
  * Description: The easiest way to sell digital products with WordPress.
6
  * Author: Easy Digital Downloads
7
  * Author URI: https://easydigitaldownloads.com
8
+ * Version: 2.8.7
9
  * Text Domain: easy-digital-downloads
10
  * Domain Path: languages
11
  *
25
  * @package EDD
26
  * @category Core
27
  * @author Pippin Williamson
28
+ * @version 2.8.7
29
  */
30
 
31
  // Exit if accessed directly.
206
 
207
  // Plugin version.
208
  if ( ! defined( 'EDD_VERSION' ) ) {
209
+ define( 'EDD_VERSION', '2.8.7' );
210
  }
211
 
212
  // Plugin Folder Path.
includes/admin/customers/customer-actions.php CHANGED
@@ -638,6 +638,16 @@ function edd_include_single_customer_recount_tool_batch_processer( $class ) {
638
 
639
  }
640
 
641
- add_action( 'added_customer_meta', array( EDD()->customers, 'set_last_changed' ) );
642
- add_action( 'updated_customer_meta', array( EDD()->customers, 'set_last_changed' ) );
643
- add_action( 'deleted_customer_meta', array( EDD()->customers, 'set_last_changed' ) );
 
 
 
 
 
 
 
 
 
 
638
 
639
  }
640
 
641
+ /**
642
+ * Sets up additional action calls for the set_last_changed method in the EDD_DB_Customers class.
643
+ *
644
+ * @since 2.8.7
645
+ * @param void
646
+ * @return void
647
+ */
648
+ function edd_customer_action_calls() {
649
+ add_action( 'added_customer_meta', array( EDD()->customers, 'set_last_changed' ) );
650
+ add_action( 'updated_customer_meta', array( EDD()->customers, 'set_last_changed' ) );
651
+ add_action( 'deleted_customer_meta', array( EDD()->customers, 'set_last_changed' ) );
652
+ }
653
+ add_action( 'init', 'edd_customer_action_calls' );
includes/admin/discounts/add-discount.php CHANGED
@@ -23,7 +23,7 @@ if ( ! defined( 'ABSPATH' ) ) exit;
23
  <label for="edd-name"><?php _e( 'Name', 'easy-digital-downloads' ); ?></label>
24
  </th>
25
  <td>
26
- <input name="name" required="required" id="edd-name" type="text" value="" style="width: 300px;"/>
27
  <p class="description"><?php _e( 'The name of this discount.', 'easy-digital-downloads' ); ?></p>
28
  </td>
29
  </tr>
@@ -33,7 +33,7 @@ if ( ! defined( 'ABSPATH' ) ) exit;
33
  <label for="edd-code"><?php _e( 'Code', 'easy-digital-downloads' ); ?></label>
34
  </th>
35
  <td>
36
- <input type="text" required="required" id="edd-code" name="code" value="" pattern="[a-zA-Z0-9]+" style="width: 300px;"/>
37
  <p class="description"><?php _e( 'Enter a code for this discount, such as 10PERCENT. Only alphanumeric characters are allowed.', 'easy-digital-downloads' ); ?></p>
38
  </td>
39
  </tr>
@@ -56,7 +56,7 @@ if ( ! defined( 'ABSPATH' ) ) exit;
56
  <label for="edd-amount"><?php _e( 'Amount', 'easy-digital-downloads' ); ?></label>
57
  </th>
58
  <td>
59
- <input type="text" required="required" id="edd-amount" name="amount" value="" style="width: 80px;"/>
60
  <p class="description edd-amount-description flat-discount" style="display:none;"><?php printf( __( 'Enter the discount amount in %s', 'easy-digital-downloads' ), edd_get_currency() ); ?></p>
61
  <p class="description edd-amount-description percent-discount"><?php _e( 'Enter the discount percentage. 10 = 10%', 'easy-digital-downloads' ); ?></p>
62
  </td>
@@ -120,7 +120,7 @@ if ( ! defined( 'ABSPATH' ) ) exit;
120
  <label for="edd-start"><?php _e( 'Start date', 'easy-digital-downloads' ); ?></label>
121
  </th>
122
  <td>
123
- <input name="start" id="edd-start" type="text" value="" style="width: 300px;" class="edd_datepicker"/>
124
  <p class="description"><?php _e( 'Enter the start date for this discount code in the format of mm/dd/yyyy. For no start date, leave blank. If entered, the discount can only be used after or on this date.', 'easy-digital-downloads' ); ?></p>
125
  </td>
126
  </tr>
@@ -130,7 +130,7 @@ if ( ! defined( 'ABSPATH' ) ) exit;
130
  <label for="edd-expiration"><?php _e( 'Expiration date', 'easy-digital-downloads' ); ?></label>
131
  </th>
132
  <td>
133
- <input name="expiration" id="edd-expiration" type="text" style="width: 300px;" class="edd_datepicker"/>
134
  <p class="description"><?php _e( 'Enter the expiration date for this discount code in the format of mm/dd/yyyy. For no expiration, leave blank.', 'easy-digital-downloads' ); ?></p>
135
  </td>
136
  </tr>
@@ -140,7 +140,7 @@ if ( ! defined( 'ABSPATH' ) ) exit;
140
  <label for="edd-min-cart-amount"><?php _e( 'Minimum Amount', 'easy-digital-downloads' ); ?></label>
141
  </th>
142
  <td>
143
- <input type="text" id="edd-min-cart-amount" name="min_price" value="" style="width: 40px;"/>
144
  <p class="description"><?php _e( 'The minimum amount that must be purchased before this discount can be used. Leave blank for no minimum.', 'easy-digital-downloads' ); ?></p>
145
  </td>
146
  </tr>
@@ -150,7 +150,7 @@ if ( ! defined( 'ABSPATH' ) ) exit;
150
  <label for="edd-max-uses"><?php _e( 'Max Uses', 'easy-digital-downloads' ); ?></label>
151
  </th>
152
  <td>
153
- <input type="text" id="edd-max-uses" name="max" value="" style="width: 40px;"/>
154
  <p class="description"><?php _e( 'The maximum number of times this discount can be used. Leave blank for unlimited.', 'easy-digital-downloads' ); ?></p>
155
  </td>
156
  </tr>
23
  <label for="edd-name"><?php _e( 'Name', 'easy-digital-downloads' ); ?></label>
24
  </th>
25
  <td>
26
+ <input name="name" required="required" id="edd-name" type="text" value="" />
27
  <p class="description"><?php _e( 'The name of this discount.', 'easy-digital-downloads' ); ?></p>
28
  </td>
29
  </tr>
33
  <label for="edd-code"><?php _e( 'Code', 'easy-digital-downloads' ); ?></label>
34
  </th>
35
  <td>
36
+ <input type="text" required="required" id="edd-code" name="code" value="" pattern="[a-zA-Z0-9-_]+" />
37
  <p class="description"><?php _e( 'Enter a code for this discount, such as 10PERCENT. Only alphanumeric characters are allowed.', 'easy-digital-downloads' ); ?></p>
38
  </td>
39
  </tr>
56
  <label for="edd-amount"><?php _e( 'Amount', 'easy-digital-downloads' ); ?></label>
57
  </th>
58
  <td>
59
+ <input type="text" required="required" class="edd-price-field" id="edd-amount" name="amount" value="" />
60
  <p class="description edd-amount-description flat-discount" style="display:none;"><?php printf( __( 'Enter the discount amount in %s', 'easy-digital-downloads' ), edd_get_currency() ); ?></p>
61
  <p class="description edd-amount-description percent-discount"><?php _e( 'Enter the discount percentage. 10 = 10%', 'easy-digital-downloads' ); ?></p>
62
  </td>
120
  <label for="edd-start"><?php _e( 'Start date', 'easy-digital-downloads' ); ?></label>
121
  </th>
122
  <td>
123
+ <input name="start" id="edd-start" type="text" value="" class="edd_datepicker"/>
124
  <p class="description"><?php _e( 'Enter the start date for this discount code in the format of mm/dd/yyyy. For no start date, leave blank. If entered, the discount can only be used after or on this date.', 'easy-digital-downloads' ); ?></p>
125
  </td>
126
  </tr>
130
  <label for="edd-expiration"><?php _e( 'Expiration date', 'easy-digital-downloads' ); ?></label>
131
  </th>
132
  <td>
133
+ <input name="expiration" id="edd-expiration" type="text" class="edd_datepicker"/>
134
  <p class="description"><?php _e( 'Enter the expiration date for this discount code in the format of mm/dd/yyyy. For no expiration, leave blank.', 'easy-digital-downloads' ); ?></p>
135
  </td>
136
  </tr>
140
  <label for="edd-min-cart-amount"><?php _e( 'Minimum Amount', 'easy-digital-downloads' ); ?></label>
141
  </th>
142
  <td>
143
+ <input type="text" id="edd-min-cart-amount" name="min_price" value="" />
144
  <p class="description"><?php _e( 'The minimum amount that must be purchased before this discount can be used. Leave blank for no minimum.', 'easy-digital-downloads' ); ?></p>
145
  </td>
146
  </tr>
150
  <label for="edd-max-uses"><?php _e( 'Max Uses', 'easy-digital-downloads' ); ?></label>
151
  </th>
152
  <td>
153
+ <input type="text" id="edd-max-uses" name="max" value="" />
154
  <p class="description"><?php _e( 'The maximum number of times this discount can be used. Leave blank for unlimited.', 'easy-digital-downloads' ); ?></p>
155
  </td>
156
  </tr>
includes/admin/discounts/discount-actions.php CHANGED
@@ -38,7 +38,9 @@ function edd_add_discount( $data ) {
38
  edd_die();
39
  }
40
 
41
- if ( ! ctype_alnum( $data['code'] ) ) {
 
 
42
  wp_redirect( add_query_arg( 'edd-message', 'discount_invalid_code' ) );
43
  edd_die();
44
  }
38
  edd_die();
39
  }
40
 
41
+ // Verify only accepted characters
42
+ $sanitized = preg_replace('/[^a-zA-Z0-9-_]+/', '', $data['code'] );
43
+ if ( strtoupper( $data['code'] ) !== strtoupper( $sanitized ) ) {
44
  wp_redirect( add_query_arg( 'edd-message', 'discount_invalid_code' ) );
45
  edd_die();
46
  }
includes/admin/discounts/edit-discount.php CHANGED
@@ -37,7 +37,7 @@ $condition_display = empty( $product_reqs ) ? ' style="display:none;"' : '';
37
  <label for="edd-name"><?php _e( 'Name', 'easy-digital-downloads' ); ?></label>
38
  </th>
39
  <td>
40
- <input name="name" required="required" id="edd-name" type="text" value="<?php echo esc_attr( stripslashes( $discount->post_title ) ); ?>" style="width: 300px;"/>
41
  <p class="description"><?php _e( 'The name of this discount', 'easy-digital-downloads' ); ?></p>
42
  </td>
43
  </tr>
@@ -47,7 +47,7 @@ $condition_display = empty( $product_reqs ) ? ' style="display:none;"' : '';
47
  <label for="edd-code"><?php _e( 'Code', 'easy-digital-downloads' ); ?></label>
48
  </th>
49
  <td>
50
- <input type="text" required="required" id="edd-code" name="code" value="<?php echo esc_attr( edd_get_discount_code( $discount_id ) ); ?>" pattern="[a-zA-Z0-9]+" style="width: 300px;"/>
51
  <p class="description"><?php _e( 'Enter a code for this discount, such as 10PERCENT. Only alphanumeric characters are allowed.', 'easy-digital-downloads' ); ?></p>
52
  </td>
53
  </tr>
@@ -70,7 +70,7 @@ $condition_display = empty( $product_reqs ) ? ' style="display:none;"' : '';
70
  <label for="edd-amount"><?php _e( 'Amount', 'easy-digital-downloads' ); ?></label>
71
  </th>
72
  <td>
73
- <input type="text" required="required" id="edd-amount" name="amount" value="<?php echo esc_attr( edd_get_discount_amount( $discount_id ) ); ?>" style="width: 80px;"/>
74
  <p class="description edd-amount-description flat"<?php echo $flat_display; ?>><?php printf( __( 'Enter the discount amount in %s', 'easy-digital-downloads' ), edd_get_currency() ); ?></p>
75
  <p class="description edd-amount-description percent"<?php echo $percent_display; ?>><?php _e( 'Enter the discount percentage. 10 = 10%', 'easy-digital-downloads' ); ?></p>
76
  </td>
@@ -135,7 +135,7 @@ $condition_display = empty( $product_reqs ) ? ' style="display:none;"' : '';
135
  <label for="edd-start"><?php _e( 'Start date', 'easy-digital-downloads' ); ?></label>
136
  </th>
137
  <td>
138
- <input name="start" id="edd-start" type="text" value="<?php echo esc_attr( edd_get_discount_start_date( $discount_id ) ); ?>" style="width: 300px;" class="edd_datepicker"/>
139
  <p class="description"><?php _e( 'Enter the start date for this discount code in the format of mm/dd/yyyy. For no start date, leave blank. If entered, the discount can only be used after or on this date.', 'easy-digital-downloads' ); ?></p>
140
  </td>
141
  </tr>
@@ -145,7 +145,7 @@ $condition_display = empty( $product_reqs ) ? ' style="display:none;"' : '';
145
  <label for="edd-expiration"><?php _e( 'Expiration date', 'easy-digital-downloads' ); ?></label>
146
  </th>
147
  <td>
148
- <input name="expiration" id="edd-expiration" type="text" value="<?php echo esc_attr( edd_get_discount_expiration( $discount_id ) ); ?>" style="width: 300px;" class="edd_datepicker"/>
149
  <p class="description"><?php _e( 'Enter the expiration date for this discount code in the format of mm/dd/yyyy. For no expiration, leave blank', 'easy-digital-downloads' ); ?></p>
150
  </td>
151
  </tr>
37
  <label for="edd-name"><?php _e( 'Name', 'easy-digital-downloads' ); ?></label>
38
  </th>
39
  <td>
40
+ <input name="name" required="required" id="edd-name" type="text" value="<?php echo esc_attr( stripslashes( $discount->post_title ) ); ?>" />
41
  <p class="description"><?php _e( 'The name of this discount', 'easy-digital-downloads' ); ?></p>
42
  </td>
43
  </tr>
47
  <label for="edd-code"><?php _e( 'Code', 'easy-digital-downloads' ); ?></label>
48
  </th>
49
  <td>
50
+ <input type="text" required="required" id="edd-code" name="code" value="<?php echo esc_attr( edd_get_discount_code( $discount_id ) ); ?>" pattern="[a-zA-Z0-9-_]+" />
51
  <p class="description"><?php _e( 'Enter a code for this discount, such as 10PERCENT. Only alphanumeric characters are allowed.', 'easy-digital-downloads' ); ?></p>
52
  </td>
53
  </tr>
70
  <label for="edd-amount"><?php _e( 'Amount', 'easy-digital-downloads' ); ?></label>
71
  </th>
72
  <td>
73
+ <input type="text" class="edd-price-field" required="required" id="edd-amount" name="amount" value="<?php echo esc_attr( edd_get_discount_amount( $discount_id ) ); ?>" />
74
  <p class="description edd-amount-description flat"<?php echo $flat_display; ?>><?php printf( __( 'Enter the discount amount in %s', 'easy-digital-downloads' ), edd_get_currency() ); ?></p>
75
  <p class="description edd-amount-description percent"<?php echo $percent_display; ?>><?php _e( 'Enter the discount percentage. 10 = 10%', 'easy-digital-downloads' ); ?></p>
76
  </td>
135
  <label for="edd-start"><?php _e( 'Start date', 'easy-digital-downloads' ); ?></label>
136
  </th>
137
  <td>
138
+ <input name="start" id="edd-start" type="text" value="<?php echo esc_attr( edd_get_discount_start_date( $discount_id ) ); ?>" class="edd_datepicker"/>
139
  <p class="description"><?php _e( 'Enter the start date for this discount code in the format of mm/dd/yyyy. For no start date, leave blank. If entered, the discount can only be used after or on this date.', 'easy-digital-downloads' ); ?></p>
140
  </td>
141
  </tr>
145
  <label for="edd-expiration"><?php _e( 'Expiration date', 'easy-digital-downloads' ); ?></label>
146
  </th>
147
  <td>
148
+ <input name="expiration" id="edd-expiration" type="text" value="<?php echo esc_attr( edd_get_discount_expiration( $discount_id ) ); ?>" class="edd_datepicker"/>
149
  <p class="description"><?php _e( 'Enter the expiration date for this discount code in the format of mm/dd/yyyy. For no expiration, leave blank', 'easy-digital-downloads' ); ?></p>
150
  </td>
151
  </tr>
includes/admin/downloads/metabox.php CHANGED
@@ -350,10 +350,10 @@ function edd_render_price_field( $post_id ) {
350
  if ( ! empty( $prices ) ) :
351
 
352
  foreach ( $prices as $key => $value ) :
353
- $name = isset( $value['name'] ) ? $value['name'] : '';
 
354
  $amount = isset( $value['amount'] ) ? $value['amount'] : '';
355
- $index = isset( $value['index'] ) ? $value['index'] : $key;
356
- $args = apply_filters( 'edd_price_row_args', compact( 'name', 'amount' ), $value );
357
  ?>
358
  <div class="edd_variable_prices_wrapper edd_repeatable_row" data-key="<?php echo esc_attr( $key ); ?>">
359
  <?php do_action( 'edd_render_price_row', $key, $args, $post_id, $index ); ?>
350
  if ( ! empty( $prices ) ) :
351
 
352
  foreach ( $prices as $key => $value ) :
353
+ $name = ( isset( $value['name'] ) && ! empty( $value['name'] ) ) ? $value['name'] : '';
354
+ $index = ( isset( $value['index'] ) && $value['index'] !== '' ) ? $value['index'] : $key;
355
  $amount = isset( $value['amount'] ) ? $value['amount'] : '';
356
+ $args = apply_filters( 'edd_price_row_args', compact( 'name', 'amount' ), $value );
 
357
  ?>
358
  <div class="edd_variable_prices_wrapper edd_repeatable_row" data-key="<?php echo esc_attr( $key ); ?>">
359
  <?php do_action( 'edd_render_price_row', $key, $args, $post_id, $index ); ?>
includes/admin/payments/class-payments-table.php CHANGED
@@ -148,10 +148,14 @@ class EDD_Payment_History_Table extends WP_List_Table {
148
  ?>
149
  <div id="edd-payment-filters">
150
  <span id="edd-payment-date-filters">
151
- <label for="start-date"><?php _e( 'Start Date:', 'easy-digital-downloads' ); ?></label>
152
- <input type="text" id="start-date" name="start-date" class="edd_datepicker" value="<?php echo $start_date; ?>" placeholder="mm/dd/yyyy"/>
153
- <label for="end-date"><?php _e( 'End Date:', 'easy-digital-downloads' ); ?></label>
154
- <input type="text" id="end-date" name="end-date" class="edd_datepicker" value="<?php echo $end_date; ?>" placeholder="mm/dd/yyyy"/>
 
 
 
 
155
  </span>
156
  <span id="edd-payment-gateway-filter">
157
  <?php
@@ -174,7 +178,7 @@ class EDD_Payment_History_Table extends WP_List_Table {
174
  <?php if( ! empty( $status ) ) : ?>
175
  <input type="hidden" name="status" value="<?php echo esc_attr( $status ); ?>"/>
176
  <?php endif; ?>
177
- <?php if( ! empty( $start_date ) || ! empty( $end_date ) ) : ?>
178
  <a href="<?php echo admin_url( 'edit.php?post_type=download&page=edd-payment-history' ); ?>" class="button-secondary"><?php _e( 'Clear Filter', 'easy-digital-downloads' ); ?></a>
179
  <?php endif; ?>
180
  <?php do_action( 'edd_payment_advanced_filters_row' ); ?>
148
  ?>
149
  <div id="edd-payment-filters">
150
  <span id="edd-payment-date-filters">
151
+ <span>
152
+ <label for="start-date"><?php _e( 'Start Date:', 'easy-digital-downloads' ); ?></label>
153
+ <input type="text" id="start-date" name="start-date" class="edd_datepicker" value="<?php echo $start_date; ?>" placeholder="mm/dd/yyyy"/>
154
+ </span>
155
+ <span>
156
+ <label for="end-date"><?php _e( 'End Date:', 'easy-digital-downloads' ); ?></label>
157
+ <input type="text" id="end-date" name="end-date" class="edd_datepicker" value="<?php echo $end_date; ?>" placeholder="mm/dd/yyyy"/>
158
+ </span>
159
  </span>
160
  <span id="edd-payment-gateway-filter">
161
  <?php
178
  <?php if( ! empty( $status ) ) : ?>
179
  <input type="hidden" name="status" value="<?php echo esc_attr( $status ); ?>"/>
180
  <?php endif; ?>
181
+ <?php if( ! empty( $start_date ) || ! empty( $end_date ) || 'all' !== $selected_gateway ) : ?>
182
  <a href="<?php echo admin_url( 'edit.php?post_type=download&page=edd-payment-history' ); ?>" class="button-secondary"><?php _e( 'Clear Filter', 'easy-digital-downloads' ); ?></a>
183
  <?php endif; ?>
184
  <?php do_action( 'edd_payment_advanced_filters_row' ); ?>
includes/admin/payments/view-order-details.php CHANGED
@@ -697,23 +697,23 @@ $customer = new EDD_Customer( $payment->customer_id );
697
  <div class="column">
698
  <p>
699
  <strong class="order-data-address-line"><?php _e( 'Street Address Line 1:', 'easy-digital-downloads' ); ?></strong><br/>
700
- <input type="text" name="edd-payment-address[0][line1]" value="<?php echo esc_attr( $address['line1'] ); ?>" class="medium-text" />
701
  </p>
702
  <p>
703
  <strong class="order-data-address-line"><?php _e( 'Street Address Line 2:', 'easy-digital-downloads' ); ?></strong><br/>
704
- <input type="text" name="edd-payment-address[0][line2]" value="<?php echo esc_attr( $address['line2'] ); ?>" class="medium-text" />
705
  </p>
706
 
707
  </div>
708
  <div class="column">
709
  <p>
710
  <strong class="order-data-address-line"><?php echo _x( 'City:', 'Address City', 'easy-digital-downloads' ); ?></strong><br/>
711
- <input type="text" name="edd-payment-address[0][city]" value="<?php echo esc_attr( $address['city'] ); ?>" class="medium-text"/>
712
 
713
  </p>
714
  <p>
715
  <strong class="order-data-address-line"><?php echo _x( 'Zip / Postal Code:', 'Zip / Postal code of address', 'easy-digital-downloads' ); ?></strong><br/>
716
- <input type="text" name="edd-payment-address[0][zip]" value="<?php echo esc_attr( $address['zip'] ); ?>" class="medium-text"/>
717
 
718
  </p>
719
  </div>
@@ -757,7 +757,7 @@ $customer = new EDD_Customer( $payment->customer_id );
757
  ),
758
  ) );
759
  } else { ?>
760
- <input type="text" name="edd-payment-address[0][state]" value="<?php echo esc_attr( $address['state'] ); ?>" class="medium-text"/>
761
  <?php
762
  } ?>
763
  </p>
697
  <div class="column">
698
  <p>
699
  <strong class="order-data-address-line"><?php _e( 'Street Address Line 1:', 'easy-digital-downloads' ); ?></strong><br/>
700
+ <input type="text" name="edd-payment-address[0][line1]" value="<?php echo esc_attr( $address['line1'] ); ?>" class="large-text" />
701
  </p>
702
  <p>
703
  <strong class="order-data-address-line"><?php _e( 'Street Address Line 2:', 'easy-digital-downloads' ); ?></strong><br/>
704
+ <input type="text" name="edd-payment-address[0][line2]" value="<?php echo esc_attr( $address['line2'] ); ?>" class="large-text" />
705
  </p>
706
 
707
  </div>
708
  <div class="column">
709
  <p>
710
  <strong class="order-data-address-line"><?php echo _x( 'City:', 'Address City', 'easy-digital-downloads' ); ?></strong><br/>
711
+ <input type="text" name="edd-payment-address[0][city]" value="<?php echo esc_attr( $address['city'] ); ?>" class="large-text"/>
712
 
713
  </p>
714
  <p>
715
  <strong class="order-data-address-line"><?php echo _x( 'Zip / Postal Code:', 'Zip / Postal code of address', 'easy-digital-downloads' ); ?></strong><br/>
716
+ <input type="text" name="edd-payment-address[0][zip]" value="<?php echo esc_attr( $address['zip'] ); ?>" class="large-text"/>
717
 
718
  </p>
719
  </div>
757
  ),
758
  ) );
759
  } else { ?>
760
+ <input type="text" name="edd-payment-address[0][state]" value="<?php echo esc_attr( $address['state'] ); ?>" class="large-text"/>
761
  <?php
762
  } ?>
763
  </p>
includes/admin/reporting/export/class-batch-export-payments.php CHANGED
@@ -63,7 +63,8 @@ class EDD_Batch_Payments_Export extends EDD_Batch_Export {
63
  'currency' => __( 'Currency', 'easy-digital-downloads' ),
64
  'ip' => __( 'IP Address', 'easy-digital-downloads' ),
65
  'mode' => __( 'Mode (Live|Test)', 'easy-digital-downloads' ),
66
- 'status' => __( 'Status', 'easy-digital-downloads' )
 
67
  );
68
 
69
  if( ! edd_use_skus() ){
@@ -110,9 +111,8 @@ class EDD_Batch_Payments_Export extends EDD_Batch_Export {
110
 
111
  }
112
 
113
- //echo json_encode($args ); exit;
114
-
115
- $payments = edd_get_payments( $args );
116
 
117
  if( $payments ) {
118
 
@@ -231,7 +231,8 @@ class EDD_Batch_Payments_Export extends EDD_Batch_Export {
231
  'currency' => $payment->currency,
232
  'ip' => $payment->ip,
233
  'mode' => $payment->get_meta( '_edd_payment_mode', true ),
234
- 'status' => ( 'publish' === $payment->status ) ? 'complete' : $payment->status
 
235
  );
236
 
237
  }
63
  'currency' => __( 'Currency', 'easy-digital-downloads' ),
64
  'ip' => __( 'IP Address', 'easy-digital-downloads' ),
65
  'mode' => __( 'Mode (Live|Test)', 'easy-digital-downloads' ),
66
+ 'status' => __( 'Status', 'easy-digital-downloads' ),
67
+ 'country_name' => __( 'Country Name', 'easy-digital-downloads' ),
68
  );
69
 
70
  if( ! edd_use_skus() ){
111
 
112
  }
113
 
114
+ $payments = edd_get_payments( $args );
115
+ $countries = edd_get_country();
 
116
 
117
  if( $payments ) {
118
 
231
  'currency' => $payment->currency,
232
  'ip' => $payment->ip,
233
  'mode' => $payment->get_meta( '_edd_payment_mode', true ),
234
+ 'status' => ( 'publish' === $payment->status ) ? 'complete' : $payment->status,
235
+ 'country_name' => isset( $user_info['address']['country'] ) ? edd_get_country_name( $user_info['address']['country'] ) : '',
236
  );
237
 
238
  }
includes/admin/reporting/export/class-batch-export-sales.php CHANGED
@@ -37,12 +37,13 @@ class EDD_Batch_Sales_Export extends EDD_Batch_Export {
37
  */
38
  public function csv_cols() {
39
  $cols = array(
40
- 'ID' => __( 'Log ID', 'easy-digital-downloads' ),
41
- 'user_id' => __( 'User', 'easy-digital-downloads' ),
42
- 'download' => edd_get_label_singular(),
43
- 'amount' => __( 'Item Amount', 'easy-digital-downloads' ),
44
- 'payment_id' => __( 'Payment ID', 'easy-digital-downloads' ),
45
- 'date' => __( 'Date', 'easy-digital-downloads' ),
 
46
  );
47
 
48
  return $cols;
@@ -114,12 +115,13 @@ class EDD_Batch_Sales_Export extends EDD_Batch_Export {
114
  }
115
  }
116
  $data[] = array(
117
- 'ID' => $log->ID,
118
- 'user_id' => $customer->user_id,
119
- 'download' => $download->post_title,
120
- 'amount' => $amount,
121
- 'payment_id' => $payment->ID,
122
- 'date' => get_post_field( 'post_date', $payment_id ),
 
123
  );
124
  }
125
 
37
  */
38
  public function csv_cols() {
39
  $cols = array(
40
+ 'ID' => __( 'Log ID', 'easy-digital-downloads' ),
41
+ 'user_id' => __( 'User', 'easy-digital-downloads' ),
42
+ 'customer_id' => __( 'Customer ID', 'easy-digital-downloads' ),
43
+ 'download' => edd_get_label_singular(),
44
+ 'amount' => __( 'Item Amount', 'easy-digital-downloads' ),
45
+ 'payment_id' => __( 'Payment ID', 'easy-digital-downloads' ),
46
+ 'date' => __( 'Date', 'easy-digital-downloads' ),
47
  );
48
 
49
  return $cols;
115
  }
116
  }
117
  $data[] = array(
118
+ 'ID' => $log->ID,
119
+ 'user_id' => $customer->user_id,
120
+ 'customer_id' => $customer->id,
121
+ 'download' => $download->post_title,
122
+ 'amount' => $amount,
123
+ 'payment_id' => $payment->ID,
124
+ 'date' => get_post_field( 'post_date', $payment_id ),
125
  );
126
  }
127
 
includes/admin/settings/register-settings.php CHANGED
@@ -241,6 +241,9 @@ function edd_get_registered_settings() {
241
  * 'Whitelisted' EDD settings, filters are provided for each settings
242
  * section to allow extensions and other plugins to add their own settings
243
  */
 
 
 
244
  $edd_settings = array(
245
  /** General Settings */
246
  'general' => apply_filters( 'edd_settings_general',
@@ -325,6 +328,7 @@ function edd_get_registered_settings() {
325
  'type' => 'shop_states',
326
  'chosen' => true,
327
  'placeholder' => __( 'Select a state', 'easy-digital-downloads' ),
 
328
  ),
329
  'tracking_settings' => array(
330
  'id' => 'tracking_settings',
@@ -668,6 +672,12 @@ function edd_get_registered_settings() {
668
  'desc' => sprintf(__('Allow quantities to be adjusted when adding %s to the cart, and while viewing the checkout cart.','easy-digital-downloads' ), edd_get_label_plural( true ) ),
669
  'type' => 'checkbox',
670
  ),
 
 
 
 
 
 
671
  'uninstall_on_delete' => array(
672
  'id' => 'uninstall_on_delete',
673
  'name' => __( 'Remove Data on Uninstall?', 'easy-digital-downloads' ),
@@ -1414,7 +1424,7 @@ function edd_payment_icons_callback( $args ) {
1414
  $enabled = NULL;
1415
  }
1416
 
1417
- $html .= '<label for="edd_settings[' . edd_sanitize_key( $args['id'] ) . '][' . edd_sanitize_key( $key ) . ']" style="margin-right:10px;line-height:16px;height:16px;display:inline-block;">';
1418
 
1419
  $html .= '<input name="edd_settings[' . edd_sanitize_key( $args['id'] ) . '][' . edd_sanitize_key( $key ) . ']" id="edd_settings[' . edd_sanitize_key( $args['id'] ) . '][' . edd_sanitize_key( $key ) . ']" class="' . $class . '" type="checkbox" value="' . esc_attr( $option ) . '" ' . checked( $option, $enabled, false ) . '/>&nbsp;';
1420
 
241
  * 'Whitelisted' EDD settings, filters are provided for each settings
242
  * section to allow extensions and other plugins to add their own settings
243
  */
244
+
245
+ $shop_states = edd_get_shop_states( edd_get_shop_country() );
246
+
247
  $edd_settings = array(
248
  /** General Settings */
249
  'general' => apply_filters( 'edd_settings_general',
328
  'type' => 'shop_states',
329
  'chosen' => true,
330
  'placeholder' => __( 'Select a state', 'easy-digital-downloads' ),
331
+ 'class' => ( empty( $shop_states ) ) ? 'hidden' : '',
332
  ),
333
  'tracking_settings' => array(
334
  'id' => 'tracking_settings',
672
  'desc' => sprintf(__('Allow quantities to be adjusted when adding %s to the cart, and while viewing the checkout cart.','easy-digital-downloads' ), edd_get_label_plural( true ) ),
673
  'type' => 'checkbox',
674
  ),
675
+ 'debug_mode' => array(
676
+ 'id' => 'debug_mode',
677
+ 'name' => __( 'Debug Mode', 'easy-digital-downloads' ),
678
+ 'desc' => __( 'Check this box to enable debug mode. When enabled, debug messages will be logged and shown in Downloads &rarr; Tools &rarr; Debug Log.', 'easy-digital-downloads' ),
679
+ 'type' => 'checkbox',
680
+ ),
681
  'uninstall_on_delete' => array(
682
  'id' => 'uninstall_on_delete',
683
  'name' => __( 'Remove Data on Uninstall?', 'easy-digital-downloads' ),
1424
  $enabled = NULL;
1425
  }
1426
 
1427
+ $html .= '<label for="edd_settings[' . edd_sanitize_key( $args['id'] ) . '][' . edd_sanitize_key( $key ) . ']" class="edd-settings-payment-icon-wrapper">';
1428
 
1429
  $html .= '<input name="edd_settings[' . edd_sanitize_key( $args['id'] ) . '][' . edd_sanitize_key( $key ) . ']" id="edd_settings[' . edd_sanitize_key( $args['id'] ) . '][' . edd_sanitize_key( $key ) . ']" class="' . $class . '" type="checkbox" value="' . esc_attr( $option ) . '" ' . checked( $option, $enabled, false ) . '/>&nbsp;';
1430
 
includes/admin/tools.php CHANGED
@@ -73,6 +73,11 @@ function edd_get_tools_tabs() {
73
  }
74
 
75
  $tabs['system_info'] = __( 'System Info', 'easy-digital-downloads' );
 
 
 
 
 
76
  $tabs['import_export'] = __( 'Import/Export', 'easy-digital-downloads' );
77
 
78
  return apply_filters( 'edd_tools_tabs', $tabs );
@@ -1055,6 +1060,78 @@ function edd_tools_import_export_process_import() {
1055
  add_action( 'edd_import_settings', 'edd_tools_import_export_process_import' );
1056
 
1057
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1058
  /**
1059
  * Display the system info tab
1060
  *
73
  }
74
 
75
  $tabs['system_info'] = __( 'System Info', 'easy-digital-downloads' );
76
+
77
+ if( edd_is_debug_mode() ) {
78
+ $tabs['debug_log'] = __( 'Debug Log', 'easy-digital-downloads' );
79
+ }
80
+
81
  $tabs['import_export'] = __( 'Import/Export', 'easy-digital-downloads' );
82
 
83
  return apply_filters( 'edd_tools_tabs', $tabs );
1060
  add_action( 'edd_import_settings', 'edd_tools_import_export_process_import' );
1061
 
1062
 
1063
+ /**
1064
+ * Display the debug log tab
1065
+ *
1066
+ * @since 2.8.7
1067
+ * @return void
1068
+ */
1069
+ function edd_tools_debug_log_display() {
1070
+
1071
+ global $edd_logs;
1072
+
1073
+ if( ! current_user_can( 'manage_shop_settings' ) || ! edd_is_debug_mode() ) {
1074
+ return;
1075
+ }
1076
+
1077
+ ?>
1078
+ <div class="postbox">
1079
+ <h3><span><?php esc_html_e( 'Debug Log', 'easy-digital-downloads' ); ?></span></h3>
1080
+ <div class="inside">
1081
+ <form id="edd-debug-log" method="post">
1082
+ <p><?php _e( 'Use this tool to help debug Easy Digital Downloads functionality. Developers may use the <a href="https://github.com/easydigitaldownloads/easy-digital-downloads/blob/master/includes/class-edd-logging.php">EDD_Logging class</a> to record debug data.', 'easy-digital-downloads' ); ?></p>
1083
+ <textarea readonly="readonly" onclick="this.focus(); this.select()" class="large-text" rows="15" name="edd-debug-log-contents"><?php echo esc_textarea( $edd_logs->get_file_contents() ); ?></textarea>
1084
+ <p class="submit">
1085
+ <input type="hidden" name="edd_action" value="submit_debug_log" />
1086
+ <?php
1087
+ submit_button( __( 'Download Debug Log File', 'easy-digital-downloads' ), 'primary', 'edd-download-debug-log', false );
1088
+ submit_button( __( 'Clear Log', 'easy-digital-downloads' ), 'secondary edd-inline-button', 'edd-clear-debug-log', false );
1089
+ ?>
1090
+ </p>
1091
+ <?php wp_nonce_field( 'edd-debug-log-action' ); ?>
1092
+ </form>
1093
+ </div><!-- .inside -->
1094
+ </div><!-- .postbox -->
1095
+ <?php
1096
+ }
1097
+ add_action( 'edd_tools_tab_debug_log', 'edd_tools_debug_log_display' );
1098
+
1099
+ /**
1100
+ * Handles submit actions for the debug log.
1101
+ *
1102
+ * @since 2.8.7
1103
+ */
1104
+ function edd_handle_submit_debug_log() {
1105
+
1106
+ global $edd_logs;
1107
+
1108
+ if ( ! current_user_can( 'manage_shop_settings' ) ) {
1109
+ return;
1110
+ }
1111
+
1112
+ check_admin_referer( 'edd-debug-log-action' );
1113
+
1114
+ if ( isset( $_REQUEST['edd-download-debug-log'] ) ) {
1115
+ nocache_headers();
1116
+
1117
+ header( 'Content-Type: text/plain' );
1118
+ header( 'Content-Disposition: attachment; filename="edd-debug-log.txt"' );
1119
+
1120
+ echo wp_strip_all_tags( $_REQUEST['edd-debug-log-contents'] );
1121
+ exit;
1122
+
1123
+ } elseif ( isset( $_REQUEST['edd-clear-debug-log'] ) ) {
1124
+
1125
+ // Clear the debug log.
1126
+ $edd_logs->clear_log_file();
1127
+
1128
+ wp_safe_redirect( admin_url( 'edit.php?post_type=download&page=edd-tools&tab=debug_log' ) );
1129
+ exit;
1130
+
1131
+ }
1132
+ }
1133
+ add_action( 'edd_submit_debug_log', 'edd_handle_submit_debug_log' );
1134
+
1135
  /**
1136
  * Display the system info tab
1137
  *
includes/cart/class-edd-cart.php CHANGED
@@ -238,7 +238,7 @@ class EDD_Cart {
238
  $discount = apply_filters( 'edd_get_cart_content_details_item_discount_amount', $discount, $item );
239
  $quantity = $this->get_item_quantity( $item['id'], $options );
240
  $fees = $this->get_fees( 'fee', $item['id'], $price_id );
241
- $subtotal = $item_price * $quantity;
242
 
243
  // Subtotal for tax calculation must exclude fees that are greater than 0. See $this->get_tax_on_fees()
244
  $subtotal_for_tax = $subtotal;
@@ -844,7 +844,7 @@ class EDD_Cart {
844
  $quantity = 1;
845
  }
846
 
847
- return apply_filters( 'edd_get_cart_item_quantity', $quantity, $download_id, $options );
848
  }
849
 
850
  /**
238
  $discount = apply_filters( 'edd_get_cart_content_details_item_discount_amount', $discount, $item );
239
  $quantity = $this->get_item_quantity( $item['id'], $options );
240
  $fees = $this->get_fees( 'fee', $item['id'], $price_id );
241
+ $subtotal = floatval( $item_price ) * $quantity;
242
 
243
  // Subtotal for tax calculation must exclude fees that are greater than 0. See $this->get_tax_on_fees()
244
  $subtotal_for_tax = $subtotal;
844
  $quantity = 1;
845
  }
846
 
847
+ return absint( apply_filters( 'edd_get_cart_item_quantity', $quantity, $download_id, $options ) );
848
  }
849
 
850
  /**
includes/checkout/template.php CHANGED
@@ -745,8 +745,10 @@ function edd_discount_field() {
745
  <?php _e( 'Discount', 'easy-digital-downloads' ); ?>
746
  </label>
747
  <span class="edd-description"><?php _e( 'Enter a coupon code if you have one.', 'easy-digital-downloads' ); ?></span>
748
- <input class="edd-input" type="text" id="edd-discount" name="edd-discount" placeholder="<?php _e( 'Enter discount', 'easy-digital-downloads' ); ?>"/>
749
- <input type="submit" class="edd-apply-discount edd-submit button <?php echo $color . ' ' . $style; ?>" value="<?php echo _x( 'Apply', 'Apply discount at checkout', 'easy-digital-downloads' ); ?>"/>
 
 
750
  <span class="edd-discount-loader edd-loading" id="edd-discount-loader" style="display:none;"></span>
751
  <span id="edd-discount-error-wrap" class="edd_error edd-alert edd-alert-error" aria-hidden="true" style="display:none;"></span>
752
  </p>
745
  <?php _e( 'Discount', 'easy-digital-downloads' ); ?>
746
  </label>
747
  <span class="edd-description"><?php _e( 'Enter a coupon code if you have one.', 'easy-digital-downloads' ); ?></span>
748
+ <span class="edd-discount-code-field-wrap">
749
+ <input class="edd-input" type="text" id="edd-discount" name="edd-discount" placeholder="<?php _e( 'Enter discount', 'easy-digital-downloads' ); ?>"/>
750
+ <input type="submit" class="edd-apply-discount edd-submit button <?php echo $color . ' ' . $style; ?>" value="<?php echo _x( 'Apply', 'Apply discount at checkout', 'easy-digital-downloads' ); ?>"/>
751
+ </span>
752
  <span class="edd-discount-loader edd-loading" id="edd-discount-loader" style="display:none;"></span>
753
  <span id="edd-discount-error-wrap" class="edd_error edd-alert edd-alert-error" aria-hidden="true" style="display:none;"></span>
754
  </p>
includes/class-edd-cli.php CHANGED
@@ -495,7 +495,7 @@ class EDD_CLI extends WP_CLI_Command {
495
  *
496
  * ## EXAMPLES
497
  *
498
- * wp edd payments create --number=10 --status=completed
499
  * wp edd payments create --number=10 --id=103
500
  */
501
  public function payments( $args, $assoc_args ) {
495
  *
496
  * ## EXAMPLES
497
  *
498
+ * wp edd payments create --number=10 --status=complete
499
  * wp edd payments create --number=10 --id=103
500
  */
501
  public function payments( $args, $assoc_args ) {
includes/class-edd-customer.php CHANGED
@@ -156,6 +156,14 @@ class EDD_Customer {
156
  $this->$key = $this->get_notes();
157
  break;
158
 
 
 
 
 
 
 
 
 
159
  default:
160
  $this->$key = $value;
161
  break;
@@ -650,8 +658,7 @@ class EDD_Customer {
650
  * @return mixed If successful, the new value, otherwise false
651
  */
652
  public function increase_value( $value = 0.00 ) {
653
- $value = apply_filters( 'edd_customer_increase_value', $value, $this );
654
-
655
  $new_value = floatval( $this->purchase_value ) + $value;
656
 
657
  do_action( 'edd_customer_pre_increase_value', $value, $this->id, $this );
156
  $this->$key = $this->get_notes();
157
  break;
158
 
159
+ case 'purchase_value':
160
+ $this->$key = floatval( $value );
161
+ break;
162
+
163
+ case 'purchase_count':
164
+ $this->$key = absint( $value );
165
+ break;
166
+
167
  default:
168
  $this->$key = $value;
169
  break;
658
  * @return mixed If successful, the new value, otherwise false
659
  */
660
  public function increase_value( $value = 0.00 ) {
661
+ $value = floatval( apply_filters( 'edd_customer_increase_value', $value, $this ) );
 
662
  $new_value = floatval( $this->purchase_value ) + $value;
663
 
664
  do_action( 'edd_customer_pre_increase_value', $value, $this->id, $this );
includes/class-edd-discount.php CHANGED
@@ -1155,6 +1155,9 @@ class EDD_Discount {
1155
  }
1156
 
1157
  if ( true == $saved ) {
 
 
 
1158
  $this->setup_discount( WP_Post::get_instance( $this->ID ) );
1159
 
1160
  /**
1155
  }
1156
 
1157
  if ( true == $saved ) {
1158
+ global $edd_get_discounts_cache;
1159
+ $edd_get_discounts_cache = array();
1160
+
1161
  $this->setup_discount( WP_Post::get_instance( $this->ID ) );
1162
 
1163
  /**
includes/class-edd-html-elements.php CHANGED
@@ -89,14 +89,32 @@ class EDD_HTML_Elements {
89
 
90
  $product_args = apply_filters( 'edd_product_dropdown_args', $product_args );
91
 
 
92
  $products = get_posts( $product_args );
93
  $existing_ids = wp_list_pluck( $products, 'ID' );
94
  if ( ! empty( $args['selected'] ) ) {
95
- $selected_item = absint( $args['selected'] );
96
- if ( ! in_array( $selected_item, $existing_ids ) ) {
97
- $post = get_post( $selected_item );
98
- $products[] = $post;
99
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
100
  }
101
 
102
  $options = array();
@@ -107,10 +125,9 @@ class EDD_HTML_Elements {
107
  if ( $args['variations'] && edd_has_variable_prices( $product->ID ) ) {
108
  $prices = edd_get_variable_prices( $product->ID );
109
  foreach ( $prices as $key => $value ) {
110
- $name = ! empty( $value['name'] ) ? $value['name'] : '';
111
- $index = ! empty( $value['index'] ) ? $value['index'] : $key;
112
- if ( $name && $index ) {
113
- $options[ absint( $product->ID ) . '_' . $index ] = esc_html( $product->post_title . ': ' . $name );
114
  }
115
  }
116
  }
@@ -131,12 +148,11 @@ class EDD_HTML_Elements {
131
  $prices = edd_get_variable_prices( (int) $parsed_item['download_id'] );
132
  foreach ( $prices as $key => $value ) {
133
 
134
- $name = isset( $value['name'] ) ? $value['name'] : '';
135
- $index = isset( $value['index'] ) ? $value['index'] : $key;
136
 
137
- if ( $name && $index && (int) $parsed_item['price_id'] === (int) $index ) {
138
 
139
- $options[ absint( $product->ID ) . '_' . $index ] = esc_html( get_the_title( (int) $parsed_item['download_id'] ) . ': ' . $name );
140
 
141
  }
142
 
@@ -162,12 +178,11 @@ class EDD_HTML_Elements {
162
 
163
  foreach ( $prices as $key => $value ) {
164
 
165
- $name = isset( $value['name'] ) ? $value['name'] : '';
166
- $index = isset( $value['index'] ) ? $value['index'] : $key;
167
 
168
- if ( $name && $index && (int) $parsed_item['price_id'] === (int) $index ) {
169
 
170
- $options[ absint( $product->ID ) . '_' . $index ] = esc_html( get_the_title( (int) $parsed_item['download_id'] ) . ': ' . $name );
171
 
172
  }
173
 
89
 
90
  $product_args = apply_filters( 'edd_product_dropdown_args', $product_args );
91
 
92
+ // Since it's possible to have selected items not within the queried limit, we need to include the selected items.
93
  $products = get_posts( $product_args );
94
  $existing_ids = wp_list_pluck( $products, 'ID' );
95
  if ( ! empty( $args['selected'] ) ) {
96
+
97
+ $selected_items = $args['selected'];
98
+ if ( ! is_array( $selected_items ) ) {
99
+ $selected_items = array( $selected_items );
100
  }
101
+
102
+ foreach ( $selected_items as $selected_item ) {
103
+ if ( ! in_array( $selected_item, $existing_ids ) ) {
104
+
105
+ // If the selected item has a variation, we just need the product ID.
106
+ $has_variation = strpos( $selected_item, '_' );
107
+ if ( false !== $has_variation ) {
108
+ $selected_item = substr( $selected_item, 0, $has_variation );
109
+ }
110
+
111
+ $post = get_post( $selected_item );
112
+ if ( ! is_null( $post ) ) {
113
+ $products[] = $post;
114
+ }
115
+ }
116
+ }
117
+
118
  }
119
 
120
  $options = array();
125
  if ( $args['variations'] && edd_has_variable_prices( $product->ID ) ) {
126
  $prices = edd_get_variable_prices( $product->ID );
127
  foreach ( $prices as $key => $value ) {
128
+ $name = ! empty( $value['name'] ) ? $value['name'] : '';
129
+ if ( $name ) {
130
+ $options[ absint( $product->ID ) . '_' . $key ] = esc_html( $product->post_title . ': ' . $name );
 
131
  }
132
  }
133
  }
148
  $prices = edd_get_variable_prices( (int) $parsed_item['download_id'] );
149
  foreach ( $prices as $key => $value ) {
150
 
151
+ $name = ( isset( $value['name'] ) && ! empty( $value['name'] ) ) ? $value['name'] : '';
 
152
 
153
+ if ( $name && (int) $parsed_item['price_id'] === (int) $key ) {
154
 
155
+ $options[ absint( $product->ID ) . '_' . $key ] = esc_html( get_the_title( (int) $parsed_item['download_id'] ) . ': ' . $name );
156
 
157
  }
158
 
178
 
179
  foreach ( $prices as $key => $value ) {
180
 
181
+ $name = ( isset( $value['name'] ) && ! empty( $value['name'] ) ) ? $value['name'] : '';
 
182
 
183
+ if ( $name && (int) $parsed_item['price_id'] === (int) $key ) {
184
 
185
+ $options[ absint( $product->ID ) . '_' . $key ] = esc_html( get_the_title( (int) $parsed_item['download_id'] ) . ': ' . $name );
186
 
187
  }
188
 
includes/class-edd-logging.php CHANGED
@@ -21,18 +21,43 @@ if ( ! defined( 'ABSPATH' ) ) exit;
21
  */
22
  class EDD_Logging {
23
 
 
 
 
 
24
  /**
25
  * Set up the EDD Logging Class
26
  *
27
  * @since 1.3.1
28
  */
29
  public function __construct() {
 
30
  // Create the log post type
31
  add_action( 'init', array( $this, 'register_post_type' ), 1 );
32
 
33
  // Create types taxonomy and default types
34
  add_action( 'init', array( $this, 'register_taxonomy' ), 1 );
35
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  }
37
 
38
  /**
@@ -350,6 +375,108 @@ class EDD_Logging {
350
  }
351
  }
352
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
353
  }
354
 
355
  // Initiate the logging system
@@ -378,3 +505,23 @@ function edd_record_log( $title = '', $message = '', $parent = 0, $type = null )
378
  $log = $edd_logs->add( $title, $message, $parent, $type );
379
  return $log;
380
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  */
22
  class EDD_Logging {
23
 
24
+ public $is_writable = true;
25
+ private $filename = '';
26
+ private $file = '';
27
+
28
  /**
29
  * Set up the EDD Logging Class
30
  *
31
  * @since 1.3.1
32
  */
33
  public function __construct() {
34
+
35
  // Create the log post type
36
  add_action( 'init', array( $this, 'register_post_type' ), 1 );
37
 
38
  // Create types taxonomy and default types
39
  add_action( 'init', array( $this, 'register_taxonomy' ), 1 );
40
 
41
+ add_action( 'plugins_loaded', array( $this, 'setup_log_file' ), 0 );
42
+
43
+ }
44
+
45
+ /**
46
+ * Sets up the log file if it is writable
47
+ *
48
+ * @since 2.8.7
49
+ * @return void
50
+ */
51
+ public function setup_log_file() {
52
+
53
+ $upload_dir = wp_upload_dir();
54
+ $this->filename = wp_hash( home_url( '/' ) ) . '-edd-debug.log';
55
+ $this->file = trailingslashit( $upload_dir['basedir'] ) . $this->filename;
56
+
57
+ if ( ! is_writeable( $upload_dir['basedir'] ) ) {
58
+ $this->is_writable = false;
59
+ }
60
+
61
  }
62
 
63
  /**
375
  }
376
  }
377
 
378
+ /**
379
+ * Retrieve the log data
380
+ *
381
+ * @since 2.8.7
382
+ * @return string
383
+ */
384
+ public function get_file_contents() {
385
+ return $this->get_file();
386
+ }
387
+
388
+ /**
389
+ * Log message to file
390
+ *
391
+ * @since 2.8.7
392
+ * @return void
393
+ */
394
+ public function log_to_file( $message = '' ) {
395
+ $message = date( 'Y-n-d H:i:s' ) . ' - ' . $message . "\r\n";
396
+ $this->write_to_log( $message );
397
+
398
+ }
399
+
400
+ /**
401
+ * Retrieve the file data is written to
402
+ *
403
+ * @since 2.8.7
404
+ * @return string
405
+ */
406
+ protected function get_file() {
407
+
408
+ $file = '';
409
+
410
+ if ( @file_exists( $this->file ) ) {
411
+
412
+ if ( ! is_writeable( $this->file ) ) {
413
+ $this->is_writable = false;
414
+ }
415
+
416
+ $file = @file_get_contents( $this->file );
417
+
418
+ } else {
419
+
420
+ @file_put_contents( $this->file, '' );
421
+ @chmod( $this->file, 0664 );
422
+
423
+ }
424
+
425
+ return $file;
426
+ }
427
+
428
+ /**
429
+ * Write the log message
430
+ *
431
+ * @since 2.8.7
432
+ * @return void
433
+ */
434
+ protected function write_to_log( $message = '' ) {
435
+ $file = $this->get_file();
436
+ $file .= $message;
437
+ @file_put_contents( $this->file, $file );
438
+ }
439
+
440
+ /**
441
+ * Delete the log file or removes all contents in the log file if we cannot delete it
442
+ *
443
+ * @since 2.8.7
444
+ * @return void
445
+ */
446
+ public function clear_log_file() {
447
+ @unlink( $this->file );
448
+
449
+ if ( file_exists( $this->file ) ) {
450
+
451
+ // it's still there, so maybe server doesn't have delete rights
452
+ chmod( $this->file, 0664 ); // Try to give the server delete rights
453
+ @unlink( $this->file );
454
+
455
+ // See if it's still there
456
+ if ( @file_exists( $this->file ) ) {
457
+
458
+ /*
459
+ * Remove all contents of the log file if we cannot delete it
460
+ */
461
+ if ( is_writeable( $this->file ) ) {
462
+
463
+ file_put_contents( $this->file, '' );
464
+
465
+ } else {
466
+
467
+ return false;
468
+
469
+ }
470
+
471
+ }
472
+
473
+ }
474
+
475
+ $this->file = '';
476
+ return true;
477
+
478
+ }
479
+
480
  }
481
 
482
  // Initiate the logging system
505
  $log = $edd_logs->add( $title, $message, $parent, $type );
506
  return $log;
507
  }
508
+
509
+
510
+ /**
511
+ * Logs a message to the debug log file
512
+ *
513
+ * @since 2.8.7
514
+ *
515
+ * @param string $message
516
+ * @global $edd_logs EDD Logs Object
517
+ * @return void
518
+ */
519
+ function edd_debug_log( $message = '' ) {
520
+ global $edd_logs;
521
+
522
+ if( edd_is_debug_mode() ) {
523
+
524
+ $edd_logs->log_to_file( $message );
525
+
526
+ }
527
+ }
includes/country-functions.php CHANGED
@@ -1658,3 +1658,18 @@ function edd_get_spain_states_list() {
1658
  return apply_filters( 'edd_spain_states', $states );
1659
  }
1660
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1658
  return apply_filters( 'edd_spain_states', $states );
1659
  }
1660
 
1661
+ /**
1662
+ * Given a country code, return the country name
1663
+ *
1664
+ * @since 2.8.7
1665
+ * @param string $country_code The ISO Code for the country
1666
+ *
1667
+ * @return string
1668
+ */
1669
+ function edd_get_country_name( $country_code = '' ) {
1670
+ $country_list = edd_get_country_list();
1671
+ $country_name = isset( $country_list[ $country_code ] ) ? $country_list[ $country_code ] : $country_code;
1672
+
1673
+ return apply_filters( 'edd_get_country_name', $country_name, $country_code );
1674
+ }
1675
+
includes/discount-functions.php CHANGED
@@ -32,19 +32,32 @@ function edd_get_discounts( $args = array() ) {
32
 
33
  $args = wp_parse_args( $args, $defaults );
34
 
35
- $discounts = get_posts( $args );
 
 
 
 
 
 
36
 
37
  if ( $discounts ) {
38
  return $discounts;
39
  }
40
 
 
41
  if( ! $discounts && ! empty( $args['s'] ) ) {
42
- // If no discounts are found and we are searching, re-query with a meta key to find discounts by code
43
  $args['meta_key'] = '_edd_discount_code';
44
  $args['meta_value'] = $args['s'];
45
  $args['meta_compare'] = 'LIKE';
46
  unset( $args['s'] );
47
- $discounts = get_posts( $args );
 
 
 
 
 
 
 
48
  }
49
 
50
  if( $discounts ) {
@@ -116,10 +129,10 @@ function edd_get_discount( $discount_id = 0 ) {
116
  * @since 2.7 Updated to use EDD_Discount object
117
  *
118
  * @param string $code Discount code.
119
- * @return mixed object|bool EDD_Discount object or false if not found.
120
  */
121
  function edd_get_discount_by_code( $code = '' ) {
122
- $discount = new EDD_Discount( $code, true );
123
 
124
  if ( ! $discount->ID > 0 ) {
125
  return false;
@@ -183,20 +196,28 @@ function edd_get_discount_by( $field = '', $value = '' ) {
183
  * @return mixed bool|int The discount ID of the discount code, or false on failure.
184
  */
185
  function edd_store_discount( $details, $discount_id = null ) {
 
 
186
  if ( null == $discount_id ) {
187
  $discount = new EDD_Discount;
188
  $discount->add( $details );
189
 
190
  if ( ! empty( $discount->ID ) ) {
191
- return $discount->ID;
192
  }
193
  } else {
194
  $discount = new EDD_Discount( $discount_id );
195
  $discount->update( $details );
196
- return $discount->ID;
197
  }
198
 
199
- return false;
 
 
 
 
 
 
200
  }
201
 
202
  /**
@@ -1055,6 +1076,47 @@ function edd_discount_status_cleanup() {
1055
  }
1056
 
1057
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1058
  /**
1059
  * Disabled until https://github.com/easydigitaldownloads/easy-digital-downloads/issues/5619 is completed
1060
  * See https://github.com/easydigitaldownloads/easy-digital-downloads/issues/5631
32
 
33
  $args = wp_parse_args( $args, $defaults );
34
 
35
+ $discounts_hash = md5( json_encode( $args ) );
36
+ $discounts = edd_get_discounts_cache( $discounts_hash );
37
+
38
+ if ( false === $discounts ) {
39
+ $discounts = get_posts( $args );
40
+ edd_set_discounts_cache( $discounts_hash, $discounts );
41
+ }
42
 
43
  if ( $discounts ) {
44
  return $discounts;
45
  }
46
 
47
+ // If no discounts are found and we are searching, re-query with a meta key to find discounts by code
48
  if( ! $discounts && ! empty( $args['s'] ) ) {
 
49
  $args['meta_key'] = '_edd_discount_code';
50
  $args['meta_value'] = $args['s'];
51
  $args['meta_compare'] = 'LIKE';
52
  unset( $args['s'] );
53
+
54
+ $discounts_hash = md5( json_encode( $args ) );
55
+ $discounts = edd_get_discounts_cache( $discounts_hash );
56
+
57
+ if ( false === $discounts ) {
58
+ $discounts = get_posts( $args );
59
+ edd_set_discounts_cache( $discounts_hash, $discounts );
60
+ }
61
  }
62
 
63
  if( $discounts ) {
129
  * @since 2.7 Updated to use EDD_Discount object
130
  *
131
  * @param string $code Discount code.
132
+ * @return EDD_Discount|bool EDD_Discount object or false if not found.
133
  */
134
  function edd_get_discount_by_code( $code = '' ) {
135
+ $discount = new EDD_Discount( $code, true );
136
 
137
  if ( ! $discount->ID > 0 ) {
138
  return false;
196
  * @return mixed bool|int The discount ID of the discount code, or false on failure.
197
  */
198
  function edd_store_discount( $details, $discount_id = null ) {
199
+ $return = false;
200
+
201
  if ( null == $discount_id ) {
202
  $discount = new EDD_Discount;
203
  $discount->add( $details );
204
 
205
  if ( ! empty( $discount->ID ) ) {
206
+ $return = $discount->ID;
207
  }
208
  } else {
209
  $discount = new EDD_Discount( $discount_id );
210
  $discount->update( $details );
211
+ $return = $discount->ID;
212
  }
213
 
214
+ // If we stored a discount, we need to clear the edd_get_discounts_cache global.
215
+ if ( false !== $return ) {
216
+ global $edd_get_discounts_cache;
217
+ $edd_get_discounts_cache = array();
218
+ }
219
+
220
+ return $return;
221
  }
222
 
223
  /**
1076
  }
1077
 
1078
  }
1079
+
1080
+ /**
1081
+ * Check to see if this set of discounts has been queried for already.
1082
+ *
1083
+ * @since 2.8.7
1084
+ * @param $hash string The hash of the edd_get_discount args.
1085
+ *
1086
+ * @return bool|mixed Found discounts if already queried, or false if it has not been queried yet.
1087
+ */
1088
+ function edd_get_discounts_cache( $hash ) {
1089
+ global $edd_get_discounts_cache;
1090
+
1091
+ if ( ! is_array( $edd_get_discounts_cache ) ) {
1092
+ $edd_get_discounts_cache = array();
1093
+ }
1094
+
1095
+ if ( ! isset( $edd_get_discounts_cache[ $hash ] ) ) {
1096
+ return false;
1097
+ }
1098
+
1099
+ return $edd_get_discounts_cache[ $hash ];
1100
+ }
1101
+
1102
+ /**
1103
+ * Store found discounts with the hash.
1104
+ * This is a non-persistent cache and uses a PHP global.
1105
+ *
1106
+ * @since 2.8.7
1107
+ * @param $hash string The hash of the arguments from edd_get_discounts.
1108
+ * @param $data array The data to store for this hash.
1109
+ */
1110
+ function edd_set_discounts_cache( $hash, $data ) {
1111
+ global $edd_get_discounts_cache;
1112
+
1113
+ if ( ! is_array( $edd_get_discounts_cache ) ) {
1114
+ $edd_get_discounts_cache = array();
1115
+ }
1116
+
1117
+ $edd_get_discounts_cache[ $hash ] = $data;
1118
+ }
1119
+
1120
  /**
1121
  * Disabled until https://github.com/easydigitaldownloads/easy-digital-downloads/issues/5619 is completed
1122
  * See https://github.com/easydigitaldownloads/easy-digital-downloads/issues/5631
includes/misc-functions.php CHANGED
@@ -23,6 +23,20 @@ function edd_is_test_mode() {
23
  return (bool) apply_filters( 'edd_is_test_mode', $ret );
24
  }
25
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  /**
27
  * Checks if Guest checkout is enabled
28
  *
@@ -596,7 +610,7 @@ function edd_is_func_disabled( $function ) {
596
  * @author Chris Christoff
597
  *
598
  * @param unknown $v
599
- * @return int|string
600
  */
601
  function edd_let_to_num( $v ) {
602
  $l = substr( $v, -1 );
@@ -614,7 +628,7 @@ function edd_let_to_num( $v ) {
614
  break;
615
  }
616
 
617
- return $ret;
618
  }
619
 
620
  /**
23
  return (bool) apply_filters( 'edd_is_test_mode', $ret );
24
  }
25
 
26
+ /**
27
+ * Is Debug Mode
28
+ *
29
+ * @since 2.8.7
30
+ * @return bool $ret True if debug mode is enabled, false otherwise
31
+ */
32
+ function edd_is_debug_mode() {
33
+ $ret = edd_get_option( 'debug_mode', false );
34
+ if( defined( 'EDD_DEBUG_MODE' ) && EDD_DEBUG_MODE ) {
35
+ $ret = true;
36
+ }
37
+ return (bool) apply_filters( 'edd_is_debug_mode', $ret );
38
+ }
39
+
40
  /**
41
  * Checks if Guest checkout is enabled
42
  *
610
  * @author Chris Christoff
611
  *
612
  * @param unknown $v
613
+ * @return int
614
  */
615
  function edd_let_to_num( $v ) {
616
  $l = substr( $v, -1 );
628
  break;
629
  }
630
 
631
+ return (int) $ret;
632
  }
633
 
634
  /**
includes/payments/class-edd-payment.php CHANGED
@@ -97,6 +97,14 @@ class EDD_Payment {
97
  */
98
  protected $tax = 0;
99
 
 
 
 
 
 
 
 
 
100
  /**
101
  * The tax rate charged on this payment
102
  *
@@ -2566,6 +2574,20 @@ class EDD_Payment {
2566
  return apply_filters( 'edd_payment_discounts', $this->discounts, $this->ID, $this );
2567
  }
2568
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2569
  /**
2570
  * Retrieve payment currency
2571
  *
@@ -2734,7 +2756,15 @@ class EDD_Payment {
2734
 
2735
  if ( empty( $customer->id ) ) {
2736
 
2737
- $name = ( ! empty( $this->first_name ) && ! empty( $this->last_name ) ) ? $this->first_name . ' ' . $this->last_name : $this->email;
 
 
 
 
 
 
 
 
2738
 
2739
  $customer_data = array(
2740
  'name' => $name,
97
  */
98
  protected $tax = 0;
99
 
100
+ /**
101
+ * The amount the payment has been discounted through discount codes
102
+ *
103
+ * @since 2.8.7
104
+ * @var int
105
+ */
106
+ protected $discounted_amount = 0;
107
+
108
  /**
109
  * The tax rate charged on this payment
110
  *
2574
  return apply_filters( 'edd_payment_discounts', $this->discounts, $this->ID, $this );
2575
  }
2576
 
2577
+ /**
2578
+ * Return the discounted amount of the payment.
2579
+ *
2580
+ * @since 2.8.7
2581
+ * @return float
2582
+ */
2583
+ private function get_discounted_amount() {
2584
+ $total = $this->total;
2585
+ $fees = $this->fees_total;
2586
+ $tax = $this->tax;
2587
+
2588
+ return floatval( apply_filter( 'edd_payment_discounted_amount', $total - ( $fees + $tax ), $this ) );
2589
+ }
2590
+
2591
  /**
2592
  * Retrieve payment currency
2593
  *
2756
 
2757
  if ( empty( $customer->id ) ) {
2758
 
2759
+ if( empty( $this->first_name ) && empty( $this->last_name ) ) {
2760
+
2761
+ $name = $this->email;
2762
+
2763
+ } else {
2764
+
2765
+ $name = $this->first_name . ' ' . $this->last_name;
2766
+
2767
+ }
2768
 
2769
  $customer_data = array(
2770
  'name' => $name,
includes/payments/class-payments-query.php CHANGED
@@ -99,7 +99,8 @@ class EDD_Payments_Query extends EDD_Stats {
99
  'children' => false,
100
  'fields' => null,
101
  'download' => null,
102
- 'gateway' => null
 
103
  );
104
 
105
  // We need to store an array of the args used to instantiate the class, so that we can use it in later hooks.
@@ -173,6 +174,7 @@ class EDD_Payments_Query extends EDD_Stats {
173
  $this->mode();
174
  $this->children();
175
  $this->download();
 
176
 
177
  do_action( 'edd_pre_get_payments', $this );
178
 
@@ -397,6 +399,21 @@ class EDD_Payments_Query extends EDD_Stats {
397
  ) );
398
  }
399
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
400
  /**
401
  * Search
402
  *
99
  'children' => false,
100
  'fields' => null,
101
  'download' => null,
102
+ 'gateway' => null,
103
+ 'post__in' => null,
104
  );
105
 
106
  // We need to store an array of the args used to instantiate the class, so that we can use it in later hooks.
174
  $this->mode();
175
  $this->children();
176
  $this->download();
177
+ $this->post__in();
178
 
179
  do_action( 'edd_pre_get_payments', $this );
180
 
399
  ) );
400
  }
401
 
402
+ /**
403
+ * Specific payments
404
+ *
405
+ * @access public
406
+ * @since 2.8.7
407
+ * @return void
408
+ */
409
+ public function post__in() {
410
+ if ( is_null( $this->args['post__in'] ) ) {
411
+ return;
412
+ }
413
+
414
+ $this->__set( 'post__in', $this->args['post__in'] );
415
+ }
416
+
417
  /**
418
  * Search
419
  *
includes/payments/functions.php CHANGED
@@ -877,8 +877,8 @@ function edd_get_total_earnings() {
877
  * @return float $total Total earnings
878
  */
879
  function edd_increase_total_earnings( $amount = 0 ) {
880
- $total = edd_get_total_earnings();
881
- $total += $amount;
882
  update_option( 'edd_earnings_total', $total );
883
  return $total;
884
  }
877
  * @return float $total Total earnings
878
  */
879
  function edd_increase_total_earnings( $amount = 0 ) {
880
+ $total = floatval( edd_get_total_earnings() );
881
+ $total += floatval( $amount );
882
  update_option( 'edd_earnings_total', $total );
883
  return $total;
884
  }
includes/process-download.php CHANGED
@@ -141,10 +141,15 @@ function edd_process_download() {
141
  $file_details = parse_url( $requested_file );
142
  $schemes = array( 'http', 'https' ); // Direct URL schemes
143
 
 
 
 
 
 
144
  if ( ( ! isset( $file_details['scheme'] ) || ! in_array( $file_details['scheme'], $schemes ) ) && isset( $file_details['path'] ) && file_exists( $requested_file ) ) {
145
 
146
  /**
147
- * Download method is seto to Redirect in settings but an absolute path was provided
148
  * We need to switch to a direct download in order for the file to download properly
149
  */
150
  $method = 'direct';
141
  $file_details = parse_url( $requested_file );
142
  $schemes = array( 'http', 'https' ); // Direct URL schemes
143
 
144
+ $supported_streams = stream_get_wrappers();
145
+ if ( isset( $file_details['scheme'] ) && ! in_array( $file_details['scheme'], $supported_streams ) ) {
146
+ wp_die( __( 'Error downloading file. Please contact support.', 'easy-digital-downloads' ), __( 'File download error', 'easy-digital-downloads' ), 501 );
147
+ }
148
+
149
  if ( ( ! isset( $file_details['scheme'] ) || ! in_array( $file_details['scheme'], $schemes ) ) && isset( $file_details['path'] ) && file_exists( $requested_file ) ) {
150
 
151
  /**
152
+ * Download method is set to Redirect in settings but an absolute path was provided
153
  * We need to switch to a direct download in order for the file to download properly
154
  */
155
  $method = 'direct';
includes/template-functions.php CHANGED
@@ -51,9 +51,20 @@ function edd_get_purchase_link( $args = array() ) {
51
 
52
  $purchase_page = edd_get_option( 'purchase_page', false );
53
  if ( ! $purchase_page || $purchase_page == 0 ) {
 
 
 
 
 
 
 
54
  edd_set_error( 'set_checkout', sprintf( __( 'No checkout page has been configured. Visit <a href="%s">Settings</a> to set one.', 'easy-digital-downloads' ), admin_url( 'edit.php?post_type=download&page=edd-settings' ) ) );
55
  edd_print_errors();
 
 
 
56
  return false;
 
57
  }
58
 
59
  $post_id = is_object( $post ) ? $post->ID : 0;
51
 
52
  $purchase_page = edd_get_option( 'purchase_page', false );
53
  if ( ! $purchase_page || $purchase_page == 0 ) {
54
+
55
+ global $no_checkout_error_displayed;
56
+ if ( ! is_null( $no_checkout_error_displayed ) ) {
57
+ return false;
58
+ }
59
+
60
+
61
  edd_set_error( 'set_checkout', sprintf( __( 'No checkout page has been configured. Visit <a href="%s">Settings</a> to set one.', 'easy-digital-downloads' ), admin_url( 'edit.php?post_type=download&page=edd-settings' ) ) );
62
  edd_print_errors();
63
+
64
+ $no_checkout_error_displayed = true;
65
+
66
  return false;
67
+
68
  }
69
 
70
  $post_id = is_object( $post ) ? $post->ID : 0;
includes/user-functions.php CHANGED
@@ -126,15 +126,21 @@ function edd_get_users_purchased_products( $user = 0, $status = 'complete' ) {
126
  }
127
 
128
  // Get all the items purchased
 
129
  $payment_ids = array_reverse( explode( ',', $customer->payment_ids ) );
130
- $limit_payments = apply_filters( 'edd_users_purchased_products_payments', 50 );
131
- if ( ! empty( $limit_payments ) ) {
132
- $payment_ids = array_slice( $payment_ids, 0, $limit_payments );
133
- }
 
 
 
 
 
134
  $purchase_data = array();
135
 
136
- foreach ( $payment_ids as $payment_id ) {
137
- $purchase_data[] = edd_get_payment_meta_downloads( $payment_id );
138
  }
139
 
140
  if ( empty( $purchase_data ) ) {
@@ -467,7 +473,7 @@ function edd_add_past_purchases_to_new_user( $user_id ) {
467
 
468
  $email = get_the_author_meta( 'user_email', $user_id );
469
 
470
- $payments = edd_get_payments( array( 's' => $email ) );
471
 
472
  if( $payments ) {
473
 
126
  }
127
 
128
  // Get all the items purchased
129
+ $limit_payments = apply_filters( 'edd_users_purchased_products_payments', 9999 );
130
  $payment_ids = array_reverse( explode( ',', $customer->payment_ids ) );
131
+ $payment_args = array(
132
+ 'output' => 'payments',
133
+ 'post__in' => $payment_ids,
134
+ 'status' => $status,
135
+ 'number' => $limit_payments,
136
+ );
137
+ $payments_query = new EDD_Payments_Query( $payment_args );
138
+ $payments = $payments_query->get_payments();
139
+
140
  $purchase_data = array();
141
 
142
+ foreach ( $payments as $payment ) {
143
+ $purchase_data[] = $payment->downloads;
144
  }
145
 
146
  if ( empty( $purchase_data ) ) {
473
 
474
  $email = get_the_author_meta( 'user_email', $user_id );
475
 
476
+ $payments = edd_get_payments( array( 's' => $email, 'output' => 'payments' ) );
477
 
478
  if( $payments ) {
479
 
languages/easy-digital-downloads.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the Easy Digital Downloads package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Easy Digital Downloads 2.8.6\n"
6
  "Report-Msgid-Bugs-To: https://easydigitaldownloads.com/\n"
7
- "POT-Creation-Date: 2017-09-11 22:19: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"
@@ -47,12 +47,12 @@ msgstr ""
47
  #: includes/admin/customers/customer-actions.php:345
48
  #: includes/admin/customers/customer-actions.php:603
49
  #: includes/admin/discounts/discount-actions.php:30
50
- #: includes/admin/discounts/discount-actions.php:110
51
- #: includes/admin/discounts/discount-actions.php:170
52
- #: includes/admin/discounts/discount-actions.php:174
53
- #: includes/admin/discounts/discount-actions.php:195
54
- #: includes/admin/discounts/discount-actions.php:199
55
- #: includes/admin/discounts/discount-actions.php:220
56
  #: includes/admin/discounts/edit-discount.php:16
57
  #: includes/admin/downloads/dashboard-columns.php:171
58
  #: includes/admin/import/class-batch-import-downloads.php:65
@@ -78,7 +78,7 @@ msgstr ""
78
  #: includes/admin/tools/class-edd-tools-recount-single-customer-stats.php:149
79
  #: includes/admin/tools/class-edd-tools-recount-store-earnings.php:154
80
  #: includes/admin/tools/class-edd-tools-reset-stats.php:180
81
- #: includes/admin/tools.php:1022 includes/admin/tools.php:1028
82
  #: includes/admin/upgrades/upgrade-functions.php:205
83
  #: includes/admin/upgrades/upgrade-functions.php:521
84
  #: includes/admin/upgrades/upgrade-functions.php:603
@@ -96,9 +96,9 @@ msgstr ""
96
  #: includes/emails/actions.php:53 includes/emails/template.php:243
97
  #: includes/error-tracking.php:40 includes/gateways/functions.php:221
98
  #: includes/gateways/manual.php:33 includes/gateways/paypal-standard.php:155
99
- #: includes/process-download.php:284 includes/process-download.php:817
100
- #: includes/query-filters.php:48 includes/user-functions.php:872
101
- #: includes/user-functions.php:897 includes/user-functions.php:950
102
  msgid "Error"
103
  msgstr ""
104
 
@@ -173,7 +173,7 @@ msgstr ""
173
 
174
  #: includes/admin/admin-pages.php:43 includes/admin/plugins.php:57
175
  #: includes/admin/settings/contextual-help.php:87
176
- #: includes/admin/settings/register-settings.php:1210
177
  msgid "Extensions"
178
  msgstr ""
179
 
@@ -224,7 +224,7 @@ msgstr ""
224
  msgid "Generate New API Keys"
225
  msgstr ""
226
 
227
- #: includes/admin/class-edd-notices.php:48 includes/template-functions.php:54
228
  msgid ""
229
  "No checkout page has been configured. Visit <a href=\"%s\">Settings</a> to "
230
  "set one."
@@ -384,7 +384,7 @@ msgid "Failed to set primary email"
384
  msgstr ""
385
 
386
  #: includes/admin/customers/class-customer-table.php:72
387
- #: includes/admin/payments/class-payments-table.php:266
388
  #: includes/admin/reporting/class-file-downloads-logs-list-table.php:146
389
  #: includes/admin/reporting/class-sales-logs-list-table.php:131
390
  msgid "Customer"
@@ -405,8 +405,8 @@ msgstr ""
405
  #: includes/admin/customers/class-customer-table.php:161
406
  #: includes/admin/discounts/class-discount-codes-table.php:221
407
  #: includes/admin/discounts/class-discount-codes-table.php:289
408
- #: includes/admin/payments/class-payments-table.php:362
409
- #: includes/admin/payments/class-payments-table.php:434
410
  #: includes/payments/functions.php:1595
411
  msgid "Delete"
412
  msgstr ""
@@ -488,7 +488,7 @@ msgid "An error has occured. Please try again."
488
  msgstr ""
489
 
490
  #: includes/admin/customers/customer-actions.php:207
491
- #: includes/user-functions.php:897
492
  msgid "Nonce verification failed."
493
  msgstr ""
494
 
@@ -592,14 +592,14 @@ msgstr ""
592
  #: includes/admin/customers/customers.php:242
593
  #: includes/admin/reporting/class-export-payments.php:68
594
  #: includes/admin/reporting/export/class-batch-export-payments.php:48
595
- #: includes/admin/tools.php:681 includes/checkout/template.php:373
596
  #: templates/shortcode-profile-editor.php:152
597
  msgid "City"
598
  msgstr ""
599
 
600
  #: includes/admin/customers/customers.php:269
601
- #: includes/admin/settings/register-settings.php:2008
602
- #: includes/admin/tools.php:690 includes/checkout/template.php:435
603
  #: templates/shortcode-profile-editor.php:171
604
  msgid "State / Province"
605
  msgstr ""
@@ -642,7 +642,7 @@ msgstr ""
642
  #: includes/admin/customers/customers.php:610
643
  #: includes/admin/payments/view-order-details.php:651
644
  #: includes/admin/payments/view-order-details.php:671
645
- #: includes/admin/thickbox.php:132 includes/class-edd-html-elements.php:788
646
  msgid "Cancel"
647
  msgstr ""
648
 
@@ -667,14 +667,14 @@ msgid ""
667
  msgstr ""
668
 
669
  #: includes/admin/customers/customers.php:378
670
- #: includes/admin/payments/class-payments-table.php:262
671
  #: includes/admin/payments/view-order-details.php:664
672
  #: includes/admin/reporting/class-export-customers.php:68
673
  #: includes/admin/reporting/class-export-customers.php:79
674
  #: includes/admin/reporting/class-export-payments.php:63
675
  #: includes/admin/reporting/export/class-batch-export-customers.php:44
676
  #: includes/admin/reporting/export/class-batch-export-payments.php:42
677
- #: includes/admin/tools.php:492 templates/shortcode-register.php:25
678
  msgid "Email"
679
  msgstr ""
680
 
@@ -700,7 +700,7 @@ msgstr ""
700
  #: includes/admin/downloads/metabox.php:698
701
  #: includes/admin/downloads/metabox.php:823
702
  #: includes/admin/payments/view-order-details.php:490
703
- #: includes/admin/settings/register-settings.php:2011 includes/scripts.php:226
704
  #: templates/checkout_cart.php:57 templates/checkout_cart.php:75
705
  #: templates/shortcode-profile-editor.php:123
706
  msgid "Remove"
@@ -724,7 +724,7 @@ msgid "Recent Payments"
724
  msgstr ""
725
 
726
  #: includes/admin/customers/customers.php:434
727
- #: includes/admin/payments/class-payments-table.php:261
728
  #: includes/admin/reporting/class-export-payments.php:61
729
  #: includes/admin/reporting/class-export.php:69
730
  #: includes/admin/reporting/export/class-batch-export-customers.php:42
@@ -737,7 +737,7 @@ msgstr ""
737
  #: includes/admin/discounts/add-discount.php:56
738
  #: includes/admin/discounts/class-discount-codes-table.php:147
739
  #: includes/admin/discounts/edit-discount.php:70
740
- #: includes/admin/payments/class-payments-table.php:264
741
  #: includes/admin/reporting/class-export-payments.php:74
742
  #: includes/admin/reporting/export/class-batch-export-payments.php:55
743
  #: templates/history-purchases.php:20
@@ -746,7 +746,7 @@ msgstr ""
746
 
747
  #: includes/admin/customers/customers.php:436
748
  #: includes/admin/downloads/dashboard-columns.php:37
749
- #: includes/admin/payments/class-payments-table.php:265
750
  #: includes/admin/reporting/class-api-requests-logs-list-table.php:94
751
  #: includes/admin/reporting/class-export-download-history.php:64
752
  #: includes/admin/reporting/class-export-payments.php:80
@@ -757,8 +757,8 @@ msgstr ""
757
  #: includes/admin/reporting/export/class-batch-export-api-requests.php:47
758
  #: includes/admin/reporting/export/class-batch-export-file-downloads.php:42
759
  #: includes/admin/reporting/export/class-batch-export-payments.php:61
760
- #: includes/admin/reporting/export/class-batch-export-sales.php:45
761
- #: includes/admin/tools.php:582 templates/history-purchases.php:19
762
  #: templates/shortcode-receipt.php:59
763
  msgid "Date"
764
  msgstr ""
@@ -766,11 +766,11 @@ msgstr ""
766
  #: includes/admin/customers/customers.php:437
767
  #: includes/admin/discounts/class-discount-codes-table.php:151
768
  #: includes/admin/discounts/edit-discount.php:175
769
- #: includes/admin/payments/class-payments-table.php:267
770
  #: includes/admin/reporting/class-export-payments.php:82
771
  #: includes/admin/reporting/export/class-batch-export-downloads.php:49
772
  #: includes/admin/reporting/export/class-batch-export-payments.php:66
773
- #: includes/admin/tools.php:609
774
  msgid "Status"
775
  msgstr ""
776
 
@@ -816,7 +816,7 @@ msgstr ""
816
  msgid "Delete Customer"
817
  msgstr ""
818
 
819
- #: includes/admin/customers/customers.php:638 includes/admin/tools.php:148
820
  msgid "Recount Customer Stats"
821
  msgstr ""
822
 
@@ -826,7 +826,7 @@ msgid ""
826
  "customer."
827
  msgstr ""
828
 
829
- #: includes/admin/customers/customers.php:646 includes/admin/tools.php:135
830
  msgid "Recount Stats"
831
  msgstr ""
832
 
@@ -892,7 +892,7 @@ msgstr ""
892
 
893
  #: includes/admin/dashboard-widgets.php:138
894
  #: includes/admin/reporting/class-categories-reports-table.php:85
895
- #: includes/admin/tools.php:909
896
  msgid "Total Earnings"
897
  msgstr ""
898
 
@@ -1079,7 +1079,7 @@ msgid "Add Discount Code"
1079
  msgstr ""
1080
 
1081
  #: includes/admin/discounts/class-discount-codes-table.php:127
1082
- #: includes/admin/payments/class-payments-table.php:238
1083
  #: includes/admin/reporting/class-file-downloads-logs-list-table.php:348
1084
  #: includes/admin/reporting/class-sales-logs-list-table.php:290
1085
  msgid "All"
@@ -1169,12 +1169,12 @@ msgstr ""
1169
 
1170
  #: includes/admin/discounts/contextual-help.php:38
1171
  #: includes/admin/settings/contextual-help.php:42
1172
- #: includes/admin/settings/register-settings.php:1203
1173
- #: includes/admin/settings/register-settings.php:1258
1174
- #: includes/admin/settings/register-settings.php:1263
1175
- #: includes/admin/settings/register-settings.php:1267
1176
- #: includes/admin/settings/register-settings.php:1272
1177
- #: includes/admin/settings/register-settings.php:1275
1178
  #: includes/admin/tools.php:68
1179
  msgid "General"
1180
  msgstr ""
@@ -1279,22 +1279,22 @@ msgid ""
1279
  msgstr ""
1280
 
1281
  #: includes/admin/discounts/discount-actions.php:30
1282
- #: includes/admin/discounts/discount-actions.php:224
1283
  msgid "You do not have permission to create discount codes"
1284
  msgstr ""
1285
 
1286
- #: includes/admin/discounts/discount-actions.php:110
1287
- #: includes/admin/discounts/discount-actions.php:199
1288
  msgid "You do not have permission to edit discount codes"
1289
  msgstr ""
1290
 
1291
- #: includes/admin/discounts/discount-actions.php:170
1292
- #: includes/admin/discounts/discount-actions.php:195
1293
- #: includes/admin/discounts/discount-actions.php:220
1294
  msgid "Trying to cheat or something?"
1295
  msgstr ""
1296
 
1297
- #: includes/admin/discounts/discount-actions.php:174
1298
  msgid "You do not have permission to delete discount codes"
1299
  msgstr ""
1300
 
@@ -1304,7 +1304,7 @@ msgid "Add New"
1304
  msgstr ""
1305
 
1306
  #: includes/admin/discounts/discount-codes.php:36
1307
- #: includes/admin/payments/class-payments-table.php:181
1308
  #: includes/admin/reporting/logs.php:62 includes/admin/reporting/logs.php:122
1309
  msgid "Search"
1310
  msgstr ""
@@ -1678,9 +1678,9 @@ msgid ""
1678
  msgstr ""
1679
 
1680
  #: includes/admin/downloads/metabox.php:1017
1681
- #: includes/admin/settings/register-settings.php:727
1682
- #: includes/admin/thickbox.php:59 includes/checkout/template.php:891
1683
- #: includes/shortcodes.php:49 includes/template-functions.php:67
1684
  msgid "Purchase"
1685
  msgstr ""
1686
 
@@ -1719,14 +1719,14 @@ msgid ""
1719
  msgstr ""
1720
 
1721
  #: includes/admin/downloads/metabox.php:1091
1722
- #: includes/admin/settings/register-settings.php:741
1723
  #: includes/admin/thickbox.php:97
1724
  msgid "Add to Cart"
1725
  msgstr ""
1726
 
1727
  #: includes/admin/downloads/metabox.php:1092
1728
- #: includes/admin/settings/register-settings.php:748 includes/shortcodes.php:47
1729
- #: includes/template-functions.php:67
1730
  msgid "Buy Now"
1731
  msgstr ""
1732
 
@@ -1847,119 +1847,119 @@ msgstr ""
1847
  msgid "All Gateways"
1848
  msgstr ""
1849
 
1850
- #: includes/admin/payments/class-payments-table.php:151
1851
  msgid "Start Date:"
1852
  msgstr ""
1853
 
1854
- #: includes/admin/payments/class-payments-table.php:153
1855
  msgid "End Date:"
1856
  msgstr ""
1857
 
1858
- #: includes/admin/payments/class-payments-table.php:172
1859
  #: includes/admin/reporting/logs.php:179
1860
  msgid "Apply"
1861
  msgstr ""
1862
 
1863
- #: includes/admin/payments/class-payments-table.php:178
1864
  msgid "Clear Filter"
1865
  msgstr ""
1866
 
1867
- #: includes/admin/payments/class-payments-table.php:239
1868
  msgid "Completed"
1869
  msgstr ""
1870
 
1871
- #: includes/admin/payments/class-payments-table.php:240
1872
  #: includes/payments/functions.php:749
1873
  msgid "Pending"
1874
  msgstr ""
1875
 
1876
- #: includes/admin/payments/class-payments-table.php:241
1877
  #: includes/payments/functions.php:755
1878
  msgid "Processing"
1879
  msgstr ""
1880
 
1881
- #: includes/admin/payments/class-payments-table.php:242
1882
  #: includes/payments/functions.php:751
1883
  msgid "Refunded"
1884
  msgstr ""
1885
 
1886
- #: includes/admin/payments/class-payments-table.php:243
1887
  #: includes/admin/reporting/export/class-batch-export-earnings-report.php:68
1888
  #: includes/payments/functions.php:754
1889
  msgid "Revoked"
1890
  msgstr ""
1891
 
1892
- #: includes/admin/payments/class-payments-table.php:244
1893
  #: includes/admin/reporting/export/class-batch-export-earnings-report.php:70
1894
  #: includes/payments/functions.php:752
1895
  msgid "Failed"
1896
  msgstr ""
1897
 
1898
- #: includes/admin/payments/class-payments-table.php:245
1899
  #: includes/admin/reporting/export/class-batch-export-earnings-report.php:69
1900
  #: includes/payments/functions.php:753
1901
  msgid "Abandoned"
1902
  msgstr ""
1903
 
1904
- #: includes/admin/payments/class-payments-table.php:263
1905
  #: templates/history-purchases.php:21
1906
  msgid "Details"
1907
  msgstr ""
1908
 
1909
- #: includes/admin/payments/class-payments-table.php:328
1910
  #: includes/admin/payments/payments-history.php:90
1911
  msgid "View Order Details"
1912
  msgstr ""
1913
 
1914
- #: includes/admin/payments/class-payments-table.php:359
1915
  msgid "Resend Purchase Receipt"
1916
  msgstr ""
1917
 
1918
- #: includes/admin/payments/class-payments-table.php:367
1919
  msgid "(unknown)"
1920
  msgstr ""
1921
 
1922
- #: includes/admin/payments/class-payments-table.php:420
1923
  msgid "(customer missing)"
1924
  msgstr ""
1925
 
1926
- #: includes/admin/payments/class-payments-table.php:435
1927
  msgid "Set To Completed"
1928
  msgstr ""
1929
 
1930
- #: includes/admin/payments/class-payments-table.php:436
1931
  msgid "Set To Pending"
1932
  msgstr ""
1933
 
1934
- #: includes/admin/payments/class-payments-table.php:437
1935
  msgid "Set To Processing"
1936
  msgstr ""
1937
 
1938
- #: includes/admin/payments/class-payments-table.php:438
1939
  msgid "Set To Refunded"
1940
  msgstr ""
1941
 
1942
- #: includes/admin/payments/class-payments-table.php:439
1943
  msgid "Set To Revoked"
1944
  msgstr ""
1945
 
1946
- #: includes/admin/payments/class-payments-table.php:440
1947
  msgid "Set To Failed"
1948
  msgstr ""
1949
 
1950
- #: includes/admin/payments/class-payments-table.php:441
1951
  msgid "Set To Abandoned"
1952
  msgstr ""
1953
 
1954
- #: includes/admin/payments/class-payments-table.php:442
1955
  msgid "Set To Preapproval"
1956
  msgstr ""
1957
 
1958
- #: includes/admin/payments/class-payments-table.php:443
1959
  msgid "Set To Cancelled"
1960
  msgstr ""
1961
 
1962
- #: includes/admin/payments/class-payments-table.php:444
1963
  msgid "Resend Email Receipts"
1964
  msgstr ""
1965
 
@@ -2156,7 +2156,7 @@ msgstr[0] ""
2156
  msgstr[1] ""
2157
 
2158
  #: includes/admin/payments/view-order-details.php:152
2159
- #: includes/admin/settings/register-settings.php:703
2160
  msgid "None"
2161
  msgstr ""
2162
 
@@ -2169,7 +2169,7 @@ msgstr ""
2169
  #: includes/admin/payments/view-order-details.php:518
2170
  #: includes/admin/reporting/class-export-payments.php:75
2171
  #: includes/admin/reporting/export/class-batch-export-payments.php:56
2172
- #: includes/admin/tools.php:627 templates/checkout_cart.php:120
2173
  #: templates/shortcode-receipt.php:90
2174
  msgid "Tax"
2175
  msgstr ""
@@ -2243,7 +2243,7 @@ msgid ""
2243
  msgstr ""
2244
 
2245
  #: includes/admin/payments/view-order-details.php:308
2246
- #: includes/admin/reporting/reports.php:34 includes/class-edd-logging.php:48
2247
  msgid "Logs"
2248
  msgstr ""
2249
 
@@ -2297,7 +2297,7 @@ msgid "Select a customer"
2297
  msgstr ""
2298
 
2299
  #: includes/admin/payments/view-order-details.php:640
2300
- #: includes/class-edd-html-elements.php:232
2301
  msgid "Type to search all Customers"
2302
  msgstr ""
2303
 
@@ -2323,7 +2323,7 @@ msgid "Street Address Line 2:"
2323
  msgstr ""
2324
 
2325
  #: includes/admin/payments/view-order-details.php:732
2326
- #: includes/admin/settings/register-settings.php:319
2327
  msgid "Select a country"
2328
  msgstr ""
2329
 
@@ -2332,7 +2332,7 @@ msgid "Type to search all Countries"
2332
  msgstr ""
2333
 
2334
  #: includes/admin/payments/view-order-details.php:753
2335
- #: includes/admin/settings/register-settings.php:327
2336
  msgid "Select a state"
2337
  msgstr ""
2338
 
@@ -2446,7 +2446,7 @@ msgstr ""
2446
  #: includes/admin/reporting/class-export-customers.php:66
2447
  #: includes/admin/reporting/class-export-payments.php:64
2448
  #: includes/admin/reporting/export/class-batch-export-payments.php:44
2449
- #: includes/admin/tools.php:501 includes/checkout/template.php:193
2450
  #: includes/checkout/template.php:199 templates/shortcode-profile-editor.php:38
2451
  msgid "First Name"
2452
  msgstr ""
@@ -2454,7 +2454,7 @@ msgstr ""
2454
  #: includes/admin/reporting/class-export-customers.php:67
2455
  #: includes/admin/reporting/class-export-payments.php:65
2456
  #: includes/admin/reporting/export/class-batch-export-payments.php:45
2457
- #: includes/admin/tools.php:510 includes/checkout/template.php:203
2458
  #: includes/checkout/template.php:209 templates/shortcode-profile-editor.php:43
2459
  msgid "Last Name"
2460
  msgstr ""
@@ -2481,7 +2481,7 @@ msgstr ""
2481
  #: includes/admin/reporting/export/class-batch-export-api-requests.php:42
2482
  #: includes/admin/reporting/export/class-batch-export-file-downloads.php:44
2483
  #: includes/admin/reporting/export/class-batch-export-payments.php:64
2484
- #: includes/admin/tools.php:537
2485
  msgid "IP Address"
2486
  msgstr ""
2487
 
@@ -2498,7 +2498,7 @@ msgstr ""
2498
 
2499
  #: includes/admin/reporting/class-export-payments.php:62
2500
  #: includes/admin/reporting/export/class-batch-export-payments.php:41
2501
- #: includes/admin/tools.php:573
2502
  msgid "Payment Number"
2503
  msgstr ""
2504
 
@@ -2519,14 +2519,14 @@ msgstr ""
2519
 
2520
  #: includes/admin/reporting/class-export-payments.php:70
2521
  #: includes/admin/reporting/export/class-batch-export-payments.php:50
2522
- #: includes/admin/settings/register-settings.php:2007
2523
- #: includes/admin/tools.php:708 templates/shortcode-profile-editor.php:162
2524
  msgid "Country"
2525
  msgstr ""
2526
 
2527
  #: includes/admin/reporting/class-export-payments.php:71
2528
  #: includes/admin/reporting/export/class-batch-export-payments.php:51
2529
- #: includes/admin/tools.php:699 includes/checkout/template.php:383
2530
  #: templates/shortcode-profile-editor.php:157
2531
  msgid "Zip / Postal Code"
2532
  msgstr ""
@@ -2543,26 +2543,26 @@ msgstr ""
2543
 
2544
  #: includes/admin/reporting/class-export-payments.php:77
2545
  #: includes/admin/reporting/export/class-batch-export-payments.php:58
2546
- #: includes/admin/tools.php:564 templates/shortcode-receipt.php:53
2547
  msgid "Payment Method"
2548
  msgstr ""
2549
 
2550
  #: includes/admin/reporting/class-export-payments.php:78
2551
  #: includes/admin/reporting/export/class-batch-export-payments.php:59
2552
- #: includes/admin/tools.php:645
2553
  msgid "Transaction ID"
2554
  msgstr ""
2555
 
2556
  #: includes/admin/reporting/class-export-payments.php:79
2557
  #: includes/admin/reporting/export/class-batch-export-payments.php:60
2558
- #: includes/admin/tools.php:591
2559
  msgid "Purchase Key"
2560
  msgstr ""
2561
 
2562
  #: includes/admin/reporting/class-export-payments.php:81
2563
  #: includes/admin/reporting/export/class-batch-export-payments.php:62
2564
  #: includes/admin/reporting/export/class-batch-export-sales.php:41
2565
- #: includes/admin/tools.php:654
2566
  msgid "User"
2567
  msgstr ""
2568
 
@@ -2585,7 +2585,7 @@ msgstr ""
2585
  #: includes/admin/reporting/class-gateway-error-logs-list-table.php:130
2586
  #: includes/admin/reporting/class-sales-logs-list-table.php:134
2587
  #: includes/admin/reporting/export/class-batch-export-payments.php:40
2588
- #: includes/admin/reporting/export/class-batch-export-sales.php:44
2589
  msgid "Payment ID"
2590
  msgstr ""
2591
 
@@ -2620,7 +2620,7 @@ msgid "Pending / Failed Sales"
2620
  msgstr ""
2621
 
2622
  #: includes/admin/reporting/class-sales-logs-list-table.php:133
2623
- #: includes/admin/reporting/export/class-batch-export-sales.php:43
2624
  msgid "Item Amount"
2625
  msgstr ""
2626
 
@@ -2631,7 +2631,7 @@ msgid ""
2631
  msgstr ""
2632
 
2633
  #: includes/admin/reporting/contextual-help.php:48
2634
- #: includes/admin/reporting/reports.php:32 includes/admin/tools.php:936
2635
  msgid "Export"
2636
  msgstr ""
2637
 
@@ -2735,8 +2735,8 @@ msgid "Files"
2735
  msgstr ""
2736
 
2737
  #: includes/admin/reporting/export/class-batch-export-downloads.php:54
2738
- #: includes/admin/settings/register-settings.php:772
2739
- #: includes/admin/tools.php:891
2740
  msgid "File Download Limit"
2741
  msgstr ""
2742
 
@@ -2776,7 +2776,8 @@ msgid "Gross Amount"
2776
  msgstr ""
2777
 
2778
  #: includes/admin/reporting/export/class-batch-export-payments.php:43
2779
- #: includes/admin/tools.php:519
 
2780
  msgid "Customer ID"
2781
  msgstr ""
2782
 
@@ -2785,16 +2786,20 @@ msgid "Products (Verbose)"
2785
  msgstr ""
2786
 
2787
  #: includes/admin/reporting/export/class-batch-export-payments.php:63
2788
- #: includes/admin/settings/register-settings.php:348
2789
- #: includes/admin/settings/register-settings.php:1259
2790
  msgid "Currency"
2791
  msgstr ""
2792
 
2793
  #: includes/admin/reporting/export/class-batch-export-payments.php:65
2794
- #: includes/admin/tools.php:546
2795
  msgid "Mode (Live|Test)"
2796
  msgstr ""
2797
 
 
 
 
 
2798
  #: includes/admin/reporting/export/export-functions.php:49
2799
  msgid "Export location or file not writable"
2800
  msgstr ""
@@ -2910,7 +2915,7 @@ msgid "Refresh Reports"
2910
  msgstr ""
2911
 
2912
  #: includes/admin/reporting/logs.php:144
2913
- #: includes/admin/settings/register-settings.php:1285
2914
  msgid "File Downloads"
2915
  msgstr ""
2916
 
@@ -2940,7 +2945,7 @@ msgstr ""
2940
 
2941
  #: includes/admin/reporting/reports.php:59
2942
  #: includes/admin/settings/contextual-help.php:71
2943
- #: includes/admin/settings/register-settings.php:1207
2944
  msgid "Taxes"
2945
  msgstr ""
2946
 
@@ -2984,7 +2989,7 @@ msgid ""
2984
  "year."
2985
  msgstr ""
2986
 
2987
- #: includes/admin/reporting/reports.php:325 includes/admin/tools.php:164
2988
  msgid "Submit"
2989
  msgstr ""
2990
 
@@ -3082,8 +3087,8 @@ msgid ""
3082
  msgstr ""
3083
 
3084
  #: includes/admin/settings/contextual-help.php:48
3085
- #: includes/admin/settings/register-settings.php:416
3086
- #: includes/admin/settings/register-settings.php:1204
3087
  msgid "Payment Gateways"
3088
  msgstr ""
3089
 
@@ -3112,7 +3117,7 @@ msgid ""
3112
  msgstr ""
3113
 
3114
  #: includes/admin/settings/contextual-help.php:57
3115
- #: includes/admin/settings/register-settings.php:1205
3116
  msgid "Emails"
3117
  msgstr ""
3118
 
@@ -3132,7 +3137,7 @@ msgid ""
3132
  msgstr ""
3133
 
3134
  #: includes/admin/settings/contextual-help.php:65
3135
- #: includes/admin/settings/register-settings.php:1206
3136
  msgid "Styles"
3137
  msgstr ""
3138
 
@@ -3215,7 +3220,7 @@ msgid ""
3215
  msgstr ""
3216
 
3217
  #: includes/admin/settings/contextual-help.php:93
3218
- #: includes/admin/settings/register-settings.php:1282
3219
  msgid "Miscellaneous"
3220
  msgstr ""
3221
 
@@ -3229,15 +3234,15 @@ msgstr ""
3229
  msgid "A description of all the options are provided beside their input boxes."
3230
  msgstr ""
3231
 
3232
- #: includes/admin/settings/register-settings.php:251
3233
  msgid "Pages"
3234
  msgstr ""
3235
 
3236
- #: includes/admin/settings/register-settings.php:254
3237
  msgid "Page Settings"
3238
  msgstr ""
3239
 
3240
- #: includes/admin/settings/register-settings.php:255
3241
  msgid ""
3242
  "Easy Digital Downloads uses the pages below for handling the display of "
3243
  "checkout, purchase confirmation, purchase history, and purchase failures. "
@@ -3246,105 +3251,105 @@ msgid ""
3246
  "in the page content area."
3247
  msgstr ""
3248
 
3249
- #: includes/admin/settings/register-settings.php:259
3250
  msgid "Checkout Page"
3251
  msgstr ""
3252
 
3253
- #: includes/admin/settings/register-settings.php:260
3254
  msgid ""
3255
  "This is the checkout page where buyers will complete their purchases. The "
3256
  "[download_checkout] shortcode must be on this page."
3257
  msgstr ""
3258
 
3259
- #: includes/admin/settings/register-settings.php:264
3260
- #: includes/admin/settings/register-settings.php:273
3261
- #: includes/admin/settings/register-settings.php:282
3262
- #: includes/admin/settings/register-settings.php:291
3263
- #: includes/admin/settings/register-settings.php:302
3264
  msgid "Select a page"
3265
  msgstr ""
3266
 
3267
- #: includes/admin/settings/register-settings.php:268
3268
  msgid "Success Page"
3269
  msgstr ""
3270
 
3271
- #: includes/admin/settings/register-settings.php:269
3272
  msgid ""
3273
  "This is the page buyers are sent to after completing their purchases. The "
3274
  "[edd_receipt] shortcode should be on this page."
3275
  msgstr ""
3276
 
3277
- #: includes/admin/settings/register-settings.php:277
3278
  msgid "Failed Transaction Page"
3279
  msgstr ""
3280
 
3281
- #: includes/admin/settings/register-settings.php:278
3282
  msgid ""
3283
  "This is the page buyers are sent to if their transaction is cancelled or "
3284
  "fails."
3285
  msgstr ""
3286
 
3287
- #: includes/admin/settings/register-settings.php:286
3288
  msgid "Purchase History Page"
3289
  msgstr ""
3290
 
3291
- #: includes/admin/settings/register-settings.php:287
3292
  msgid ""
3293
  "This page shows a complete purchase history for the current user, including "
3294
  "download links. The [purchase_history] shortcode should be on this page."
3295
  msgstr ""
3296
 
3297
- #: includes/admin/settings/register-settings.php:295
3298
  msgid "Login Redirect Page"
3299
  msgstr ""
3300
 
3301
- #: includes/admin/settings/register-settings.php:297
3302
  msgid ""
3303
  "If a customer logs in using the [edd_login] shortcode, this is the page "
3304
  "they will be redirected to. Note, this can be overridden using the redirect "
3305
  "attribute in the shortcode like this: [edd_login redirect=\"%s\"]."
3306
  msgstr ""
3307
 
3308
- #: includes/admin/settings/register-settings.php:306
3309
  msgid "Store Location"
3310
  msgstr ""
3311
 
3312
- #: includes/admin/settings/register-settings.php:309
3313
  msgid "Store Location Settings"
3314
  msgstr ""
3315
 
3316
- #: includes/admin/settings/register-settings.php:310
3317
  msgid ""
3318
  "Easy Digital Downloads will use the following Country and State to pre-fill "
3319
  "fields at checkout. This will also pre-calculate any taxes defined if the "
3320
  "location below has taxes enabled."
3321
  msgstr ""
3322
 
3323
- #: includes/admin/settings/register-settings.php:314
3324
  msgid "Base Country"
3325
  msgstr ""
3326
 
3327
- #: includes/admin/settings/register-settings.php:315
3328
  msgid "Where does your store operate from?"
3329
  msgstr ""
3330
 
3331
- #: includes/admin/settings/register-settings.php:323
3332
  msgid "Base State / Province"
3333
  msgstr ""
3334
 
3335
- #: includes/admin/settings/register-settings.php:324
3336
  msgid "What state / province does your store operate from?"
3337
  msgstr ""
3338
 
3339
- #: includes/admin/settings/register-settings.php:331
3340
  msgid "Tracking"
3341
  msgstr ""
3342
 
3343
- #: includes/admin/settings/register-settings.php:337
3344
  msgid "Allow Usage Tracking?"
3345
  msgstr ""
3346
 
3347
- #: includes/admin/settings/register-settings.php:339
3348
  msgid ""
3349
  "Allow Easy Digital Downloads to anonymously track how this plugin is used "
3350
  "and help us make the plugin better. Opt-in to tracking and our newsletter "
@@ -3353,357 +3358,357 @@ msgid ""
3353
  "sensitive data is tracked."
3354
  msgstr ""
3355
 
3356
- #: includes/admin/settings/register-settings.php:349
3357
  msgid ""
3358
  "Choose your currency. Note that some payment gateways have currency "
3359
  "restrictions."
3360
  msgstr ""
3361
 
3362
- #: includes/admin/settings/register-settings.php:356
3363
  msgid "Currency Position"
3364
  msgstr ""
3365
 
3366
- #: includes/admin/settings/register-settings.php:357
3367
  msgid "Choose the location of the currency sign."
3368
  msgstr ""
3369
 
3370
- #: includes/admin/settings/register-settings.php:360
3371
  msgid "Before - $10"
3372
  msgstr ""
3373
 
3374
- #: includes/admin/settings/register-settings.php:361
3375
  msgid "After - 10$"
3376
  msgstr ""
3377
 
3378
- #: includes/admin/settings/register-settings.php:366
3379
  msgid "Thousands Separator"
3380
  msgstr ""
3381
 
3382
- #: includes/admin/settings/register-settings.php:367
3383
  msgid "The symbol (usually , or .) to separate thousands."
3384
  msgstr ""
3385
 
3386
- #: includes/admin/settings/register-settings.php:374
3387
  msgid "Decimal Separator"
3388
  msgstr ""
3389
 
3390
- #: includes/admin/settings/register-settings.php:375
3391
  msgid "The symbol (usually , or .) to separate decimal points."
3392
  msgstr ""
3393
 
3394
- #: includes/admin/settings/register-settings.php:384
3395
- #: includes/admin/settings/register-settings.php:1260
3396
  msgid "API"
3397
  msgstr ""
3398
 
3399
- #: includes/admin/settings/register-settings.php:387
3400
  msgid "API Settings"
3401
  msgstr ""
3402
 
3403
- #: includes/admin/settings/register-settings.php:388
3404
  msgid ""
3405
  "The Easy Digital Downloads REST API provides access to store data through "
3406
  "our API endpoints. Enable this setting if you would like all user accounts "
3407
  "to be able to generate their own API keys."
3408
  msgstr ""
3409
 
3410
- #: includes/admin/settings/register-settings.php:392
3411
  msgid "Allow User Keys"
3412
  msgstr ""
3413
 
3414
- #: includes/admin/settings/register-settings.php:393
3415
  msgid ""
3416
  "Check this box to allow all users to generate API keys. Users with the "
3417
  "'manage_shop_settings' capability are always allowed to generate keys."
3418
  msgstr ""
3419
 
3420
- #: includes/admin/settings/register-settings.php:398
3421
  msgid ""
3422
  "Visit the <a href=\"%s\" target=\"_blank\">REST API documentation</a> for "
3423
  "further information."
3424
  msgstr ""
3425
 
3426
- #: includes/admin/settings/register-settings.php:410
3427
  msgid "Test Mode"
3428
  msgstr ""
3429
 
3430
- #: includes/admin/settings/register-settings.php:411
3431
  msgid ""
3432
  "While in test mode no live transactions are processed. To fully use test "
3433
  "mode, you must have a sandbox (test) account for the payment gateway you "
3434
  "are testing."
3435
  msgstr ""
3436
 
3437
- #: includes/admin/settings/register-settings.php:417
3438
  msgid "Choose the payment gateways you want to enable."
3439
  msgstr ""
3440
 
3441
- #: includes/admin/settings/register-settings.php:423
3442
  msgid "Default Gateway"
3443
  msgstr ""
3444
 
3445
- #: includes/admin/settings/register-settings.php:424
3446
  msgid "This gateway will be loaded automatically with the checkout page."
3447
  msgstr ""
3448
 
3449
- #: includes/admin/settings/register-settings.php:430
3450
  msgid "Accepted Payment Method Icons"
3451
  msgstr ""
3452
 
3453
- #: includes/admin/settings/register-settings.php:431
3454
  msgid "Display icons for the selected payment methods."
3455
  msgstr ""
3456
 
3457
- #: includes/admin/settings/register-settings.php:431
3458
  msgid ""
3459
  "You will also need to configure your gateway settings if you are accepting "
3460
  "credit cards."
3461
  msgstr ""
3462
 
3463
- #: includes/admin/settings/register-settings.php:451
3464
  msgid "Email Template"
3465
  msgstr ""
3466
 
3467
- #: includes/admin/settings/register-settings.php:452
3468
  msgid ""
3469
  "Choose a template. Click \"Save Changes\" then \"Preview Purchase Receipt\" "
3470
  "to see the new template."
3471
  msgstr ""
3472
 
3473
- #: includes/admin/settings/register-settings.php:458
3474
  msgid "Logo"
3475
  msgstr ""
3476
 
3477
- #: includes/admin/settings/register-settings.php:459
3478
  msgid ""
3479
  "Upload or choose a logo to be displayed at the top of the purchase receipt "
3480
  "emails. Displayed on HTML emails only."
3481
  msgstr ""
3482
 
3483
- #: includes/admin/settings/register-settings.php:464
3484
  msgid "From Name"
3485
  msgstr ""
3486
 
3487
- #: includes/admin/settings/register-settings.php:465
3488
  msgid ""
3489
  "The name purchase receipts are said to come from. This should probably be "
3490
  "your site or shop name."
3491
  msgstr ""
3492
 
3493
- #: includes/admin/settings/register-settings.php:471
3494
  msgid "From Email"
3495
  msgstr ""
3496
 
3497
- #: includes/admin/settings/register-settings.php:472
3498
  msgid ""
3499
  "Email to send purchase receipts from. This will act as the \"from\" and "
3500
  "\"reply-to\" address."
3501
  msgstr ""
3502
 
3503
- #: includes/admin/settings/register-settings.php:492
3504
  msgid "Purchase Email Subject"
3505
  msgstr ""
3506
 
3507
- #: includes/admin/settings/register-settings.php:493
3508
  msgid "Enter the subject line for the purchase receipt email."
3509
  msgstr ""
3510
 
3511
- #: includes/admin/settings/register-settings.php:495
3512
- #: includes/admin/settings/register-settings.php:502
3513
  #: includes/admin/settings/register-settings.php:506
 
3514
  #: includes/emails/functions.php:45 includes/emails/functions.php:49
3515
  #: includes/emails/functions.php:87 includes/emails/functions.php:91
3516
  #: includes/emails/template.php:141
3517
  msgid "Purchase Receipt"
3518
  msgstr ""
3519
 
3520
- #: includes/admin/settings/register-settings.php:499
3521
  msgid "Purchase Email Heading"
3522
  msgstr ""
3523
 
3524
- #: includes/admin/settings/register-settings.php:500
3525
  msgid "Enter the heading for the purchase receipt email."
3526
  msgstr ""
3527
 
3528
- #: includes/admin/settings/register-settings.php:507
3529
  msgid ""
3530
  "Enter the text that is sent as purchase receipt email to users after "
3531
  "completion of a successful purchase. HTML is accepted. Available template "
3532
  "tags:"
3533
  msgstr ""
3534
 
3535
- #: includes/admin/settings/register-settings.php:509
3536
  #: includes/emails/template.php:159
3537
  msgid "Dear"
3538
  msgstr ""
3539
 
3540
- #: includes/admin/settings/register-settings.php:509
3541
  #: includes/emails/template.php:160
3542
  msgid ""
3543
  "Thank you for your purchase. Please click on the link(s) below to download "
3544
  "your files."
3545
  msgstr ""
3546
 
3547
- #: includes/admin/settings/register-settings.php:515
3548
  msgid "Sale Notification Subject"
3549
  msgstr ""
3550
 
3551
- #: includes/admin/settings/register-settings.php:516
3552
  msgid "Enter the subject line for the sale notification email."
3553
  msgstr ""
3554
 
3555
- #: includes/admin/settings/register-settings.php:522
3556
  msgid "Sale Notification"
3557
  msgstr ""
3558
 
3559
- #: includes/admin/settings/register-settings.php:523
3560
  msgid ""
3561
  "Enter the text that is sent as sale notification email after completion of "
3562
  "a purchase. HTML is accepted. Available template tags:"
3563
  msgstr ""
3564
 
3565
- #: includes/admin/settings/register-settings.php:529
3566
  msgid "Sale Notification Emails"
3567
  msgstr ""
3568
 
3569
- #: includes/admin/settings/register-settings.php:530
3570
  msgid ""
3571
  "Enter the email address(es) that should receive a notification anytime a "
3572
  "sale is made, one per line."
3573
  msgstr ""
3574
 
3575
- #: includes/admin/settings/register-settings.php:536
3576
  msgid "Disable Admin Notifications"
3577
  msgstr ""
3578
 
3579
- #: includes/admin/settings/register-settings.php:537
3580
  msgid "Check this box if you do not want to receive sales notification emails."
3581
  msgstr ""
3582
 
3583
- #: includes/admin/settings/register-settings.php:549
3584
  msgid "Disable Styles"
3585
  msgstr ""
3586
 
3587
- #: includes/admin/settings/register-settings.php:550
3588
  msgid ""
3589
  "Check this to disable all included styling of buttons, checkout fields, and "
3590
  "all other elements."
3591
  msgstr ""
3592
 
3593
- #: includes/admin/settings/register-settings.php:552
3594
  msgid "Disabling Styles"
3595
  msgstr ""
3596
 
3597
- #: includes/admin/settings/register-settings.php:553
3598
  msgid ""
3599
  "If your theme has a complete custom CSS file for Easy Digital Downloads, "
3600
  "you may wish to disable our default styles. This is not recommended unless "
3601
  "your sure your theme has a complete custom CSS."
3602
  msgstr ""
3603
 
3604
- #: includes/admin/settings/register-settings.php:557
3605
  msgid "Buttons"
3606
  msgstr ""
3607
 
3608
- #: includes/admin/settings/register-settings.php:558
3609
  msgid "Options for add to cart and purchase buttons"
3610
  msgstr ""
3611
 
3612
- #: includes/admin/settings/register-settings.php:563
3613
  msgid "Default Button Style"
3614
  msgstr ""
3615
 
3616
- #: includes/admin/settings/register-settings.php:564
3617
  msgid "Choose the style you want to use for the buttons."
3618
  msgstr ""
3619
 
3620
- #: includes/admin/settings/register-settings.php:570
3621
  msgid "Default Button Color"
3622
  msgstr ""
3623
 
3624
- #: includes/admin/settings/register-settings.php:571
3625
  msgid "Choose the color you want to use for the buttons."
3626
  msgstr ""
3627
 
3628
- #: includes/admin/settings/register-settings.php:584
3629
  msgid "Need help?"
3630
  msgstr ""
3631
 
3632
- #: includes/admin/settings/register-settings.php:585
3633
  msgid ""
3634
  "Visit the <a href=\"%s\" target=\"_blank\">Tax setup documentation</a> for "
3635
  "further information. If you need VAT support, there are options listed on "
3636
  "the documentation page."
3637
  msgstr ""
3638
 
3639
- #: includes/admin/settings/register-settings.php:590
3640
  msgid "Enable Taxes"
3641
  msgstr ""
3642
 
3643
- #: includes/admin/settings/register-settings.php:591
3644
  msgid "Check this to enable taxes on purchases."
3645
  msgstr ""
3646
 
3647
- #: includes/admin/settings/register-settings.php:593
3648
  msgid "Enabling Taxes"
3649
  msgstr ""
3650
 
3651
- #: includes/admin/settings/register-settings.php:594
3652
  msgid ""
3653
  "With taxes enabled, Easy Digital Downloads will use the rules below to "
3654
  "charge tax to customers. With taxes enabled, customers are required to "
3655
  "input their address on checkout so that taxes can be properly calculated."
3656
  msgstr ""
3657
 
3658
- #: includes/admin/settings/register-settings.php:598
3659
  msgid "Tax Rates"
3660
  msgstr ""
3661
 
3662
- #: includes/admin/settings/register-settings.php:599
3663
  msgid ""
3664
  "Add tax rates for specific regions. Enter a percentage, such as 6.5 for "
3665
  "6.5%."
3666
  msgstr ""
3667
 
3668
- #: includes/admin/settings/register-settings.php:604
3669
  #: includes/admin/settings/register-settings.php:608
 
3670
  msgid "Fallback Tax Rate"
3671
  msgstr ""
3672
 
3673
- #: includes/admin/settings/register-settings.php:605
3674
  msgid ""
3675
  "Customers not in a specific rate will be charged this tax rate. Enter a "
3676
  "percentage, such as 6.5 for 6.5%. "
3677
  msgstr ""
3678
 
3679
- #: includes/admin/settings/register-settings.php:609
3680
  msgid ""
3681
  "If the customer's address fails to meet the above tax rules, you can define "
3682
  "a `default` tax rate to be applied to all other customers. Enter a "
3683
  "percentage, such as 6.5 for 6.5%."
3684
  msgstr ""
3685
 
3686
- #: includes/admin/settings/register-settings.php:613
3687
  msgid "Prices entered with tax"
3688
  msgstr ""
3689
 
3690
- #: includes/admin/settings/register-settings.php:614
3691
  msgid "This option affects how you enter prices."
3692
  msgstr ""
3693
 
3694
- #: includes/admin/settings/register-settings.php:618
3695
  msgid "Yes, I will enter prices inclusive of tax"
3696
  msgstr ""
3697
 
3698
- #: includes/admin/settings/register-settings.php:619
3699
  msgid "No, I will enter prices exclusive of tax"
3700
  msgstr ""
3701
 
3702
- #: includes/admin/settings/register-settings.php:621
3703
  msgid "Prices Inclusive of Tax"
3704
  msgstr ""
3705
 
3706
- #: includes/admin/settings/register-settings.php:622
3707
  msgid ""
3708
  "When using prices inclusive of tax, you will be entering your prices as the "
3709
  "total amount you want a customer to pay for the download, including tax. "
@@ -3711,197 +3716,207 @@ msgid ""
3711
  "for the defined total price."
3712
  msgstr ""
3713
 
3714
- #: includes/admin/settings/register-settings.php:626
3715
  msgid "Display Tax Rate on Prices"
3716
  msgstr ""
3717
 
3718
- #: includes/admin/settings/register-settings.php:627
3719
  msgid "Some countries require a notice when product prices include tax."
3720
  msgstr ""
3721
 
3722
- #: includes/admin/settings/register-settings.php:632
3723
  msgid "Display during checkout"
3724
  msgstr ""
3725
 
3726
- #: includes/admin/settings/register-settings.php:633
3727
  msgid "Should prices on the checkout page be shown with or without tax?"
3728
  msgstr ""
3729
 
3730
- #: includes/admin/settings/register-settings.php:637
3731
  msgid "Including tax"
3732
  msgstr ""
3733
 
3734
- #: includes/admin/settings/register-settings.php:638
3735
  msgid "Excluding tax"
3736
  msgstr ""
3737
 
3738
- #: includes/admin/settings/register-settings.php:640
3739
  msgid "Taxes Displayed for Products on Checkout"
3740
  msgstr ""
3741
 
3742
- #: includes/admin/settings/register-settings.php:641
3743
  msgid ""
3744
  "This option will determine whether the product price displays with or "
3745
  "without tax on checkout."
3746
  msgstr ""
3747
 
3748
- #: includes/admin/settings/register-settings.php:659
3749
- #: includes/admin/settings/register-settings.php:662
3750
  msgid "Redirect to Checkout"
3751
  msgstr ""
3752
 
3753
- #: includes/admin/settings/register-settings.php:660
3754
  msgid "Immediately redirect to checkout after adding an item to the cart?"
3755
  msgstr ""
3756
 
3757
- #: includes/admin/settings/register-settings.php:663
3758
  msgid ""
3759
  "When enabled, once an item has been added to the cart, the customer will be "
3760
  "redirected directly to your checkout page. This is useful for stores that "
3761
  "sell single items."
3762
  msgstr ""
3763
 
3764
- #: includes/admin/settings/register-settings.php:667
3765
  msgid "Cart Item Quantities"
3766
  msgstr ""
3767
 
3768
- #: includes/admin/settings/register-settings.php:668
3769
  msgid ""
3770
  "Allow quantities to be adjusted when adding %s to the cart, and while "
3771
  "viewing the checkout cart."
3772
  msgstr ""
3773
 
3774
- #: includes/admin/settings/register-settings.php:673
 
 
 
 
 
 
 
 
 
 
3775
  msgid "Remove Data on Uninstall?"
3776
  msgstr ""
3777
 
3778
- #: includes/admin/settings/register-settings.php:674
3779
  msgid ""
3780
  "Check this box if you would like EDD to completely remove all of its data "
3781
  "when the plugin is deleted."
3782
  msgstr ""
3783
 
3784
- #: includes/admin/settings/register-settings.php:681
3785
  msgid "Enforce SSL on Checkout"
3786
  msgstr ""
3787
 
3788
- #: includes/admin/settings/register-settings.php:682
3789
  msgid ""
3790
  "Check this to force users to be redirected to the secure checkout page. You "
3791
  "must have an SSL certificate installed to use this option."
3792
  msgstr ""
3793
 
3794
- #: includes/admin/settings/register-settings.php:687
3795
- #: includes/admin/settings/register-settings.php:690
3796
  msgid "Require Login"
3797
  msgstr ""
3798
 
3799
- #: includes/admin/settings/register-settings.php:688
3800
  msgid "Require that users be logged-in to purchase files."
3801
  msgstr ""
3802
 
3803
- #: includes/admin/settings/register-settings.php:691
3804
  msgid ""
3805
  "You can require that customers create and login to user accounts prior to "
3806
  "purchasing from your store by enabling this option. When unchecked, users "
3807
  "can purchase without being logged in by using their name and email address."
3808
  msgstr ""
3809
 
3810
- #: includes/admin/settings/register-settings.php:695
3811
  msgid "Show Register / Login Form?"
3812
  msgstr ""
3813
 
3814
- #: includes/admin/settings/register-settings.php:696
3815
  msgid ""
3816
  "Display the registration and login forms on the checkout page for "
3817
  "non-logged-in users."
3818
  msgstr ""
3819
 
3820
- #: includes/admin/settings/register-settings.php:700
3821
  msgid "Registration and Login Forms"
3822
  msgstr ""
3823
 
3824
- #: includes/admin/settings/register-settings.php:701
3825
  msgid "Registration Form Only"
3826
  msgstr ""
3827
 
3828
- #: includes/admin/settings/register-settings.php:702
3829
  msgid "Login Form Only"
3830
  msgstr ""
3831
 
3832
- #: includes/admin/settings/register-settings.php:708
3833
  msgid "Multiple Discounts"
3834
  msgstr ""
3835
 
3836
- #: includes/admin/settings/register-settings.php:709
3837
  msgid "Allow customers to use multiple discounts on the same purchase?"
3838
  msgstr ""
3839
 
3840
- #: includes/admin/settings/register-settings.php:714
3841
  msgid "Enable Cart Saving"
3842
  msgstr ""
3843
 
3844
- #: includes/admin/settings/register-settings.php:715
3845
  msgid "Check this to enable cart saving on the checkout."
3846
  msgstr ""
3847
 
3848
- #: includes/admin/settings/register-settings.php:717
3849
  msgid "Cart Saving"
3850
  msgstr ""
3851
 
3852
- #: includes/admin/settings/register-settings.php:718
3853
  msgid ""
3854
  "Cart saving allows shoppers to create a temporary link to their current "
3855
  "shopping cart so they can come back to it later, or share it with someone."
3856
  msgstr ""
3857
 
3858
- #: includes/admin/settings/register-settings.php:724
3859
  msgid "Complete Purchase Text"
3860
  msgstr ""
3861
 
3862
- #: includes/admin/settings/register-settings.php:725
3863
  msgid "The button label for completing a purchase."
3864
  msgstr ""
3865
 
3866
- #: includes/admin/settings/register-settings.php:731
3867
  msgid "Register Text"
3868
  msgstr ""
3869
 
3870
- #: includes/admin/settings/register-settings.php:732
3871
  msgid "The button label for completing a free purchase."
3872
  msgstr ""
3873
 
3874
- #: includes/admin/settings/register-settings.php:734
3875
- #: includes/checkout/template.php:894
3876
  msgid "Free Download"
3877
  msgstr ""
3878
 
3879
- #: includes/admin/settings/register-settings.php:738
3880
  msgid "Add to Cart Text"
3881
  msgstr ""
3882
 
3883
- #: includes/admin/settings/register-settings.php:739
3884
  msgid "Text shown on the Add to Cart Buttons."
3885
  msgstr ""
3886
 
3887
- #: includes/admin/settings/register-settings.php:745
3888
  msgid "Buy Now Text"
3889
  msgstr ""
3890
 
3891
- #: includes/admin/settings/register-settings.php:746
3892
  msgid "Text shown on the Buy Now Buttons."
3893
  msgstr ""
3894
 
3895
- #: includes/admin/settings/register-settings.php:754
3896
- #: includes/admin/settings/register-settings.php:757
3897
  msgid "Download Method"
3898
  msgstr ""
3899
 
3900
- #: includes/admin/settings/register-settings.php:755
3901
  msgid "Select the file download method. Note, not all methods work on all servers."
3902
  msgstr ""
3903
 
3904
- #: includes/admin/settings/register-settings.php:758
3905
  msgid ""
3906
  "Due to its consistency in multiple platforms and better file protection, "
3907
  "'forced' is the default method. Because Easy Digital Downloads uses PHP to "
@@ -3912,35 +3927,35 @@ msgid ""
3912
  "method can help resolve this."
3913
  msgstr ""
3914
 
3915
- #: includes/admin/settings/register-settings.php:760
3916
  msgid "Forced"
3917
  msgstr ""
3918
 
3919
- #: includes/admin/settings/register-settings.php:761
3920
  msgid "Redirect"
3921
  msgstr ""
3922
 
3923
- #: includes/admin/settings/register-settings.php:766
3924
  msgid "Symlink File Downloads?"
3925
  msgstr ""
3926
 
3927
- #: includes/admin/settings/register-settings.php:767
3928
  msgid ""
3929
  "Check this if you are delivering really large files or having problems with "
3930
  "file downloads completing."
3931
  msgstr ""
3932
 
3933
- #: includes/admin/settings/register-settings.php:773
3934
  msgid ""
3935
  "The maximum number of times files can be downloaded for purchases. Can be "
3936
  "overwritten for each %s."
3937
  msgstr ""
3938
 
3939
- #: includes/admin/settings/register-settings.php:776
3940
  msgid "File Download Limits"
3941
  msgstr ""
3942
 
3943
- #: includes/admin/settings/register-settings.php:777
3944
  msgid ""
3945
  "Set the global default for the number of times a customer can download "
3946
  "items they purchase. Using a value of 0 is unlimited. This can be defined "
@@ -3948,18 +3963,18 @@ msgid ""
3948
  "individual purchase."
3949
  msgstr ""
3950
 
3951
- #: includes/admin/settings/register-settings.php:781
3952
- #: includes/admin/settings/register-settings.php:783
3953
  msgid "Download Link Expiration"
3954
  msgstr ""
3955
 
3956
- #: includes/admin/settings/register-settings.php:782
3957
  msgid ""
3958
  "How long should download links be valid for? Default is 24 hours from the "
3959
  "time they are generated. Enter a time in hours."
3960
  msgstr ""
3961
 
3962
- #: includes/admin/settings/register-settings.php:784
3963
  msgid ""
3964
  "When a customer receives a link to their downloads via email, in their "
3965
  "receipt, or in their purchase history, the link will only be valid for the "
@@ -3968,271 +3983,271 @@ msgid ""
3968
  "customer."
3969
  msgstr ""
3970
 
3971
- #: includes/admin/settings/register-settings.php:792
3972
  msgid "Disable Redownload?"
3973
  msgstr ""
3974
 
3975
- #: includes/admin/settings/register-settings.php:793
3976
  msgid ""
3977
  "Check this if you do not want to allow users to redownload items from their "
3978
  "purchase history."
3979
  msgstr ""
3980
 
3981
- #: includes/admin/settings/register-settings.php:800
3982
  msgid "Enable SKU Entry"
3983
  msgstr ""
3984
 
3985
- #: includes/admin/settings/register-settings.php:801
3986
  msgid ""
3987
  "Check this box to allow entry of product SKUs. SKUs will be shown on "
3988
  "purchase receipt and exported purchase histories."
3989
  msgstr ""
3990
 
3991
- #: includes/admin/settings/register-settings.php:806
3992
  msgid "Sequential Order Numbers"
3993
  msgstr ""
3994
 
3995
- #: includes/admin/settings/register-settings.php:807
3996
  msgid "Check this box to enable sequential order numbers."
3997
  msgstr ""
3998
 
3999
- #: includes/admin/settings/register-settings.php:812
4000
  msgid "Sequential Starting Number"
4001
  msgstr ""
4002
 
4003
- #: includes/admin/settings/register-settings.php:813
4004
  msgid "The number at which the sequence should begin."
4005
  msgstr ""
4006
 
4007
- #: includes/admin/settings/register-settings.php:820
4008
  msgid "Sequential Number Prefix"
4009
  msgstr ""
4010
 
4011
- #: includes/admin/settings/register-settings.php:821
4012
  msgid "A prefix to prepend to all sequential order numbers."
4013
  msgstr ""
4014
 
4015
- #: includes/admin/settings/register-settings.php:826
4016
  msgid "Sequential Number Postfix"
4017
  msgstr ""
4018
 
4019
- #: includes/admin/settings/register-settings.php:827
4020
  msgid "A postfix to append to all sequential order numbers."
4021
  msgstr ""
4022
 
4023
- #: includes/admin/settings/register-settings.php:834
4024
  msgid "Agree to Terms"
4025
  msgstr ""
4026
 
4027
- #: includes/admin/settings/register-settings.php:835
4028
  msgid ""
4029
  "Check this to show an agree to terms on the checkout that users must agree "
4030
  "to before purchasing."
4031
  msgstr ""
4032
 
4033
- #: includes/admin/settings/register-settings.php:840
4034
  msgid "Agree to Terms Label"
4035
  msgstr ""
4036
 
4037
- #: includes/admin/settings/register-settings.php:841
4038
  msgid "Label shown next to the agree to terms check box."
4039
  msgstr ""
4040
 
4041
- #: includes/admin/settings/register-settings.php:847
4042
  msgid "Agreement Text"
4043
  msgstr ""
4044
 
4045
- #: includes/admin/settings/register-settings.php:848
4046
  msgid "If Agree to Terms is checked, enter the agreement terms here."
4047
  msgstr ""
4048
 
4049
- #: includes/admin/settings/register-settings.php:858
4050
  msgid "Buy Now Disabled"
4051
  msgstr ""
4052
 
4053
- #: includes/admin/settings/register-settings.php:859
4054
  msgid ""
4055
  "Buy Now buttons are only available for stores that have a single supported "
4056
  "gateway active and that do not use taxes."
4057
  msgstr ""
4058
 
4059
- #: includes/admin/settings/register-settings.php:957
4060
  msgid "Settings updated."
4061
  msgstr ""
4062
 
4063
- #: includes/admin/settings/register-settings.php:1097
4064
  msgid "Error setting default gateway. No gateways are enabled."
4065
  msgstr ""
4066
 
4067
- #: includes/admin/settings/register-settings.php:1110
4068
  msgid "%s could not be set as the default gateway. It must first be enabled."
4069
  msgstr ""
4070
 
4071
- #: includes/admin/settings/register-settings.php:1213
4072
  msgid "Licenses"
4073
  msgstr ""
4074
 
4075
- #: includes/admin/settings/register-settings.php:1216
4076
  msgid "Misc"
4077
  msgstr ""
4078
 
4079
- #: includes/admin/settings/register-settings.php:1264
4080
  #: includes/gateways/functions.php:25 includes/gateways/paypal-standard.php:33
4081
  msgid "PayPal Standard"
4082
  msgstr ""
4083
 
4084
- #: includes/admin/settings/register-settings.php:1268
4085
  msgid "Purchase Receipts"
4086
  msgstr ""
4087
 
4088
- #: includes/admin/settings/register-settings.php:1269
4089
  msgid "New Sale Notifications"
4090
  msgstr ""
4091
 
4092
- #: includes/admin/settings/register-settings.php:1278
4093
  msgid "Main"
4094
  msgstr ""
4095
 
4096
- #: includes/admin/settings/register-settings.php:1283 includes/install.php:92
4097
- #: includes/template-functions.php:182 templates/widget-cart-checkout.php:6
4098
  #: templates/widget-cart-empty.php:7
4099
  msgid "Checkout"
4100
  msgstr ""
4101
 
4102
- #: includes/admin/settings/register-settings.php:1284
4103
  msgid "Button Text"
4104
  msgstr ""
4105
 
4106
- #: includes/admin/settings/register-settings.php:1286
4107
  msgid "Accounting"
4108
  msgstr ""
4109
 
4110
- #: includes/admin/settings/register-settings.php:1287
4111
  msgid "Terms of Agreement"
4112
  msgstr ""
4113
 
4114
- #: includes/admin/settings/register-settings.php:1529
4115
  msgid ""
4116
  "Don't see what you need? More Payment Gateway options are available <a "
4117
  "href=\"%s\">here</a>."
4118
  msgstr ""
4119
 
4120
- #: includes/admin/settings/register-settings.php:1750
4121
  msgid "The callback function used for the %s setting is missing."
4122
  msgstr ""
4123
 
4124
- #: includes/admin/settings/register-settings.php:1908
4125
  msgid "Upload File"
4126
  msgstr ""
4127
 
4128
- #: includes/admin/settings/register-settings.php:2009
4129
  msgid "Country Wide"
4130
  msgstr ""
4131
 
4132
- #: includes/admin/settings/register-settings.php:2010
4133
  msgid "Rate"
4134
  msgstr ""
4135
 
4136
- #: includes/admin/settings/register-settings.php:2010
4137
  msgid ""
4138
  "<strong>Regional tax rates: </strong>When a customer enters an address on "
4139
  "checkout that matches the specified region for this tax rate, the cart tax "
4140
  "will adjust automatically. Enter a percentage, such as 6.5 for 6.5%."
4141
  msgstr ""
4142
 
4143
- #: includes/admin/settings/register-settings.php:2027
4144
- #: includes/admin/settings/register-settings.php:2072
4145
  msgid "Choose a country"
4146
  msgstr ""
4147
 
4148
- #: includes/admin/settings/register-settings.php:2042
4149
  msgid "Choose a state"
4150
  msgstr ""
4151
 
4152
- #: includes/admin/settings/register-settings.php:2054
4153
- #: includes/admin/settings/register-settings.php:2082
4154
  msgid "Apply to whole country"
4155
  msgstr ""
4156
 
4157
- #: includes/admin/settings/register-settings.php:2057
4158
- #: includes/admin/settings/register-settings.php:2085
4159
  msgid "Remove Rate"
4160
  msgstr ""
4161
 
4162
- #: includes/admin/settings/register-settings.php:2090
4163
  msgid "Add Tax Rate"
4164
  msgstr ""
4165
 
4166
- #: includes/admin/settings/register-settings.php:2143
4167
  msgid ""
4168
  "Your license key expired on %s. Please <a href=\"%s\" "
4169
  "target=\"_blank\">renew your license key</a>."
4170
  msgstr ""
4171
 
4172
- #: includes/admin/settings/register-settings.php:2156
4173
  msgid ""
4174
  "Your license key has been disabled. Please <a href=\"%s\" "
4175
  "target=\"_blank\">contact support</a> for more information."
4176
  msgstr ""
4177
 
4178
- #: includes/admin/settings/register-settings.php:2168
4179
  msgid ""
4180
  "Invalid license. Please <a href=\"%s\" target=\"_blank\">visit your account "
4181
  "page</a> and verify it."
4182
  msgstr ""
4183
 
4184
- #: includes/admin/settings/register-settings.php:2181
4185
  msgid ""
4186
  "Your %s is not active for this URL. Please <a href=\"%s\" "
4187
  "target=\"_blank\">visit your account page</a> to manage your license key "
4188
  "URLs."
4189
  msgstr ""
4190
 
4191
- #: includes/admin/settings/register-settings.php:2193
4192
  msgid "This appears to be an invalid license key for %s."
4193
  msgstr ""
4194
 
4195
- #: includes/admin/settings/register-settings.php:2202
4196
  msgid ""
4197
  "Your license key has reached its activation limit. <a href=\"%s\">View "
4198
  "possible upgrades</a> now."
4199
  msgstr ""
4200
 
4201
- #: includes/admin/settings/register-settings.php:2211
4202
  msgid ""
4203
  "The key you entered belongs to a bundle, please use the product specific "
4204
  "license key."
4205
  msgstr ""
4206
 
4207
- #: includes/admin/settings/register-settings.php:2219
4208
  msgid "unknown_error"
4209
  msgstr ""
4210
 
4211
- #: includes/admin/settings/register-settings.php:2220
4212
  msgid ""
4213
  "There was an error with this license key: %s. Please <a href=\"%s\">contact "
4214
  "our support team</a>."
4215
  msgstr ""
4216
 
4217
- #: includes/admin/settings/register-settings.php:2240
4218
  msgid "License key never expires."
4219
  msgstr ""
4220
 
4221
- #: includes/admin/settings/register-settings.php:2247
4222
  msgid ""
4223
  "Your license key expires soon! It expires on %s. <a href=\"%s\" "
4224
  "target=\"_blank\">Renew your license key</a>."
4225
  msgstr ""
4226
 
4227
- #: includes/admin/settings/register-settings.php:2257
4228
  msgid "Your license key expires on %s."
4229
  msgstr ""
4230
 
4231
- #: includes/admin/settings/register-settings.php:2275
4232
  msgid "To receive updates, please enter your valid %s license key."
4233
  msgstr ""
4234
 
4235
- #: includes/admin/settings/register-settings.php:2288
4236
  msgid "Deactivate License"
4237
  msgstr ""
4238
 
@@ -4305,85 +4320,89 @@ msgstr ""
4305
  msgid "System Info"
4306
  msgstr ""
4307
 
4308
- #: includes/admin/tools.php:76
 
 
 
 
4309
  msgid "Import/Export"
4310
  msgstr ""
4311
 
4312
- #: includes/admin/tools.php:97
4313
  msgid "Banned Emails"
4314
  msgstr ""
4315
 
4316
- #: includes/admin/tools.php:99
4317
  msgid "Emails placed in the box below will not be allowed to make purchases."
4318
  msgstr ""
4319
 
4320
- #: includes/admin/tools.php:103
4321
  msgid ""
4322
  "Enter emails and/or domains (starting with \"@\") and/or TLDs (starting "
4323
  "with \".\") to disallow, one per line."
4324
  msgstr ""
4325
 
4326
- #: includes/admin/tools.php:108 includes/admin/tools.php:293
4327
  msgid "Save"
4328
  msgstr ""
4329
 
4330
- #: includes/admin/tools.php:137
4331
  msgid "Use these tools to recount / reset store stats."
4332
  msgstr ""
4333
 
4334
- #: includes/admin/tools.php:144 includes/scripts.php:90
4335
  msgid "Please select an option"
4336
  msgstr ""
4337
 
4338
- #: includes/admin/tools.php:145
4339
  msgid "Recount Store Earnings and Sales"
4340
  msgstr ""
4341
 
4342
- #: includes/admin/tools.php:146
4343
  msgid "Recount Earnings and Sales for a %s"
4344
  msgstr ""
4345
 
4346
- #: includes/admin/tools.php:147
4347
  msgid "Recount Earnings and Sales for All %s"
4348
  msgstr ""
4349
 
4350
- #: includes/admin/tools.php:150
4351
  msgid "Reset Store"
4352
  msgstr ""
4353
 
4354
- #: includes/admin/tools.php:169
4355
  msgid "Recalculates the total store earnings and sales."
4356
  msgstr ""
4357
 
4358
- #: includes/admin/tools.php:170
4359
  msgid "Recalculates the earnings and sales stats for a specific %s."
4360
  msgstr ""
4361
 
4362
- #: includes/admin/tools.php:171
4363
  msgid "Recalculates the earnings and sales stats for all %s."
4364
  msgstr ""
4365
 
4366
- #: includes/admin/tools.php:172
4367
  msgid "Recalculates the lifetime value and purchase counts for all customers."
4368
  msgstr ""
4369
 
4370
- #: includes/admin/tools.php:174
4371
  msgid ""
4372
  "<strong>Deletes</strong> all payment records, customers, and related log "
4373
  "entries."
4374
  msgstr ""
4375
 
4376
- #: includes/admin/tools.php:204 includes/admin/tools.php:212
4377
  msgid "Clear Incomplete Upgrade Notice"
4378
  msgstr ""
4379
 
4380
- #: includes/admin/tools.php:206
4381
  msgid ""
4382
  "Sometimes a database upgrade notice may not be cleared after an upgrade is "
4383
  "completed due to conflicts with other extensions or other minor issues."
4384
  msgstr ""
4385
 
4386
- #: includes/admin/tools.php:207
4387
  msgid ""
4388
  "If you're certain these upgrades have been completed, you can clear these "
4389
  "upgrade notices by clicking the button below. If you have any questions "
@@ -4391,18 +4410,18 @@ msgid ""
4391
  "we'll be happy to help."
4392
  msgstr ""
4393
 
4394
- #: includes/admin/tools.php:244
4395
  msgid ""
4396
  "These API keys allow you to use the <a href=\"%s\">EDD REST API</a> to "
4397
  "retrieve store data in JSON or XML for external applications or devices, "
4398
  "such as the <a href=\"%s\">EDD mobile app</a>."
4399
  msgstr ""
4400
 
4401
- #: includes/admin/tools.php:273
4402
  msgid "Enable Beta Versions"
4403
  msgstr ""
4404
 
4405
- #: includes/admin/tools.php:275
4406
  msgid ""
4407
  "Checking any of the below checkboxes will opt you in to receive pre-release "
4408
  "update notifications. You can opt-out at any time. Pre-release updates do "
@@ -4410,23 +4429,23 @@ msgid ""
4410
  "update notifications."
4411
  msgstr ""
4412
 
4413
- #: includes/admin/tools.php:285
4414
  msgid "Get updates for pre-release versions of %s"
4415
  msgstr ""
4416
 
4417
- #: includes/admin/tools.php:445
4418
  msgid "Import Payment History"
4419
  msgstr ""
4420
 
4421
- #: includes/admin/tools.php:447
4422
  msgid "Import a CSV file of payment records."
4423
  msgstr ""
4424
 
4425
- #: includes/admin/tools.php:457 includes/admin/tools.php:739
4426
  msgid "Import CSV"
4427
  msgstr ""
4428
 
4429
- #: includes/admin/tools.php:467
4430
  msgid ""
4431
  "Each column loaded from the CSV needs to be mapped to a payment field. "
4432
  "Select the column that should be mapped to each field below. Any columns "
@@ -4434,114 +4453,114 @@ msgid ""
4434
  "guide</a> for assistance with importing payment records."
4435
  msgstr ""
4436
 
4437
- #: includes/admin/tools.php:476
4438
  msgid "Payment Field"
4439
  msgstr ""
4440
 
4441
- #: includes/admin/tools.php:477 includes/admin/tools.php:759
4442
  msgid "CSV Column"
4443
  msgstr ""
4444
 
4445
- #: includes/admin/tools.php:478 includes/admin/tools.php:760
4446
  msgid "Data Preview"
4447
  msgstr ""
4448
 
4449
- #: includes/admin/tools.php:483
4450
  msgid "Currency Code"
4451
  msgstr ""
4452
 
4453
- #: includes/admin/tools.php:486 includes/admin/tools.php:495
4454
- #: includes/admin/tools.php:504 includes/admin/tools.php:513
4455
- #: includes/admin/tools.php:522 includes/admin/tools.php:531
4456
- #: includes/admin/tools.php:540 includes/admin/tools.php:549
4457
- #: includes/admin/tools.php:558 includes/admin/tools.php:567
4458
- #: includes/admin/tools.php:576 includes/admin/tools.php:585
4459
- #: includes/admin/tools.php:594 includes/admin/tools.php:603
4460
- #: includes/admin/tools.php:612 includes/admin/tools.php:621
4461
- #: includes/admin/tools.php:630 includes/admin/tools.php:639
4462
- #: includes/admin/tools.php:648 includes/admin/tools.php:657
4463
- #: includes/admin/tools.php:666 includes/admin/tools.php:675
4464
- #: includes/admin/tools.php:684 includes/admin/tools.php:693
4465
- #: includes/admin/tools.php:702 includes/admin/tools.php:711
4466
- #: includes/admin/tools.php:768 includes/admin/tools.php:777
4467
- #: includes/admin/tools.php:786 includes/admin/tools.php:795
4468
- #: includes/admin/tools.php:804 includes/admin/tools.php:813
4469
- #: includes/admin/tools.php:822 includes/admin/tools.php:831
4470
- #: includes/admin/tools.php:840 includes/admin/tools.php:849
4471
- #: includes/admin/tools.php:858 includes/admin/tools.php:867
4472
- #: includes/admin/tools.php:876 includes/admin/tools.php:885
4473
- #: includes/admin/tools.php:894 includes/admin/tools.php:903
4474
- #: includes/admin/tools.php:912
4475
  msgid "- Ignore this field -"
4476
  msgstr ""
4477
 
4478
- #: includes/admin/tools.php:489 includes/admin/tools.php:498
4479
- #: includes/admin/tools.php:507 includes/admin/tools.php:516
4480
- #: includes/admin/tools.php:525 includes/admin/tools.php:534
4481
- #: includes/admin/tools.php:543 includes/admin/tools.php:552
4482
- #: includes/admin/tools.php:561 includes/admin/tools.php:570
4483
- #: includes/admin/tools.php:579 includes/admin/tools.php:588
4484
- #: includes/admin/tools.php:597 includes/admin/tools.php:606
4485
- #: includes/admin/tools.php:615 includes/admin/tools.php:624
4486
- #: includes/admin/tools.php:633 includes/admin/tools.php:642
4487
- #: includes/admin/tools.php:651 includes/admin/tools.php:660
4488
- #: includes/admin/tools.php:669 includes/admin/tools.php:678
4489
- #: includes/admin/tools.php:687 includes/admin/tools.php:696
4490
- #: includes/admin/tools.php:705 includes/admin/tools.php:714
4491
- #: includes/admin/tools.php:771 includes/admin/tools.php:780
4492
- #: includes/admin/tools.php:789 includes/admin/tools.php:798
4493
- #: includes/admin/tools.php:807 includes/admin/tools.php:816
4494
- #: includes/admin/tools.php:825 includes/admin/tools.php:834
4495
- #: includes/admin/tools.php:843 includes/admin/tools.php:852
4496
- #: includes/admin/tools.php:861 includes/admin/tools.php:870
4497
- #: includes/admin/tools.php:879 includes/admin/tools.php:888
4498
- #: includes/admin/tools.php:897 includes/admin/tools.php:906
4499
- #: includes/admin/tools.php:915
4500
  msgid "- select field to preview data -"
4501
  msgstr ""
4502
 
4503
- #: includes/admin/tools.php:528
4504
  msgid "Discount Code(s)"
4505
  msgstr ""
4506
 
4507
- #: includes/admin/tools.php:555
4508
  msgid "Parent Payment ID"
4509
  msgstr ""
4510
 
4511
- #: includes/admin/tools.php:600
4512
  msgid "Purchased Product(s)"
4513
  msgstr ""
4514
 
4515
- #: includes/admin/tools.php:618 templates/checkout_cart.php:102
4516
  #: templates/shortcode-receipt.php:98
4517
  msgid "Subtotal"
4518
  msgstr ""
4519
 
4520
- #: includes/admin/tools.php:636 templates/checkout_cart.php:129
4521
  msgid "Total"
4522
  msgstr ""
4523
 
4524
- #: includes/admin/tools.php:663
4525
  msgid "Address Line 1"
4526
  msgstr ""
4527
 
4528
- #: includes/admin/tools.php:672
4529
  msgid "Address Line 2"
4530
  msgstr ""
4531
 
4532
- #: includes/admin/tools.php:719 includes/admin/tools.php:920
4533
  msgid "Process Import"
4534
  msgstr ""
4535
 
4536
- #: includes/admin/tools.php:727
4537
  msgid "Import Download Products"
4538
  msgstr ""
4539
 
4540
- #: includes/admin/tools.php:729
4541
  msgid "Import a CSV file of products."
4542
  msgstr ""
4543
 
4544
- #: includes/admin/tools.php:749
4545
  msgid ""
4546
  "Each column loaded from the CSV needs to be mapped to a Download product "
4547
  "field. Select the column that should be mapped to each field below. Any "
@@ -4550,108 +4569,125 @@ msgid ""
4550
  "products."
4551
  msgstr ""
4552
 
4553
- #: includes/admin/tools.php:758
4554
  msgid "Product Field"
4555
  msgstr ""
4556
 
4557
- #: includes/admin/tools.php:765
4558
  msgid "Product Author"
4559
  msgstr ""
4560
 
4561
- #: includes/admin/tools.php:774
4562
  msgid "Product Categories"
4563
  msgstr ""
4564
 
4565
- #: includes/admin/tools.php:783
4566
  msgid "Product Creation Date"
4567
  msgstr ""
4568
 
4569
- #: includes/admin/tools.php:792
4570
  msgid "Product Description"
4571
  msgstr ""
4572
 
4573
- #: includes/admin/tools.php:801
4574
  msgid "Product Excerpt"
4575
  msgstr ""
4576
 
4577
- #: includes/admin/tools.php:810
4578
  msgid "Product Image"
4579
  msgstr ""
4580
 
4581
- #: includes/admin/tools.php:819
4582
  msgid "Product Notes"
4583
  msgstr ""
4584
 
4585
- #: includes/admin/tools.php:828
4586
  msgid "Product Price(s)"
4587
  msgstr ""
4588
 
4589
- #: includes/admin/tools.php:837
4590
  msgid "Product SKU"
4591
  msgstr ""
4592
 
4593
- #: includes/admin/tools.php:846
4594
  msgid "Product Slug"
4595
  msgstr ""
4596
 
4597
- #: includes/admin/tools.php:855
4598
  msgid "Product Status"
4599
  msgstr ""
4600
 
4601
- #: includes/admin/tools.php:864
4602
  msgid "Product Tags"
4603
  msgstr ""
4604
 
4605
- #: includes/admin/tools.php:873
4606
  msgid "Product Title"
4607
  msgstr ""
4608
 
4609
- #: includes/admin/tools.php:882
4610
  msgid "Download Files"
4611
  msgstr ""
4612
 
4613
- #: includes/admin/tools.php:900
4614
  msgid "Sale Count"
4615
  msgstr ""
4616
 
4617
- #: includes/admin/tools.php:928
4618
  msgid "Export Settings"
4619
  msgstr ""
4620
 
4621
- #: includes/admin/tools.php:930
4622
  msgid ""
4623
  "Export the Easy Digital Downloads settings for this site as a .json file. "
4624
  "This allows you to easily import the configuration into another site."
4625
  msgstr ""
4626
 
4627
- #: includes/admin/tools.php:931
4628
  msgid ""
4629
  "To export shop data (purchases, customers, etc), visit the <a "
4630
  "href=\"%s\">Reports</a> page."
4631
  msgstr ""
4632
 
4633
- #: includes/admin/tools.php:943
4634
  msgid "Import Settings"
4635
  msgstr ""
4636
 
4637
- #: includes/admin/tools.php:945
4638
  msgid ""
4639
  "Import the Easy Digital Downloads settings from a .json file. This file can "
4640
  "be obtained by exporting the settings on another site using the form above."
4641
  msgstr ""
4642
 
4643
- #: includes/admin/tools.php:953
4644
  msgid "Import"
4645
  msgstr ""
4646
 
4647
- #: includes/admin/tools.php:1022
4648
  msgid "Please upload a valid .json file"
4649
  msgstr ""
4650
 
4651
- #: includes/admin/tools.php:1028
4652
  msgid "Please upload a file to import"
4653
  msgstr ""
4654
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4655
  #: includes/admin/tracking.php:256
4656
  msgid ""
4657
  "Allow Easy Digital Downloads to track plugin usage? Opt-in to tracking and "
@@ -4777,7 +4813,7 @@ msgid "No results found"
4777
  msgstr ""
4778
 
4779
  #: includes/ajax-functions.php:684 includes/ajax-functions.php:776
4780
- #: includes/class-edd-html-elements.php:327
4781
  msgid "No users found"
4782
  msgstr ""
4783
 
@@ -4839,27 +4875,27 @@ msgstr ""
4839
  msgid "No download logs found!"
4840
  msgstr ""
4841
 
4842
- #: includes/api/class-edd-api.php:1952 includes/user-functions.php:1032
4843
  msgid "Easy Digital Downloads API Keys"
4844
  msgstr ""
4845
 
4846
- #: includes/api/class-edd-api.php:1961 includes/user-functions.php:1037
4847
  msgid "Generate API Key"
4848
  msgstr ""
4849
 
4850
- #: includes/api/class-edd-api.php:1963 includes/user-functions.php:1039
4851
  msgid "Public key:"
4852
  msgstr ""
4853
 
4854
- #: includes/api/class-edd-api.php:1964 includes/user-functions.php:1040
4855
  msgid "Secret key:"
4856
  msgstr ""
4857
 
4858
- #: includes/api/class-edd-api.php:1965 includes/user-functions.php:1041
4859
  msgid "Token:"
4860
  msgstr ""
4861
 
4862
- #: includes/api/class-edd-api.php:1967 includes/user-functions.php:1043
4863
  msgid "Revoke API Keys"
4864
  msgstr ""
4865
 
@@ -5138,32 +5174,32 @@ msgstr ""
5138
  msgid "Enter a coupon code if you have one."
5139
  msgstr ""
5140
 
5141
- #: includes/checkout/template.php:748 includes/process-purchase.php:350
5142
  #: includes/scripts.php:67
5143
  msgid "Enter discount"
5144
  msgstr ""
5145
 
5146
- #: includes/checkout/template.php:770
5147
  msgid "Agree to Terms?"
5148
  msgstr ""
5149
 
5150
- #: includes/checkout/template.php:783
5151
  msgid "Show Terms"
5152
  msgstr ""
5153
 
5154
- #: includes/checkout/template.php:784
5155
  msgid "Hide Terms"
5156
  msgstr ""
5157
 
5158
- #: includes/checkout/template.php:808
5159
  msgid "Purchase Total:"
5160
  msgstr ""
5161
 
5162
- #: includes/checkout/template.php:834
5163
  msgid "Go back"
5164
  msgstr ""
5165
 
5166
- #: includes/checkout/template.php:857
5167
  msgid "Next"
5168
  msgstr ""
5169
 
@@ -5319,7 +5355,7 @@ msgstr ""
5319
  msgid "%d customers created in %d seconds"
5320
  msgstr ""
5321
 
5322
- #: includes/class-edd-cli.php:328 includes/class-edd-html-elements.php:250
5323
  msgid "No customers found"
5324
  msgstr ""
5325
 
@@ -5327,8 +5363,8 @@ msgstr ""
5327
  msgid "Customer User ID: %s"
5328
  msgstr ""
5329
 
5330
- #: includes/class-edd-cli.php:335 includes/user-functions.php:559
5331
- #: includes/user-functions.php:568
5332
  msgid "Username: %s"
5333
  msgstr ""
5334
 
@@ -5404,7 +5440,7 @@ msgstr ""
5404
  msgid " Product: %s - %s"
5405
  msgstr ""
5406
 
5407
- #: includes/class-edd-cli.php:444 includes/class-edd-html-elements.php:388
5408
  #: includes/shortcodes.php:270
5409
  msgid "No discounts found"
5410
  msgstr ""
@@ -5489,36 +5525,36 @@ msgstr ""
5489
  msgid "Once Weekly"
5490
  msgstr ""
5491
 
5492
- #: includes/class-edd-customer.php:192 includes/class-edd-discount.php:254
5493
  #: includes/class-edd-download.php:196
5494
  msgid "Can't get property %s"
5495
  msgstr ""
5496
 
5497
- #: includes/class-edd-discount.php:1508
5498
  msgid "This discount has reached its maximum usage."
5499
  msgstr ""
5500
 
5501
- #: includes/class-edd-discount.php:1542
5502
  msgid "Minimum order of %s not met."
5503
  msgstr ""
5504
 
5505
- #: includes/class-edd-discount.php:1630 includes/class-edd-discount.php:1659
5506
  msgid "The product requirements for this discount are not met."
5507
  msgstr ""
5508
 
5509
- #: includes/class-edd-discount.php:1677
5510
  msgid "This discount is not valid for the cart contents."
5511
  msgstr ""
5512
 
5513
- #: includes/class-edd-discount.php:1767
5514
  msgid "This discount has already been redeemed."
5515
  msgstr ""
5516
 
5517
- #: includes/class-edd-discount.php:1848
5518
  msgid "This discount is expired."
5519
  msgstr ""
5520
 
5521
- #: includes/class-edd-discount.php:1853
5522
  msgid "This discount is not active."
5523
  msgstr ""
5524
 
@@ -5534,27 +5570,27 @@ msgstr ""
5534
  msgid "Type to search all %s"
5535
  msgstr ""
5536
 
5537
- #: includes/class-edd-html-elements.php:228
5538
  msgid "Select a Customer"
5539
  msgstr ""
5540
 
5541
- #: includes/class-edd-html-elements.php:245
5542
  msgid "No customer attached"
5543
  msgstr ""
5544
 
5545
- #: includes/class-edd-html-elements.php:305
5546
  msgid "Select a User"
5547
  msgstr ""
5548
 
5549
- #: includes/class-edd-html-elements.php:309
5550
  msgid "Type to search all Users"
5551
  msgstr ""
5552
 
5553
- #: includes/class-edd-html-elements.php:396
5554
  msgid "Select a discount"
5555
  msgstr ""
5556
 
5557
- #: includes/class-edd-html-elements.php:773
5558
  msgid "Enter username"
5559
  msgstr ""
5560
 
@@ -5987,7 +6023,7 @@ msgid ""
5987
  "of a purchase. HTML is accepted. Available template tags:"
5988
  msgstr ""
5989
 
5990
- #: includes/deprecated-functions.php:517 includes/process-download.php:817
5991
  msgid "Sorry but you have hit your download limit for this file."
5992
  msgstr ""
5993
 
@@ -6551,137 +6587,137 @@ msgstr ""
6551
  msgid "Passwords do not match"
6552
  msgstr ""
6553
 
6554
- #: includes/misc-functions.php:306 tests/tests-misc.php:75
6555
  msgid "US Dollars (&#36;)"
6556
  msgstr ""
6557
 
6558
- #: includes/misc-functions.php:307 tests/tests-misc.php:76
6559
  msgid "Euros (&euro;)"
6560
  msgstr ""
6561
 
6562
- #: includes/misc-functions.php:308 tests/tests-misc.php:77
6563
  msgid "Pound Sterling (&pound;)"
6564
  msgstr ""
6565
 
6566
- #: includes/misc-functions.php:309 tests/tests-misc.php:78
6567
  msgid "Australian Dollars (&#36;)"
6568
  msgstr ""
6569
 
6570
- #: includes/misc-functions.php:310 tests/tests-misc.php:79
6571
  msgid "Brazilian Real (R&#36;)"
6572
  msgstr ""
6573
 
6574
- #: includes/misc-functions.php:311 tests/tests-misc.php:80
6575
  msgid "Canadian Dollars (&#36;)"
6576
  msgstr ""
6577
 
6578
- #: includes/misc-functions.php:312 tests/tests-misc.php:81
6579
  msgid "Czech Koruna"
6580
  msgstr ""
6581
 
6582
- #: includes/misc-functions.php:313 tests/tests-misc.php:82
6583
  msgid "Danish Krone"
6584
  msgstr ""
6585
 
6586
- #: includes/misc-functions.php:314 tests/tests-misc.php:83
6587
  msgid "Hong Kong Dollar (&#36;)"
6588
  msgstr ""
6589
 
6590
- #: includes/misc-functions.php:315 tests/tests-misc.php:84
6591
  msgid "Hungarian Forint"
6592
  msgstr ""
6593
 
6594
- #: includes/misc-functions.php:316 tests/tests-misc.php:85
6595
  msgid "Israeli Shekel (&#8362;)"
6596
  msgstr ""
6597
 
6598
- #: includes/misc-functions.php:317 tests/tests-misc.php:86
6599
  msgid "Japanese Yen (&yen;)"
6600
  msgstr ""
6601
 
6602
- #: includes/misc-functions.php:318 tests/tests-misc.php:87
6603
  msgid "Malaysian Ringgits"
6604
  msgstr ""
6605
 
6606
- #: includes/misc-functions.php:319 tests/tests-misc.php:88
6607
  msgid "Mexican Peso (&#36;)"
6608
  msgstr ""
6609
 
6610
- #: includes/misc-functions.php:320 tests/tests-misc.php:89
6611
  msgid "New Zealand Dollar (&#36;)"
6612
  msgstr ""
6613
 
6614
- #: includes/misc-functions.php:321 tests/tests-misc.php:90
6615
  msgid "Norwegian Krone"
6616
  msgstr ""
6617
 
6618
- #: includes/misc-functions.php:322 tests/tests-misc.php:91
6619
  msgid "Philippine Pesos"
6620
  msgstr ""
6621
 
6622
- #: includes/misc-functions.php:323 tests/tests-misc.php:92
6623
  msgid "Polish Zloty"
6624
  msgstr ""
6625
 
6626
- #: includes/misc-functions.php:324 tests/tests-misc.php:93
6627
  msgid "Singapore Dollar (&#36;)"
6628
  msgstr ""
6629
 
6630
- #: includes/misc-functions.php:325 tests/tests-misc.php:94
6631
  msgid "Swedish Krona"
6632
  msgstr ""
6633
 
6634
- #: includes/misc-functions.php:326 tests/tests-misc.php:95
6635
  msgid "Swiss Franc"
6636
  msgstr ""
6637
 
6638
- #: includes/misc-functions.php:327 tests/tests-misc.php:96
6639
  msgid "Taiwan New Dollars"
6640
  msgstr ""
6641
 
6642
- #: includes/misc-functions.php:328 tests/tests-misc.php:97
6643
  msgid "Thai Baht (&#3647;)"
6644
  msgstr ""
6645
 
6646
- #: includes/misc-functions.php:329 tests/tests-misc.php:98
6647
  msgid "Indian Rupee (&#8377;)"
6648
  msgstr ""
6649
 
6650
- #: includes/misc-functions.php:330 tests/tests-misc.php:99
6651
  msgid "Turkish Lira (&#8378;)"
6652
  msgstr ""
6653
 
6654
- #: includes/misc-functions.php:331 tests/tests-misc.php:100
6655
  msgid "Iranian Rial (&#65020;)"
6656
  msgstr ""
6657
 
6658
- #: includes/misc-functions.php:332 tests/tests-misc.php:101
6659
  msgid "Russian Rubles"
6660
  msgstr ""
6661
 
6662
- #: includes/misc-functions.php:333 tests/tests-misc.php:102
6663
  msgid "Angolan Kwanza"
6664
  msgstr ""
6665
 
6666
- #: includes/misc-functions.php:522
6667
  msgid ""
6668
  "%1$s is <strong>deprecated</strong> since Easy Digital Downloads version "
6669
  "%2$s! Use %3$s instead."
6670
  msgstr ""
6671
 
6672
- #: includes/misc-functions.php:526
6673
  msgid ""
6674
  "%1$s is <strong>deprecated</strong> since Easy Digital Downloads version "
6675
  "%2$s with no alternative available."
6676
  msgstr ""
6677
 
6678
- #: includes/misc-functions.php:563
6679
  msgid ""
6680
  "The %1$s argument of %2$s is <strong>deprecated</strong> since Easy Digital "
6681
  "Downloads version %3$s! Please use %4$s instead."
6682
  msgstr ""
6683
 
6684
- #: includes/misc-functions.php:567
6685
  msgid ""
6686
  "The %1$s argument of %2$s is <strong>deprecated</strong> since Easy Digital "
6687
  "Downloads version %3$s with no alternative available."
@@ -7025,23 +7061,31 @@ msgid_plural "%1$s %3$s restored from the Trash."
7025
  msgstr[0] ""
7026
  msgstr[1] ""
7027
 
7028
- #: includes/process-download.php:283
 
 
 
 
 
 
 
 
7029
  msgid "You do not have permission to download this file"
7030
  msgstr ""
7031
 
7032
- #: includes/process-download.php:284
7033
  msgid "Purchase Verification Failed"
7034
  msgstr ""
7035
 
7036
- #: includes/process-download.php:893
7037
  msgid "Invalid file"
7038
  msgstr ""
7039
 
7040
- #: includes/process-download.php:900
7041
  msgid "The requested file could not be found. Error 404."
7042
  msgstr ""
7043
 
7044
- #: includes/process-download.php:901
7045
  msgid "File not found"
7046
  msgstr ""
7047
 
@@ -7175,7 +7219,7 @@ msgstr ""
7175
  msgid "You have already added this item to your cart"
7176
  msgstr ""
7177
 
7178
- #: includes/scripts.php:89 includes/template-functions.php:177
7179
  msgid "Loading"
7180
  msgstr ""
7181
 
@@ -7327,111 +7371,111 @@ msgstr ""
7327
  msgid "Error removing email address from profile. Please try again later."
7328
  msgstr ""
7329
 
7330
- #: includes/template-functions.php:134
7331
  msgid "Free"
7332
  msgstr ""
7333
 
7334
- #: includes/template-functions.php:191
7335
  msgid "Added to cart"
7336
  msgstr ""
7337
 
7338
- #: includes/template-functions.php:197
7339
  msgid "Includes %1$s&#37; tax"
7340
  msgstr ""
7341
 
7342
- #: includes/template-functions.php:199
7343
  msgid "Excluding %1$s&#37; tax"
7344
  msgstr ""
7345
 
7346
- #: includes/template-functions.php:484
7347
  msgid "White"
7348
  msgstr ""
7349
 
7350
- #: includes/template-functions.php:488
7351
  msgid "Gray"
7352
  msgstr ""
7353
 
7354
- #: includes/template-functions.php:492
7355
  msgid "Blue"
7356
  msgstr ""
7357
 
7358
- #: includes/template-functions.php:496
7359
  msgid "Red"
7360
  msgstr ""
7361
 
7362
- #: includes/template-functions.php:500
7363
  msgid "Green"
7364
  msgstr ""
7365
 
7366
- #: includes/template-functions.php:504
7367
  msgid "Yellow"
7368
  msgstr ""
7369
 
7370
- #: includes/template-functions.php:508
7371
  msgid "Orange"
7372
  msgstr ""
7373
 
7374
- #: includes/template-functions.php:512
7375
  msgid "Dark Gray"
7376
  msgstr ""
7377
 
7378
- #: includes/template-functions.php:516
7379
  msgid "Inherit"
7380
  msgstr ""
7381
 
7382
- #: includes/template-functions.php:534
7383
  msgid "Button"
7384
  msgstr ""
7385
 
7386
- #: includes/template-functions.php:535
7387
  msgid "Plain Text"
7388
  msgstr ""
7389
 
7390
- #: includes/user-functions.php:557
7391
  msgid "[%s] New User Registration"
7392
  msgstr ""
7393
 
7394
- #: includes/user-functions.php:558
7395
  msgid "New user registration"
7396
  msgstr ""
7397
 
7398
- #: includes/user-functions.php:560
7399
  msgid "E-mail: %s"
7400
  msgstr ""
7401
 
7402
- #: includes/user-functions.php:566
7403
  msgid "[%s] Your username and password"
7404
  msgstr ""
7405
 
7406
- #: includes/user-functions.php:567
7407
  msgid "Your account info"
7408
  msgstr ""
7409
 
7410
- #: includes/user-functions.php:571
7411
  msgid "Password entered at checkout"
7412
  msgstr ""
7413
 
7414
- #: includes/user-functions.php:573
7415
  msgid "Password entered at registration"
7416
  msgstr ""
7417
 
7418
- #: includes/user-functions.php:576
7419
  msgid "Password: %s"
7420
  msgstr ""
7421
 
7422
- #: includes/user-functions.php:580
7423
  msgid "Click here to log in"
7424
  msgstr ""
7425
 
7426
- #: includes/user-functions.php:584
7427
  msgid "To log in, visit: %s"
7428
  msgstr ""
7429
 
7430
- #: includes/user-functions.php:740 includes/user-functions.php:741
7431
  msgid "Verify your account"
7432
  msgstr ""
7433
 
7434
- #: includes/user-functions.php:743
7435
  msgid ""
7436
  "Hello %s,\n"
7437
  "\n"
@@ -7441,33 +7485,33 @@ msgid ""
7441
  "Link missing? Visit the following URL: %s"
7442
  msgstr ""
7443
 
7444
- #: includes/user-functions.php:868
7445
  msgid ""
7446
  "Sorry but your account verification link has expired. <a href=\"%s\">Click "
7447
  "here</a> to request a new verification URL."
7448
  msgstr ""
7449
 
7450
- #: includes/user-functions.php:901
7451
  msgid "You must be logged in to verify your account."
7452
  msgstr ""
7453
 
7454
- #: includes/user-functions.php:901 includes/user-functions.php:905
7455
  msgid "Notice"
7456
  msgstr ""
7457
 
7458
- #: includes/user-functions.php:905
7459
  msgid "Your account has already been verified."
7460
  msgstr ""
7461
 
7462
- #: includes/user-functions.php:950
7463
  msgid "Invalid verification token provided."
7464
  msgstr ""
7465
 
7466
- #: includes/user-functions.php:1055
7467
  msgid "Easy Digital Downloads <a href=\"%s\">iOS App</a>"
7468
  msgstr ""
7469
 
7470
- #: includes/user-functions.php:1062
7471
  msgid "Add to iOS App"
7472
  msgstr ""
7473
 
@@ -7845,32 +7889,32 @@ msgctxt "Entering a discount code"
7845
  msgid "Click to enter it"
7846
  msgstr ""
7847
 
7848
- #: includes/checkout/template.php:749
7849
  msgctxt "Apply discount at checkout"
7850
  msgid "Apply"
7851
  msgstr ""
7852
 
7853
- #: includes/class-edd-discount.php:1439
7854
  msgctxt "error shown when attempting to use a discount before its start date"
7855
  msgid "This discount is invalid."
7856
  msgstr ""
7857
 
7858
- #: includes/class-edd-discount.php:1816
7859
  msgctxt "error for when a discount is invalid based on its configuration"
7860
  msgid "This discount is invalid."
7861
  msgstr ""
7862
 
7863
- #: includes/class-edd-html-elements.php:424
7864
  msgctxt "plural: Example: \"All Categories\""
7865
  msgid "All %s"
7866
  msgstr ""
7867
 
7868
- #: includes/class-edd-html-elements.php:514
7869
  msgctxt "all dropdown items"
7870
  msgid "All"
7871
  msgstr ""
7872
 
7873
- #: includes/class-edd-html-elements.php:515
7874
  msgctxt "no dropdown items"
7875
  msgid "None"
7876
  msgstr ""
2
  # This file is distributed under the same license as the Easy Digital Downloads package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Easy Digital Downloads 2.8.7\n"
6
  "Report-Msgid-Bugs-To: https://easydigitaldownloads.com/\n"
7
+ "POT-Creation-Date: 2017-10-02 19:38:39+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
47
  #: includes/admin/customers/customer-actions.php:345
48
  #: includes/admin/customers/customer-actions.php:603
49
  #: includes/admin/discounts/discount-actions.php:30
50
+ #: includes/admin/discounts/discount-actions.php:112
51
+ #: includes/admin/discounts/discount-actions.php:172
52
+ #: includes/admin/discounts/discount-actions.php:176
53
+ #: includes/admin/discounts/discount-actions.php:197
54
+ #: includes/admin/discounts/discount-actions.php:201
55
+ #: includes/admin/discounts/discount-actions.php:222
56
  #: includes/admin/discounts/edit-discount.php:16
57
  #: includes/admin/downloads/dashboard-columns.php:171
58
  #: includes/admin/import/class-batch-import-downloads.php:65
78
  #: includes/admin/tools/class-edd-tools-recount-single-customer-stats.php:149
79
  #: includes/admin/tools/class-edd-tools-recount-store-earnings.php:154
80
  #: includes/admin/tools/class-edd-tools-reset-stats.php:180
81
+ #: includes/admin/tools.php:1027 includes/admin/tools.php:1033
82
  #: includes/admin/upgrades/upgrade-functions.php:205
83
  #: includes/admin/upgrades/upgrade-functions.php:521
84
  #: includes/admin/upgrades/upgrade-functions.php:603
96
  #: includes/emails/actions.php:53 includes/emails/template.php:243
97
  #: includes/error-tracking.php:40 includes/gateways/functions.php:221
98
  #: includes/gateways/manual.php:33 includes/gateways/paypal-standard.php:155
99
+ #: includes/process-download.php:289 includes/process-download.php:822
100
+ #: includes/query-filters.php:48 includes/user-functions.php:878
101
+ #: includes/user-functions.php:903 includes/user-functions.php:956
102
  msgid "Error"
103
  msgstr ""
104
 
173
 
174
  #: includes/admin/admin-pages.php:43 includes/admin/plugins.php:57
175
  #: includes/admin/settings/contextual-help.php:87
176
+ #: includes/admin/settings/register-settings.php:1220
177
  msgid "Extensions"
178
  msgstr ""
179
 
224
  msgid "Generate New API Keys"
225
  msgstr ""
226
 
227
+ #: includes/admin/class-edd-notices.php:48 includes/template-functions.php:61
228
  msgid ""
229
  "No checkout page has been configured. Visit <a href=\"%s\">Settings</a> to "
230
  "set one."
384
  msgstr ""
385
 
386
  #: includes/admin/customers/class-customer-table.php:72
387
+ #: includes/admin/payments/class-payments-table.php:270
388
  #: includes/admin/reporting/class-file-downloads-logs-list-table.php:146
389
  #: includes/admin/reporting/class-sales-logs-list-table.php:131
390
  msgid "Customer"
405
  #: includes/admin/customers/class-customer-table.php:161
406
  #: includes/admin/discounts/class-discount-codes-table.php:221
407
  #: includes/admin/discounts/class-discount-codes-table.php:289
408
+ #: includes/admin/payments/class-payments-table.php:366
409
+ #: includes/admin/payments/class-payments-table.php:438
410
  #: includes/payments/functions.php:1595
411
  msgid "Delete"
412
  msgstr ""
488
  msgstr ""
489
 
490
  #: includes/admin/customers/customer-actions.php:207
491
+ #: includes/user-functions.php:903
492
  msgid "Nonce verification failed."
493
  msgstr ""
494
 
592
  #: includes/admin/customers/customers.php:242
593
  #: includes/admin/reporting/class-export-payments.php:68
594
  #: includes/admin/reporting/export/class-batch-export-payments.php:48
595
+ #: includes/admin/tools.php:686 includes/checkout/template.php:373
596
  #: templates/shortcode-profile-editor.php:152
597
  msgid "City"
598
  msgstr ""
599
 
600
  #: includes/admin/customers/customers.php:269
601
+ #: includes/admin/settings/register-settings.php:2018
602
+ #: includes/admin/tools.php:695 includes/checkout/template.php:435
603
  #: templates/shortcode-profile-editor.php:171
604
  msgid "State / Province"
605
  msgstr ""
642
  #: includes/admin/customers/customers.php:610
643
  #: includes/admin/payments/view-order-details.php:651
644
  #: includes/admin/payments/view-order-details.php:671
645
+ #: includes/admin/thickbox.php:132 includes/class-edd-html-elements.php:803
646
  msgid "Cancel"
647
  msgstr ""
648
 
667
  msgstr ""
668
 
669
  #: includes/admin/customers/customers.php:378
670
+ #: includes/admin/payments/class-payments-table.php:266
671
  #: includes/admin/payments/view-order-details.php:664
672
  #: includes/admin/reporting/class-export-customers.php:68
673
  #: includes/admin/reporting/class-export-customers.php:79
674
  #: includes/admin/reporting/class-export-payments.php:63
675
  #: includes/admin/reporting/export/class-batch-export-customers.php:44
676
  #: includes/admin/reporting/export/class-batch-export-payments.php:42
677
+ #: includes/admin/tools.php:497 templates/shortcode-register.php:25
678
  msgid "Email"
679
  msgstr ""
680
 
700
  #: includes/admin/downloads/metabox.php:698
701
  #: includes/admin/downloads/metabox.php:823
702
  #: includes/admin/payments/view-order-details.php:490
703
+ #: includes/admin/settings/register-settings.php:2021 includes/scripts.php:226
704
  #: templates/checkout_cart.php:57 templates/checkout_cart.php:75
705
  #: templates/shortcode-profile-editor.php:123
706
  msgid "Remove"
724
  msgstr ""
725
 
726
  #: includes/admin/customers/customers.php:434
727
+ #: includes/admin/payments/class-payments-table.php:265
728
  #: includes/admin/reporting/class-export-payments.php:61
729
  #: includes/admin/reporting/class-export.php:69
730
  #: includes/admin/reporting/export/class-batch-export-customers.php:42
737
  #: includes/admin/discounts/add-discount.php:56
738
  #: includes/admin/discounts/class-discount-codes-table.php:147
739
  #: includes/admin/discounts/edit-discount.php:70
740
+ #: includes/admin/payments/class-payments-table.php:268
741
  #: includes/admin/reporting/class-export-payments.php:74
742
  #: includes/admin/reporting/export/class-batch-export-payments.php:55
743
  #: templates/history-purchases.php:20
746
 
747
  #: includes/admin/customers/customers.php:436
748
  #: includes/admin/downloads/dashboard-columns.php:37
749
+ #: includes/admin/payments/class-payments-table.php:269
750
  #: includes/admin/reporting/class-api-requests-logs-list-table.php:94
751
  #: includes/admin/reporting/class-export-download-history.php:64
752
  #: includes/admin/reporting/class-export-payments.php:80
757
  #: includes/admin/reporting/export/class-batch-export-api-requests.php:47
758
  #: includes/admin/reporting/export/class-batch-export-file-downloads.php:42
759
  #: includes/admin/reporting/export/class-batch-export-payments.php:61
760
+ #: includes/admin/reporting/export/class-batch-export-sales.php:46
761
+ #: includes/admin/tools.php:587 templates/history-purchases.php:19
762
  #: templates/shortcode-receipt.php:59
763
  msgid "Date"
764
  msgstr ""
766
  #: includes/admin/customers/customers.php:437
767
  #: includes/admin/discounts/class-discount-codes-table.php:151
768
  #: includes/admin/discounts/edit-discount.php:175
769
+ #: includes/admin/payments/class-payments-table.php:271
770
  #: includes/admin/reporting/class-export-payments.php:82
771
  #: includes/admin/reporting/export/class-batch-export-downloads.php:49
772
  #: includes/admin/reporting/export/class-batch-export-payments.php:66
773
+ #: includes/admin/tools.php:614
774
  msgid "Status"
775
  msgstr ""
776
 
816
  msgid "Delete Customer"
817
  msgstr ""
818
 
819
+ #: includes/admin/customers/customers.php:638 includes/admin/tools.php:153
820
  msgid "Recount Customer Stats"
821
  msgstr ""
822
 
826
  "customer."
827
  msgstr ""
828
 
829
+ #: includes/admin/customers/customers.php:646 includes/admin/tools.php:140
830
  msgid "Recount Stats"
831
  msgstr ""
832
 
892
 
893
  #: includes/admin/dashboard-widgets.php:138
894
  #: includes/admin/reporting/class-categories-reports-table.php:85
895
+ #: includes/admin/tools.php:914
896
  msgid "Total Earnings"
897
  msgstr ""
898
 
1079
  msgstr ""
1080
 
1081
  #: includes/admin/discounts/class-discount-codes-table.php:127
1082
+ #: includes/admin/payments/class-payments-table.php:242
1083
  #: includes/admin/reporting/class-file-downloads-logs-list-table.php:348
1084
  #: includes/admin/reporting/class-sales-logs-list-table.php:290
1085
  msgid "All"
1169
 
1170
  #: includes/admin/discounts/contextual-help.php:38
1171
  #: includes/admin/settings/contextual-help.php:42
1172
+ #: includes/admin/settings/register-settings.php:1213
1173
+ #: includes/admin/settings/register-settings.php:1268
1174
+ #: includes/admin/settings/register-settings.php:1273
1175
+ #: includes/admin/settings/register-settings.php:1277
1176
+ #: includes/admin/settings/register-settings.php:1282
1177
+ #: includes/admin/settings/register-settings.php:1285
1178
  #: includes/admin/tools.php:68
1179
  msgid "General"
1180
  msgstr ""
1279
  msgstr ""
1280
 
1281
  #: includes/admin/discounts/discount-actions.php:30
1282
+ #: includes/admin/discounts/discount-actions.php:226
1283
  msgid "You do not have permission to create discount codes"
1284
  msgstr ""
1285
 
1286
+ #: includes/admin/discounts/discount-actions.php:112
1287
+ #: includes/admin/discounts/discount-actions.php:201
1288
  msgid "You do not have permission to edit discount codes"
1289
  msgstr ""
1290
 
1291
+ #: includes/admin/discounts/discount-actions.php:172
1292
+ #: includes/admin/discounts/discount-actions.php:197
1293
+ #: includes/admin/discounts/discount-actions.php:222
1294
  msgid "Trying to cheat or something?"
1295
  msgstr ""
1296
 
1297
+ #: includes/admin/discounts/discount-actions.php:176
1298
  msgid "You do not have permission to delete discount codes"
1299
  msgstr ""
1300
 
1304
  msgstr ""
1305
 
1306
  #: includes/admin/discounts/discount-codes.php:36
1307
+ #: includes/admin/payments/class-payments-table.php:185
1308
  #: includes/admin/reporting/logs.php:62 includes/admin/reporting/logs.php:122
1309
  msgid "Search"
1310
  msgstr ""
1678
  msgstr ""
1679
 
1680
  #: includes/admin/downloads/metabox.php:1017
1681
+ #: includes/admin/settings/register-settings.php:737
1682
+ #: includes/admin/thickbox.php:59 includes/checkout/template.php:893
1683
+ #: includes/shortcodes.php:49 includes/template-functions.php:78
1684
  msgid "Purchase"
1685
  msgstr ""
1686
 
1719
  msgstr ""
1720
 
1721
  #: includes/admin/downloads/metabox.php:1091
1722
+ #: includes/admin/settings/register-settings.php:751
1723
  #: includes/admin/thickbox.php:97
1724
  msgid "Add to Cart"
1725
  msgstr ""
1726
 
1727
  #: includes/admin/downloads/metabox.php:1092
1728
+ #: includes/admin/settings/register-settings.php:758 includes/shortcodes.php:47
1729
+ #: includes/template-functions.php:78
1730
  msgid "Buy Now"
1731
  msgstr ""
1732
 
1847
  msgid "All Gateways"
1848
  msgstr ""
1849
 
1850
+ #: includes/admin/payments/class-payments-table.php:152
1851
  msgid "Start Date:"
1852
  msgstr ""
1853
 
1854
+ #: includes/admin/payments/class-payments-table.php:156
1855
  msgid "End Date:"
1856
  msgstr ""
1857
 
1858
+ #: includes/admin/payments/class-payments-table.php:176
1859
  #: includes/admin/reporting/logs.php:179
1860
  msgid "Apply"
1861
  msgstr ""
1862
 
1863
+ #: includes/admin/payments/class-payments-table.php:182
1864
  msgid "Clear Filter"
1865
  msgstr ""
1866
 
1867
+ #: includes/admin/payments/class-payments-table.php:243
1868
  msgid "Completed"
1869
  msgstr ""
1870
 
1871
+ #: includes/admin/payments/class-payments-table.php:244
1872
  #: includes/payments/functions.php:749
1873
  msgid "Pending"
1874
  msgstr ""
1875
 
1876
+ #: includes/admin/payments/class-payments-table.php:245
1877
  #: includes/payments/functions.php:755
1878
  msgid "Processing"
1879
  msgstr ""
1880
 
1881
+ #: includes/admin/payments/class-payments-table.php:246
1882
  #: includes/payments/functions.php:751
1883
  msgid "Refunded"
1884
  msgstr ""
1885
 
1886
+ #: includes/admin/payments/class-payments-table.php:247
1887
  #: includes/admin/reporting/export/class-batch-export-earnings-report.php:68
1888
  #: includes/payments/functions.php:754
1889
  msgid "Revoked"
1890
  msgstr ""
1891
 
1892
+ #: includes/admin/payments/class-payments-table.php:248
1893
  #: includes/admin/reporting/export/class-batch-export-earnings-report.php:70
1894
  #: includes/payments/functions.php:752
1895
  msgid "Failed"
1896
  msgstr ""
1897
 
1898
+ #: includes/admin/payments/class-payments-table.php:249
1899
  #: includes/admin/reporting/export/class-batch-export-earnings-report.php:69
1900
  #: includes/payments/functions.php:753
1901
  msgid "Abandoned"
1902
  msgstr ""
1903
 
1904
+ #: includes/admin/payments/class-payments-table.php:267
1905
  #: templates/history-purchases.php:21
1906
  msgid "Details"
1907
  msgstr ""
1908
 
1909
+ #: includes/admin/payments/class-payments-table.php:332
1910
  #: includes/admin/payments/payments-history.php:90
1911
  msgid "View Order Details"
1912
  msgstr ""
1913
 
1914
+ #: includes/admin/payments/class-payments-table.php:363
1915
  msgid "Resend Purchase Receipt"
1916
  msgstr ""
1917
 
1918
+ #: includes/admin/payments/class-payments-table.php:371
1919
  msgid "(unknown)"
1920
  msgstr ""
1921
 
1922
+ #: includes/admin/payments/class-payments-table.php:424
1923
  msgid "(customer missing)"
1924
  msgstr ""
1925
 
1926
+ #: includes/admin/payments/class-payments-table.php:439
1927
  msgid "Set To Completed"
1928
  msgstr ""
1929
 
1930
+ #: includes/admin/payments/class-payments-table.php:440
1931
  msgid "Set To Pending"
1932
  msgstr ""
1933
 
1934
+ #: includes/admin/payments/class-payments-table.php:441
1935
  msgid "Set To Processing"
1936
  msgstr ""
1937
 
1938
+ #: includes/admin/payments/class-payments-table.php:442
1939
  msgid "Set To Refunded"
1940
  msgstr ""
1941
 
1942
+ #: includes/admin/payments/class-payments-table.php:443
1943
  msgid "Set To Revoked"
1944
  msgstr ""
1945
 
1946
+ #: includes/admin/payments/class-payments-table.php:444
1947
  msgid "Set To Failed"
1948
  msgstr ""
1949
 
1950
+ #: includes/admin/payments/class-payments-table.php:445
1951
  msgid "Set To Abandoned"
1952
  msgstr ""
1953
 
1954
+ #: includes/admin/payments/class-payments-table.php:446
1955
  msgid "Set To Preapproval"
1956
  msgstr ""
1957
 
1958
+ #: includes/admin/payments/class-payments-table.php:447
1959
  msgid "Set To Cancelled"
1960
  msgstr ""
1961
 
1962
+ #: includes/admin/payments/class-payments-table.php:448
1963
  msgid "Resend Email Receipts"
1964
  msgstr ""
1965
 
2156
  msgstr[1] ""
2157
 
2158
  #: includes/admin/payments/view-order-details.php:152
2159
+ #: includes/admin/settings/register-settings.php:713
2160
  msgid "None"
2161
  msgstr ""
2162
 
2169
  #: includes/admin/payments/view-order-details.php:518
2170
  #: includes/admin/reporting/class-export-payments.php:75
2171
  #: includes/admin/reporting/export/class-batch-export-payments.php:56
2172
+ #: includes/admin/tools.php:632 templates/checkout_cart.php:120
2173
  #: templates/shortcode-receipt.php:90
2174
  msgid "Tax"
2175
  msgstr ""
2243
  msgstr ""
2244
 
2245
  #: includes/admin/payments/view-order-details.php:308
2246
+ #: includes/admin/reporting/reports.php:34 includes/class-edd-logging.php:73
2247
  msgid "Logs"
2248
  msgstr ""
2249
 
2297
  msgstr ""
2298
 
2299
  #: includes/admin/payments/view-order-details.php:640
2300
+ #: includes/class-edd-html-elements.php:247
2301
  msgid "Type to search all Customers"
2302
  msgstr ""
2303
 
2323
  msgstr ""
2324
 
2325
  #: includes/admin/payments/view-order-details.php:732
2326
+ #: includes/admin/settings/register-settings.php:322
2327
  msgid "Select a country"
2328
  msgstr ""
2329
 
2332
  msgstr ""
2333
 
2334
  #: includes/admin/payments/view-order-details.php:753
2335
+ #: includes/admin/settings/register-settings.php:330
2336
  msgid "Select a state"
2337
  msgstr ""
2338
 
2446
  #: includes/admin/reporting/class-export-customers.php:66
2447
  #: includes/admin/reporting/class-export-payments.php:64
2448
  #: includes/admin/reporting/export/class-batch-export-payments.php:44
2449
+ #: includes/admin/tools.php:506 includes/checkout/template.php:193
2450
  #: includes/checkout/template.php:199 templates/shortcode-profile-editor.php:38
2451
  msgid "First Name"
2452
  msgstr ""
2454
  #: includes/admin/reporting/class-export-customers.php:67
2455
  #: includes/admin/reporting/class-export-payments.php:65
2456
  #: includes/admin/reporting/export/class-batch-export-payments.php:45
2457
+ #: includes/admin/tools.php:515 includes/checkout/template.php:203
2458
  #: includes/checkout/template.php:209 templates/shortcode-profile-editor.php:43
2459
  msgid "Last Name"
2460
  msgstr ""
2481
  #: includes/admin/reporting/export/class-batch-export-api-requests.php:42
2482
  #: includes/admin/reporting/export/class-batch-export-file-downloads.php:44
2483
  #: includes/admin/reporting/export/class-batch-export-payments.php:64
2484
+ #: includes/admin/tools.php:542
2485
  msgid "IP Address"
2486
  msgstr ""
2487
 
2498
 
2499
  #: includes/admin/reporting/class-export-payments.php:62
2500
  #: includes/admin/reporting/export/class-batch-export-payments.php:41
2501
+ #: includes/admin/tools.php:578
2502
  msgid "Payment Number"
2503
  msgstr ""
2504
 
2519
 
2520
  #: includes/admin/reporting/class-export-payments.php:70
2521
  #: includes/admin/reporting/export/class-batch-export-payments.php:50
2522
+ #: includes/admin/settings/register-settings.php:2017
2523
+ #: includes/admin/tools.php:713 templates/shortcode-profile-editor.php:162
2524
  msgid "Country"
2525
  msgstr ""
2526
 
2527
  #: includes/admin/reporting/class-export-payments.php:71
2528
  #: includes/admin/reporting/export/class-batch-export-payments.php:51
2529
+ #: includes/admin/tools.php:704 includes/checkout/template.php:383
2530
  #: templates/shortcode-profile-editor.php:157
2531
  msgid "Zip / Postal Code"
2532
  msgstr ""
2543
 
2544
  #: includes/admin/reporting/class-export-payments.php:77
2545
  #: includes/admin/reporting/export/class-batch-export-payments.php:58
2546
+ #: includes/admin/tools.php:569 templates/shortcode-receipt.php:53
2547
  msgid "Payment Method"
2548
  msgstr ""
2549
 
2550
  #: includes/admin/reporting/class-export-payments.php:78
2551
  #: includes/admin/reporting/export/class-batch-export-payments.php:59
2552
+ #: includes/admin/tools.php:650
2553
  msgid "Transaction ID"
2554
  msgstr ""
2555
 
2556
  #: includes/admin/reporting/class-export-payments.php:79
2557
  #: includes/admin/reporting/export/class-batch-export-payments.php:60
2558
+ #: includes/admin/tools.php:596
2559
  msgid "Purchase Key"
2560
  msgstr ""
2561
 
2562
  #: includes/admin/reporting/class-export-payments.php:81
2563
  #: includes/admin/reporting/export/class-batch-export-payments.php:62
2564
  #: includes/admin/reporting/export/class-batch-export-sales.php:41
2565
+ #: includes/admin/tools.php:659
2566
  msgid "User"
2567
  msgstr ""
2568
 
2585
  #: includes/admin/reporting/class-gateway-error-logs-list-table.php:130
2586
  #: includes/admin/reporting/class-sales-logs-list-table.php:134
2587
  #: includes/admin/reporting/export/class-batch-export-payments.php:40
2588
+ #: includes/admin/reporting/export/class-batch-export-sales.php:45
2589
  msgid "Payment ID"
2590
  msgstr ""
2591
 
2620
  msgstr ""
2621
 
2622
  #: includes/admin/reporting/class-sales-logs-list-table.php:133
2623
+ #: includes/admin/reporting/export/class-batch-export-sales.php:44
2624
  msgid "Item Amount"
2625
  msgstr ""
2626
 
2631
  msgstr ""
2632
 
2633
  #: includes/admin/reporting/contextual-help.php:48
2634
+ #: includes/admin/reporting/reports.php:32 includes/admin/tools.php:941
2635
  msgid "Export"
2636
  msgstr ""
2637
 
2735
  msgstr ""
2736
 
2737
  #: includes/admin/reporting/export/class-batch-export-downloads.php:54
2738
+ #: includes/admin/settings/register-settings.php:782
2739
+ #: includes/admin/tools.php:896
2740
  msgid "File Download Limit"
2741
  msgstr ""
2742
 
2776
  msgstr ""
2777
 
2778
  #: includes/admin/reporting/export/class-batch-export-payments.php:43
2779
+ #: includes/admin/reporting/export/class-batch-export-sales.php:42
2780
+ #: includes/admin/tools.php:524
2781
  msgid "Customer ID"
2782
  msgstr ""
2783
 
2786
  msgstr ""
2787
 
2788
  #: includes/admin/reporting/export/class-batch-export-payments.php:63
2789
+ #: includes/admin/settings/register-settings.php:352
2790
+ #: includes/admin/settings/register-settings.php:1269
2791
  msgid "Currency"
2792
  msgstr ""
2793
 
2794
  #: includes/admin/reporting/export/class-batch-export-payments.php:65
2795
+ #: includes/admin/tools.php:551
2796
  msgid "Mode (Live|Test)"
2797
  msgstr ""
2798
 
2799
+ #: includes/admin/reporting/export/class-batch-export-payments.php:67
2800
+ msgid "Country Name"
2801
+ msgstr ""
2802
+
2803
  #: includes/admin/reporting/export/export-functions.php:49
2804
  msgid "Export location or file not writable"
2805
  msgstr ""
2915
  msgstr ""
2916
 
2917
  #: includes/admin/reporting/logs.php:144
2918
+ #: includes/admin/settings/register-settings.php:1295
2919
  msgid "File Downloads"
2920
  msgstr ""
2921
 
2945
 
2946
  #: includes/admin/reporting/reports.php:59
2947
  #: includes/admin/settings/contextual-help.php:71
2948
+ #: includes/admin/settings/register-settings.php:1217
2949
  msgid "Taxes"
2950
  msgstr ""
2951
 
2989
  "year."
2990
  msgstr ""
2991
 
2992
+ #: includes/admin/reporting/reports.php:325 includes/admin/tools.php:169
2993
  msgid "Submit"
2994
  msgstr ""
2995
 
3087
  msgstr ""
3088
 
3089
  #: includes/admin/settings/contextual-help.php:48
3090
+ #: includes/admin/settings/register-settings.php:420
3091
+ #: includes/admin/settings/register-settings.php:1214
3092
  msgid "Payment Gateways"
3093
  msgstr ""
3094
 
3117
  msgstr ""
3118
 
3119
  #: includes/admin/settings/contextual-help.php:57
3120
+ #: includes/admin/settings/register-settings.php:1215
3121
  msgid "Emails"
3122
  msgstr ""
3123
 
3137
  msgstr ""
3138
 
3139
  #: includes/admin/settings/contextual-help.php:65
3140
+ #: includes/admin/settings/register-settings.php:1216
3141
  msgid "Styles"
3142
  msgstr ""
3143
 
3220
  msgstr ""
3221
 
3222
  #: includes/admin/settings/contextual-help.php:93
3223
+ #: includes/admin/settings/register-settings.php:1292
3224
  msgid "Miscellaneous"
3225
  msgstr ""
3226
 
3234
  msgid "A description of all the options are provided beside their input boxes."
3235
  msgstr ""
3236
 
3237
+ #: includes/admin/settings/register-settings.php:254
3238
  msgid "Pages"
3239
  msgstr ""
3240
 
3241
+ #: includes/admin/settings/register-settings.php:257
3242
  msgid "Page Settings"
3243
  msgstr ""
3244
 
3245
+ #: includes/admin/settings/register-settings.php:258
3246
  msgid ""
3247
  "Easy Digital Downloads uses the pages below for handling the display of "
3248
  "checkout, purchase confirmation, purchase history, and purchase failures. "
3251
  "in the page content area."
3252
  msgstr ""
3253
 
3254
+ #: includes/admin/settings/register-settings.php:262
3255
  msgid "Checkout Page"
3256
  msgstr ""
3257
 
3258
+ #: includes/admin/settings/register-settings.php:263
3259
  msgid ""
3260
  "This is the checkout page where buyers will complete their purchases. The "
3261
  "[download_checkout] shortcode must be on this page."
3262
  msgstr ""
3263
 
3264
+ #: includes/admin/settings/register-settings.php:267
3265
+ #: includes/admin/settings/register-settings.php:276
3266
+ #: includes/admin/settings/register-settings.php:285
3267
+ #: includes/admin/settings/register-settings.php:294
3268
+ #: includes/admin/settings/register-settings.php:305
3269
  msgid "Select a page"
3270
  msgstr ""
3271
 
3272
+ #: includes/admin/settings/register-settings.php:271
3273
  msgid "Success Page"
3274
  msgstr ""
3275
 
3276
+ #: includes/admin/settings/register-settings.php:272
3277
  msgid ""
3278
  "This is the page buyers are sent to after completing their purchases. The "
3279
  "[edd_receipt] shortcode should be on this page."
3280
  msgstr ""
3281
 
3282
+ #: includes/admin/settings/register-settings.php:280
3283
  msgid "Failed Transaction Page"
3284
  msgstr ""
3285
 
3286
+ #: includes/admin/settings/register-settings.php:281
3287
  msgid ""
3288
  "This is the page buyers are sent to if their transaction is cancelled or "
3289
  "fails."
3290
  msgstr ""
3291
 
3292
+ #: includes/admin/settings/register-settings.php:289
3293
  msgid "Purchase History Page"
3294
  msgstr ""
3295
 
3296
+ #: includes/admin/settings/register-settings.php:290
3297
  msgid ""
3298
  "This page shows a complete purchase history for the current user, including "
3299
  "download links. The [purchase_history] shortcode should be on this page."
3300
  msgstr ""
3301
 
3302
+ #: includes/admin/settings/register-settings.php:298
3303
  msgid "Login Redirect Page"
3304
  msgstr ""
3305
 
3306
+ #: includes/admin/settings/register-settings.php:300
3307
  msgid ""
3308
  "If a customer logs in using the [edd_login] shortcode, this is the page "
3309
  "they will be redirected to. Note, this can be overridden using the redirect "
3310
  "attribute in the shortcode like this: [edd_login redirect=\"%s\"]."
3311
  msgstr ""
3312
 
3313
+ #: includes/admin/settings/register-settings.php:309
3314
  msgid "Store Location"
3315
  msgstr ""
3316
 
3317
+ #: includes/admin/settings/register-settings.php:312
3318
  msgid "Store Location Settings"
3319
  msgstr ""
3320
 
3321
+ #: includes/admin/settings/register-settings.php:313
3322
  msgid ""
3323
  "Easy Digital Downloads will use the following Country and State to pre-fill "
3324
  "fields at checkout. This will also pre-calculate any taxes defined if the "
3325
  "location below has taxes enabled."
3326
  msgstr ""
3327
 
3328
+ #: includes/admin/settings/register-settings.php:317
3329
  msgid "Base Country"
3330
  msgstr ""
3331
 
3332
+ #: includes/admin/settings/register-settings.php:318
3333
  msgid "Where does your store operate from?"
3334
  msgstr ""
3335
 
3336
+ #: includes/admin/settings/register-settings.php:326
3337
  msgid "Base State / Province"
3338
  msgstr ""
3339
 
3340
+ #: includes/admin/settings/register-settings.php:327
3341
  msgid "What state / province does your store operate from?"
3342
  msgstr ""
3343
 
3344
+ #: includes/admin/settings/register-settings.php:335
3345
  msgid "Tracking"
3346
  msgstr ""
3347
 
3348
+ #: includes/admin/settings/register-settings.php:341
3349
  msgid "Allow Usage Tracking?"
3350
  msgstr ""
3351
 
3352
+ #: includes/admin/settings/register-settings.php:343
3353
  msgid ""
3354
  "Allow Easy Digital Downloads to anonymously track how this plugin is used "
3355
  "and help us make the plugin better. Opt-in to tracking and our newsletter "
3358
  "sensitive data is tracked."
3359
  msgstr ""
3360
 
3361
+ #: includes/admin/settings/register-settings.php:353
3362
  msgid ""
3363
  "Choose your currency. Note that some payment gateways have currency "
3364
  "restrictions."
3365
  msgstr ""
3366
 
3367
+ #: includes/admin/settings/register-settings.php:360
3368
  msgid "Currency Position"
3369
  msgstr ""
3370
 
3371
+ #: includes/admin/settings/register-settings.php:361
3372
  msgid "Choose the location of the currency sign."
3373
  msgstr ""
3374
 
3375
+ #: includes/admin/settings/register-settings.php:364
3376
  msgid "Before - $10"
3377
  msgstr ""
3378
 
3379
+ #: includes/admin/settings/register-settings.php:365
3380
  msgid "After - 10$"
3381
  msgstr ""
3382
 
3383
+ #: includes/admin/settings/register-settings.php:370
3384
  msgid "Thousands Separator"
3385
  msgstr ""
3386
 
3387
+ #: includes/admin/settings/register-settings.php:371
3388
  msgid "The symbol (usually , or .) to separate thousands."
3389
  msgstr ""
3390
 
3391
+ #: includes/admin/settings/register-settings.php:378
3392
  msgid "Decimal Separator"
3393
  msgstr ""
3394
 
3395
+ #: includes/admin/settings/register-settings.php:379
3396
  msgid "The symbol (usually , or .) to separate decimal points."
3397
  msgstr ""
3398
 
3399
+ #: includes/admin/settings/register-settings.php:388
3400
+ #: includes/admin/settings/register-settings.php:1270
3401
  msgid "API"
3402
  msgstr ""
3403
 
3404
+ #: includes/admin/settings/register-settings.php:391
3405
  msgid "API Settings"
3406
  msgstr ""
3407
 
3408
+ #: includes/admin/settings/register-settings.php:392
3409
  msgid ""
3410
  "The Easy Digital Downloads REST API provides access to store data through "
3411
  "our API endpoints. Enable this setting if you would like all user accounts "
3412
  "to be able to generate their own API keys."
3413
  msgstr ""
3414
 
3415
+ #: includes/admin/settings/register-settings.php:396
3416
  msgid "Allow User Keys"
3417
  msgstr ""
3418
 
3419
+ #: includes/admin/settings/register-settings.php:397
3420
  msgid ""
3421
  "Check this box to allow all users to generate API keys. Users with the "
3422
  "'manage_shop_settings' capability are always allowed to generate keys."
3423
  msgstr ""
3424
 
3425
+ #: includes/admin/settings/register-settings.php:402
3426
  msgid ""
3427
  "Visit the <a href=\"%s\" target=\"_blank\">REST API documentation</a> for "
3428
  "further information."
3429
  msgstr ""
3430
 
3431
+ #: includes/admin/settings/register-settings.php:414
3432
  msgid "Test Mode"
3433
  msgstr ""
3434
 
3435
+ #: includes/admin/settings/register-settings.php:415
3436
  msgid ""
3437
  "While in test mode no live transactions are processed. To fully use test "
3438
  "mode, you must have a sandbox (test) account for the payment gateway you "
3439
  "are testing."
3440
  msgstr ""
3441
 
3442
+ #: includes/admin/settings/register-settings.php:421
3443
  msgid "Choose the payment gateways you want to enable."
3444
  msgstr ""
3445
 
3446
+ #: includes/admin/settings/register-settings.php:427
3447
  msgid "Default Gateway"
3448
  msgstr ""
3449
 
3450
+ #: includes/admin/settings/register-settings.php:428
3451
  msgid "This gateway will be loaded automatically with the checkout page."
3452
  msgstr ""
3453
 
3454
+ #: includes/admin/settings/register-settings.php:434
3455
  msgid "Accepted Payment Method Icons"
3456
  msgstr ""
3457
 
3458
+ #: includes/admin/settings/register-settings.php:435
3459
  msgid "Display icons for the selected payment methods."
3460
  msgstr ""
3461
 
3462
+ #: includes/admin/settings/register-settings.php:435
3463
  msgid ""
3464
  "You will also need to configure your gateway settings if you are accepting "
3465
  "credit cards."
3466
  msgstr ""
3467
 
3468
+ #: includes/admin/settings/register-settings.php:455
3469
  msgid "Email Template"
3470
  msgstr ""
3471
 
3472
+ #: includes/admin/settings/register-settings.php:456
3473
  msgid ""
3474
  "Choose a template. Click \"Save Changes\" then \"Preview Purchase Receipt\" "
3475
  "to see the new template."
3476
  msgstr ""
3477
 
3478
+ #: includes/admin/settings/register-settings.php:462
3479
  msgid "Logo"
3480
  msgstr ""
3481
 
3482
+ #: includes/admin/settings/register-settings.php:463
3483
  msgid ""
3484
  "Upload or choose a logo to be displayed at the top of the purchase receipt "
3485
  "emails. Displayed on HTML emails only."
3486
  msgstr ""
3487
 
3488
+ #: includes/admin/settings/register-settings.php:468
3489
  msgid "From Name"
3490
  msgstr ""
3491
 
3492
+ #: includes/admin/settings/register-settings.php:469
3493
  msgid ""
3494
  "The name purchase receipts are said to come from. This should probably be "
3495
  "your site or shop name."
3496
  msgstr ""
3497
 
3498
+ #: includes/admin/settings/register-settings.php:475
3499
  msgid "From Email"
3500
  msgstr ""
3501
 
3502
+ #: includes/admin/settings/register-settings.php:476
3503
  msgid ""
3504
  "Email to send purchase receipts from. This will act as the \"from\" and "
3505
  "\"reply-to\" address."
3506
  msgstr ""
3507
 
3508
+ #: includes/admin/settings/register-settings.php:496
3509
  msgid "Purchase Email Subject"
3510
  msgstr ""
3511
 
3512
+ #: includes/admin/settings/register-settings.php:497
3513
  msgid "Enter the subject line for the purchase receipt email."
3514
  msgstr ""
3515
 
3516
+ #: includes/admin/settings/register-settings.php:499
 
3517
  #: includes/admin/settings/register-settings.php:506
3518
+ #: includes/admin/settings/register-settings.php:510
3519
  #: includes/emails/functions.php:45 includes/emails/functions.php:49
3520
  #: includes/emails/functions.php:87 includes/emails/functions.php:91
3521
  #: includes/emails/template.php:141
3522
  msgid "Purchase Receipt"
3523
  msgstr ""
3524
 
3525
+ #: includes/admin/settings/register-settings.php:503
3526
  msgid "Purchase Email Heading"
3527
  msgstr ""
3528
 
3529
+ #: includes/admin/settings/register-settings.php:504
3530
  msgid "Enter the heading for the purchase receipt email."
3531
  msgstr ""
3532
 
3533
+ #: includes/admin/settings/register-settings.php:511
3534
  msgid ""
3535
  "Enter the text that is sent as purchase receipt email to users after "
3536
  "completion of a successful purchase. HTML is accepted. Available template "
3537
  "tags:"
3538
  msgstr ""
3539
 
3540
+ #: includes/admin/settings/register-settings.php:513
3541
  #: includes/emails/template.php:159
3542
  msgid "Dear"
3543
  msgstr ""
3544
 
3545
+ #: includes/admin/settings/register-settings.php:513
3546
  #: includes/emails/template.php:160
3547
  msgid ""
3548
  "Thank you for your purchase. Please click on the link(s) below to download "
3549
  "your files."
3550
  msgstr ""
3551
 
3552
+ #: includes/admin/settings/register-settings.php:519
3553
  msgid "Sale Notification Subject"
3554
  msgstr ""
3555
 
3556
+ #: includes/admin/settings/register-settings.php:520
3557
  msgid "Enter the subject line for the sale notification email."
3558
  msgstr ""
3559
 
3560
+ #: includes/admin/settings/register-settings.php:526
3561
  msgid "Sale Notification"
3562
  msgstr ""
3563
 
3564
+ #: includes/admin/settings/register-settings.php:527
3565
  msgid ""
3566
  "Enter the text that is sent as sale notification email after completion of "
3567
  "a purchase. HTML is accepted. Available template tags:"
3568
  msgstr ""
3569
 
3570
+ #: includes/admin/settings/register-settings.php:533
3571
  msgid "Sale Notification Emails"
3572
  msgstr ""
3573
 
3574
+ #: includes/admin/settings/register-settings.php:534
3575
  msgid ""
3576
  "Enter the email address(es) that should receive a notification anytime a "
3577
  "sale is made, one per line."
3578
  msgstr ""
3579
 
3580
+ #: includes/admin/settings/register-settings.php:540
3581
  msgid "Disable Admin Notifications"
3582
  msgstr ""
3583
 
3584
+ #: includes/admin/settings/register-settings.php:541
3585
  msgid "Check this box if you do not want to receive sales notification emails."
3586
  msgstr ""
3587
 
3588
+ #: includes/admin/settings/register-settings.php:553
3589
  msgid "Disable Styles"
3590
  msgstr ""
3591
 
3592
+ #: includes/admin/settings/register-settings.php:554
3593
  msgid ""
3594
  "Check this to disable all included styling of buttons, checkout fields, and "
3595
  "all other elements."
3596
  msgstr ""
3597
 
3598
+ #: includes/admin/settings/register-settings.php:556
3599
  msgid "Disabling Styles"
3600
  msgstr ""
3601
 
3602
+ #: includes/admin/settings/register-settings.php:557
3603
  msgid ""
3604
  "If your theme has a complete custom CSS file for Easy Digital Downloads, "
3605
  "you may wish to disable our default styles. This is not recommended unless "
3606
  "your sure your theme has a complete custom CSS."
3607
  msgstr ""
3608
 
3609
+ #: includes/admin/settings/register-settings.php:561
3610
  msgid "Buttons"
3611
  msgstr ""
3612
 
3613
+ #: includes/admin/settings/register-settings.php:562
3614
  msgid "Options for add to cart and purchase buttons"
3615
  msgstr ""
3616
 
3617
+ #: includes/admin/settings/register-settings.php:567
3618
  msgid "Default Button Style"
3619
  msgstr ""
3620
 
3621
+ #: includes/admin/settings/register-settings.php:568
3622
  msgid "Choose the style you want to use for the buttons."
3623
  msgstr ""
3624
 
3625
+ #: includes/admin/settings/register-settings.php:574
3626
  msgid "Default Button Color"
3627
  msgstr ""
3628
 
3629
+ #: includes/admin/settings/register-settings.php:575
3630
  msgid "Choose the color you want to use for the buttons."
3631
  msgstr ""
3632
 
3633
+ #: includes/admin/settings/register-settings.php:588
3634
  msgid "Need help?"
3635
  msgstr ""
3636
 
3637
+ #: includes/admin/settings/register-settings.php:589
3638
  msgid ""
3639
  "Visit the <a href=\"%s\" target=\"_blank\">Tax setup documentation</a> for "
3640
  "further information. If you need VAT support, there are options listed on "
3641
  "the documentation page."
3642
  msgstr ""
3643
 
3644
+ #: includes/admin/settings/register-settings.php:594
3645
  msgid "Enable Taxes"
3646
  msgstr ""
3647
 
3648
+ #: includes/admin/settings/register-settings.php:595
3649
  msgid "Check this to enable taxes on purchases."
3650
  msgstr ""
3651
 
3652
+ #: includes/admin/settings/register-settings.php:597
3653
  msgid "Enabling Taxes"
3654
  msgstr ""
3655
 
3656
+ #: includes/admin/settings/register-settings.php:598
3657
  msgid ""
3658
  "With taxes enabled, Easy Digital Downloads will use the rules below to "
3659
  "charge tax to customers. With taxes enabled, customers are required to "
3660
  "input their address on checkout so that taxes can be properly calculated."
3661
  msgstr ""
3662
 
3663
+ #: includes/admin/settings/register-settings.php:602
3664
  msgid "Tax Rates"
3665
  msgstr ""
3666
 
3667
+ #: includes/admin/settings/register-settings.php:603
3668
  msgid ""
3669
  "Add tax rates for specific regions. Enter a percentage, such as 6.5 for "
3670
  "6.5%."
3671
  msgstr ""
3672
 
 
3673
  #: includes/admin/settings/register-settings.php:608
3674
+ #: includes/admin/settings/register-settings.php:612
3675
  msgid "Fallback Tax Rate"
3676
  msgstr ""
3677
 
3678
+ #: includes/admin/settings/register-settings.php:609
3679
  msgid ""
3680
  "Customers not in a specific rate will be charged this tax rate. Enter a "
3681
  "percentage, such as 6.5 for 6.5%. "
3682
  msgstr ""
3683
 
3684
+ #: includes/admin/settings/register-settings.php:613
3685
  msgid ""
3686
  "If the customer's address fails to meet the above tax rules, you can define "
3687
  "a `default` tax rate to be applied to all other customers. Enter a "
3688
  "percentage, such as 6.5 for 6.5%."
3689
  msgstr ""
3690
 
3691
+ #: includes/admin/settings/register-settings.php:617
3692
  msgid "Prices entered with tax"
3693
  msgstr ""
3694
 
3695
+ #: includes/admin/settings/register-settings.php:618
3696
  msgid "This option affects how you enter prices."
3697
  msgstr ""
3698
 
3699
+ #: includes/admin/settings/register-settings.php:622
3700
  msgid "Yes, I will enter prices inclusive of tax"
3701
  msgstr ""
3702
 
3703
+ #: includes/admin/settings/register-settings.php:623
3704
  msgid "No, I will enter prices exclusive of tax"
3705
  msgstr ""
3706
 
3707
+ #: includes/admin/settings/register-settings.php:625
3708
  msgid "Prices Inclusive of Tax"
3709
  msgstr ""
3710
 
3711
+ #: includes/admin/settings/register-settings.php:626
3712
  msgid ""
3713
  "When using prices inclusive of tax, you will be entering your prices as the "
3714
  "total amount you want a customer to pay for the download, including tax. "
3716
  "for the defined total price."
3717
  msgstr ""
3718
 
3719
+ #: includes/admin/settings/register-settings.php:630
3720
  msgid "Display Tax Rate on Prices"
3721
  msgstr ""
3722
 
3723
+ #: includes/admin/settings/register-settings.php:631
3724
  msgid "Some countries require a notice when product prices include tax."
3725
  msgstr ""
3726
 
3727
+ #: includes/admin/settings/register-settings.php:636
3728
  msgid "Display during checkout"
3729
  msgstr ""
3730
 
3731
+ #: includes/admin/settings/register-settings.php:637
3732
  msgid "Should prices on the checkout page be shown with or without tax?"
3733
  msgstr ""
3734
 
3735
+ #: includes/admin/settings/register-settings.php:641
3736
  msgid "Including tax"
3737
  msgstr ""
3738
 
3739
+ #: includes/admin/settings/register-settings.php:642
3740
  msgid "Excluding tax"
3741
  msgstr ""
3742
 
3743
+ #: includes/admin/settings/register-settings.php:644
3744
  msgid "Taxes Displayed for Products on Checkout"
3745
  msgstr ""
3746
 
3747
+ #: includes/admin/settings/register-settings.php:645
3748
  msgid ""
3749
  "This option will determine whether the product price displays with or "
3750
  "without tax on checkout."
3751
  msgstr ""
3752
 
3753
+ #: includes/admin/settings/register-settings.php:663
3754
+ #: includes/admin/settings/register-settings.php:666
3755
  msgid "Redirect to Checkout"
3756
  msgstr ""
3757
 
3758
+ #: includes/admin/settings/register-settings.php:664
3759
  msgid "Immediately redirect to checkout after adding an item to the cart?"
3760
  msgstr ""
3761
 
3762
+ #: includes/admin/settings/register-settings.php:667
3763
  msgid ""
3764
  "When enabled, once an item has been added to the cart, the customer will be "
3765
  "redirected directly to your checkout page. This is useful for stores that "
3766
  "sell single items."
3767
  msgstr ""
3768
 
3769
+ #: includes/admin/settings/register-settings.php:671
3770
  msgid "Cart Item Quantities"
3771
  msgstr ""
3772
 
3773
+ #: includes/admin/settings/register-settings.php:672
3774
  msgid ""
3775
  "Allow quantities to be adjusted when adding %s to the cart, and while "
3776
  "viewing the checkout cart."
3777
  msgstr ""
3778
 
3779
+ #: includes/admin/settings/register-settings.php:677
3780
+ msgid "Debug Mode"
3781
+ msgstr ""
3782
+
3783
+ #: includes/admin/settings/register-settings.php:678
3784
+ msgid ""
3785
+ "Check this box to enable debug mode. When enabled, debug messages will be "
3786
+ "logged and shown in Downloads &rarr; Tools &rarr; Debug Log."
3787
+ msgstr ""
3788
+
3789
+ #: includes/admin/settings/register-settings.php:683
3790
  msgid "Remove Data on Uninstall?"
3791
  msgstr ""
3792
 
3793
+ #: includes/admin/settings/register-settings.php:684
3794
  msgid ""
3795
  "Check this box if you would like EDD to completely remove all of its data "
3796
  "when the plugin is deleted."
3797
  msgstr ""
3798
 
3799
+ #: includes/admin/settings/register-settings.php:691
3800
  msgid "Enforce SSL on Checkout"
3801
  msgstr ""
3802
 
3803
+ #: includes/admin/settings/register-settings.php:692
3804
  msgid ""
3805
  "Check this to force users to be redirected to the secure checkout page. You "
3806
  "must have an SSL certificate installed to use this option."
3807
  msgstr ""
3808
 
3809
+ #: includes/admin/settings/register-settings.php:697
3810
+ #: includes/admin/settings/register-settings.php:700
3811
  msgid "Require Login"
3812
  msgstr ""
3813
 
3814
+ #: includes/admin/settings/register-settings.php:698
3815
  msgid "Require that users be logged-in to purchase files."
3816
  msgstr ""
3817
 
3818
+ #: includes/admin/settings/register-settings.php:701
3819
  msgid ""
3820
  "You can require that customers create and login to user accounts prior to "
3821
  "purchasing from your store by enabling this option. When unchecked, users "
3822
  "can purchase without being logged in by using their name and email address."
3823
  msgstr ""
3824
 
3825
+ #: includes/admin/settings/register-settings.php:705
3826
  msgid "Show Register / Login Form?"
3827
  msgstr ""
3828
 
3829
+ #: includes/admin/settings/register-settings.php:706
3830
  msgid ""
3831
  "Display the registration and login forms on the checkout page for "
3832
  "non-logged-in users."
3833
  msgstr ""
3834
 
3835
+ #: includes/admin/settings/register-settings.php:710
3836
  msgid "Registration and Login Forms"
3837
  msgstr ""
3838
 
3839
+ #: includes/admin/settings/register-settings.php:711
3840
  msgid "Registration Form Only"
3841
  msgstr ""
3842
 
3843
+ #: includes/admin/settings/register-settings.php:712
3844
  msgid "Login Form Only"
3845
  msgstr ""
3846
 
3847
+ #: includes/admin/settings/register-settings.php:718
3848
  msgid "Multiple Discounts"
3849
  msgstr ""
3850
 
3851
+ #: includes/admin/settings/register-settings.php:719
3852
  msgid "Allow customers to use multiple discounts on the same purchase?"
3853
  msgstr ""
3854
 
3855
+ #: includes/admin/settings/register-settings.php:724
3856
  msgid "Enable Cart Saving"
3857
  msgstr ""
3858
 
3859
+ #: includes/admin/settings/register-settings.php:725
3860
  msgid "Check this to enable cart saving on the checkout."
3861
  msgstr ""
3862
 
3863
+ #: includes/admin/settings/register-settings.php:727
3864
  msgid "Cart Saving"
3865
  msgstr ""
3866
 
3867
+ #: includes/admin/settings/register-settings.php:728
3868
  msgid ""
3869
  "Cart saving allows shoppers to create a temporary link to their current "
3870
  "shopping cart so they can come back to it later, or share it with someone."
3871
  msgstr ""
3872
 
3873
+ #: includes/admin/settings/register-settings.php:734
3874
  msgid "Complete Purchase Text"
3875
  msgstr ""
3876
 
3877
+ #: includes/admin/settings/register-settings.php:735
3878
  msgid "The button label for completing a purchase."
3879
  msgstr ""
3880
 
3881
+ #: includes/admin/settings/register-settings.php:741
3882
  msgid "Register Text"
3883
  msgstr ""
3884
 
3885
+ #: includes/admin/settings/register-settings.php:742
3886
  msgid "The button label for completing a free purchase."
3887
  msgstr ""
3888
 
3889
+ #: includes/admin/settings/register-settings.php:744
3890
+ #: includes/checkout/template.php:896
3891
  msgid "Free Download"
3892
  msgstr ""
3893
 
3894
+ #: includes/admin/settings/register-settings.php:748
3895
  msgid "Add to Cart Text"
3896
  msgstr ""
3897
 
3898
+ #: includes/admin/settings/register-settings.php:749
3899
  msgid "Text shown on the Add to Cart Buttons."
3900
  msgstr ""
3901
 
3902
+ #: includes/admin/settings/register-settings.php:755
3903
  msgid "Buy Now Text"
3904
  msgstr ""
3905
 
3906
+ #: includes/admin/settings/register-settings.php:756
3907
  msgid "Text shown on the Buy Now Buttons."
3908
  msgstr ""
3909
 
3910
+ #: includes/admin/settings/register-settings.php:764
3911
+ #: includes/admin/settings/register-settings.php:767
3912
  msgid "Download Method"
3913
  msgstr ""
3914
 
3915
+ #: includes/admin/settings/register-settings.php:765
3916
  msgid "Select the file download method. Note, not all methods work on all servers."
3917
  msgstr ""
3918
 
3919
+ #: includes/admin/settings/register-settings.php:768
3920
  msgid ""
3921
  "Due to its consistency in multiple platforms and better file protection, "
3922
  "'forced' is the default method. Because Easy Digital Downloads uses PHP to "
3927
  "method can help resolve this."
3928
  msgstr ""
3929
 
3930
+ #: includes/admin/settings/register-settings.php:770
3931
  msgid "Forced"
3932
  msgstr ""
3933
 
3934
+ #: includes/admin/settings/register-settings.php:771
3935
  msgid "Redirect"
3936
  msgstr ""
3937
 
3938
+ #: includes/admin/settings/register-settings.php:776
3939
  msgid "Symlink File Downloads?"
3940
  msgstr ""
3941
 
3942
+ #: includes/admin/settings/register-settings.php:777
3943
  msgid ""
3944
  "Check this if you are delivering really large files or having problems with "
3945
  "file downloads completing."
3946
  msgstr ""
3947
 
3948
+ #: includes/admin/settings/register-settings.php:783
3949
  msgid ""
3950
  "The maximum number of times files can be downloaded for purchases. Can be "
3951
  "overwritten for each %s."
3952
  msgstr ""
3953
 
3954
+ #: includes/admin/settings/register-settings.php:786
3955
  msgid "File Download Limits"
3956
  msgstr ""
3957
 
3958
+ #: includes/admin/settings/register-settings.php:787
3959
  msgid ""
3960
  "Set the global default for the number of times a customer can download "
3961
  "items they purchase. Using a value of 0 is unlimited. This can be defined "
3963
  "individual purchase."
3964
  msgstr ""
3965
 
3966
+ #: includes/admin/settings/register-settings.php:791
3967
+ #: includes/admin/settings/register-settings.php:793
3968
  msgid "Download Link Expiration"
3969
  msgstr ""
3970
 
3971
+ #: includes/admin/settings/register-settings.php:792
3972
  msgid ""
3973
  "How long should download links be valid for? Default is 24 hours from the "
3974
  "time they are generated. Enter a time in hours."
3975
  msgstr ""
3976
 
3977
+ #: includes/admin/settings/register-settings.php:794
3978
  msgid ""
3979
  "When a customer receives a link to their downloads via email, in their "
3980
  "receipt, or in their purchase history, the link will only be valid for the "
3983
  "customer."
3984
  msgstr ""
3985
 
3986
+ #: includes/admin/settings/register-settings.php:802
3987
  msgid "Disable Redownload?"
3988
  msgstr ""
3989
 
3990
+ #: includes/admin/settings/register-settings.php:803
3991
  msgid ""
3992
  "Check this if you do not want to allow users to redownload items from their "
3993
  "purchase history."
3994
  msgstr ""
3995
 
3996
+ #: includes/admin/settings/register-settings.php:810
3997
  msgid "Enable SKU Entry"
3998
  msgstr ""
3999
 
4000
+ #: includes/admin/settings/register-settings.php:811
4001
  msgid ""
4002
  "Check this box to allow entry of product SKUs. SKUs will be shown on "
4003
  "purchase receipt and exported purchase histories."
4004
  msgstr ""
4005
 
4006
+ #: includes/admin/settings/register-settings.php:816
4007
  msgid "Sequential Order Numbers"
4008
  msgstr ""
4009
 
4010
+ #: includes/admin/settings/register-settings.php:817
4011
  msgid "Check this box to enable sequential order numbers."
4012
  msgstr ""
4013
 
4014
+ #: includes/admin/settings/register-settings.php:822
4015
  msgid "Sequential Starting Number"
4016
  msgstr ""
4017
 
4018
+ #: includes/admin/settings/register-settings.php:823
4019
  msgid "The number at which the sequence should begin."
4020
  msgstr ""
4021
 
4022
+ #: includes/admin/settings/register-settings.php:830
4023
  msgid "Sequential Number Prefix"
4024
  msgstr ""
4025
 
4026
+ #: includes/admin/settings/register-settings.php:831
4027
  msgid "A prefix to prepend to all sequential order numbers."
4028
  msgstr ""
4029
 
4030
+ #: includes/admin/settings/register-settings.php:836
4031
  msgid "Sequential Number Postfix"
4032
  msgstr ""
4033
 
4034
+ #: includes/admin/settings/register-settings.php:837
4035
  msgid "A postfix to append to all sequential order numbers."
4036
  msgstr ""
4037
 
4038
+ #: includes/admin/settings/register-settings.php:844
4039
  msgid "Agree to Terms"
4040
  msgstr ""
4041
 
4042
+ #: includes/admin/settings/register-settings.php:845
4043
  msgid ""
4044
  "Check this to show an agree to terms on the checkout that users must agree "
4045
  "to before purchasing."
4046
  msgstr ""
4047
 
4048
+ #: includes/admin/settings/register-settings.php:850
4049
  msgid "Agree to Terms Label"
4050
  msgstr ""
4051
 
4052
+ #: includes/admin/settings/register-settings.php:851
4053
  msgid "Label shown next to the agree to terms check box."
4054
  msgstr ""
4055
 
4056
+ #: includes/admin/settings/register-settings.php:857
4057
  msgid "Agreement Text"
4058
  msgstr ""
4059
 
4060
+ #: includes/admin/settings/register-settings.php:858
4061
  msgid "If Agree to Terms is checked, enter the agreement terms here."
4062
  msgstr ""
4063
 
4064
+ #: includes/admin/settings/register-settings.php:868
4065
  msgid "Buy Now Disabled"
4066
  msgstr ""
4067
 
4068
+ #: includes/admin/settings/register-settings.php:869
4069
  msgid ""
4070
  "Buy Now buttons are only available for stores that have a single supported "
4071
  "gateway active and that do not use taxes."
4072
  msgstr ""
4073
 
4074
+ #: includes/admin/settings/register-settings.php:967
4075
  msgid "Settings updated."
4076
  msgstr ""
4077
 
4078
+ #: includes/admin/settings/register-settings.php:1107
4079
  msgid "Error setting default gateway. No gateways are enabled."
4080
  msgstr ""
4081
 
4082
+ #: includes/admin/settings/register-settings.php:1120
4083
  msgid "%s could not be set as the default gateway. It must first be enabled."
4084
  msgstr ""
4085
 
4086
+ #: includes/admin/settings/register-settings.php:1223
4087
  msgid "Licenses"
4088
  msgstr ""
4089
 
4090
+ #: includes/admin/settings/register-settings.php:1226
4091
  msgid "Misc"
4092
  msgstr ""
4093
 
4094
+ #: includes/admin/settings/register-settings.php:1274
4095
  #: includes/gateways/functions.php:25 includes/gateways/paypal-standard.php:33
4096
  msgid "PayPal Standard"
4097
  msgstr ""
4098
 
4099
+ #: includes/admin/settings/register-settings.php:1278
4100
  msgid "Purchase Receipts"
4101
  msgstr ""
4102
 
4103
+ #: includes/admin/settings/register-settings.php:1279
4104
  msgid "New Sale Notifications"
4105
  msgstr ""
4106
 
4107
+ #: includes/admin/settings/register-settings.php:1288
4108
  msgid "Main"
4109
  msgstr ""
4110
 
4111
+ #: includes/admin/settings/register-settings.php:1293 includes/install.php:92
4112
+ #: includes/template-functions.php:193 templates/widget-cart-checkout.php:6
4113
  #: templates/widget-cart-empty.php:7
4114
  msgid "Checkout"
4115
  msgstr ""
4116
 
4117
+ #: includes/admin/settings/register-settings.php:1294
4118
  msgid "Button Text"
4119
  msgstr ""
4120
 
4121
+ #: includes/admin/settings/register-settings.php:1296
4122
  msgid "Accounting"
4123
  msgstr ""
4124
 
4125
+ #: includes/admin/settings/register-settings.php:1297
4126
  msgid "Terms of Agreement"
4127
  msgstr ""
4128
 
4129
+ #: includes/admin/settings/register-settings.php:1539
4130
  msgid ""
4131
  "Don't see what you need? More Payment Gateway options are available <a "
4132
  "href=\"%s\">here</a>."
4133
  msgstr ""
4134
 
4135
+ #: includes/admin/settings/register-settings.php:1760
4136
  msgid "The callback function used for the %s setting is missing."
4137
  msgstr ""
4138
 
4139
+ #: includes/admin/settings/register-settings.php:1918
4140
  msgid "Upload File"
4141
  msgstr ""
4142
 
4143
+ #: includes/admin/settings/register-settings.php:2019
4144
  msgid "Country Wide"
4145
  msgstr ""
4146
 
4147
+ #: includes/admin/settings/register-settings.php:2020
4148
  msgid "Rate"
4149
  msgstr ""
4150
 
4151
+ #: includes/admin/settings/register-settings.php:2020
4152
  msgid ""
4153
  "<strong>Regional tax rates: </strong>When a customer enters an address on "
4154
  "checkout that matches the specified region for this tax rate, the cart tax "
4155
  "will adjust automatically. Enter a percentage, such as 6.5 for 6.5%."
4156
  msgstr ""
4157
 
4158
+ #: includes/admin/settings/register-settings.php:2037
4159
+ #: includes/admin/settings/register-settings.php:2082
4160
  msgid "Choose a country"
4161
  msgstr ""
4162
 
4163
+ #: includes/admin/settings/register-settings.php:2052
4164
  msgid "Choose a state"
4165
  msgstr ""
4166
 
4167
+ #: includes/admin/settings/register-settings.php:2064
4168
+ #: includes/admin/settings/register-settings.php:2092
4169
  msgid "Apply to whole country"
4170
  msgstr ""
4171
 
4172
+ #: includes/admin/settings/register-settings.php:2067
4173
+ #: includes/admin/settings/register-settings.php:2095
4174
  msgid "Remove Rate"
4175
  msgstr ""
4176
 
4177
+ #: includes/admin/settings/register-settings.php:2100
4178
  msgid "Add Tax Rate"
4179
  msgstr ""
4180
 
4181
+ #: includes/admin/settings/register-settings.php:2153
4182
  msgid ""
4183
  "Your license key expired on %s. Please <a href=\"%s\" "
4184
  "target=\"_blank\">renew your license key</a>."
4185
  msgstr ""
4186
 
4187
+ #: includes/admin/settings/register-settings.php:2166
4188
  msgid ""
4189
  "Your license key has been disabled. Please <a href=\"%s\" "
4190
  "target=\"_blank\">contact support</a> for more information."
4191
  msgstr ""
4192
 
4193
+ #: includes/admin/settings/register-settings.php:2178
4194
  msgid ""
4195
  "Invalid license. Please <a href=\"%s\" target=\"_blank\">visit your account "
4196
  "page</a> and verify it."
4197
  msgstr ""
4198
 
4199
+ #: includes/admin/settings/register-settings.php:2191
4200
  msgid ""
4201
  "Your %s is not active for this URL. Please <a href=\"%s\" "
4202
  "target=\"_blank\">visit your account page</a> to manage your license key "
4203
  "URLs."
4204
  msgstr ""
4205
 
4206
+ #: includes/admin/settings/register-settings.php:2203
4207
  msgid "This appears to be an invalid license key for %s."
4208
  msgstr ""
4209
 
4210
+ #: includes/admin/settings/register-settings.php:2212
4211
  msgid ""
4212
  "Your license key has reached its activation limit. <a href=\"%s\">View "
4213
  "possible upgrades</a> now."
4214
  msgstr ""
4215
 
4216
+ #: includes/admin/settings/register-settings.php:2221
4217
  msgid ""
4218
  "The key you entered belongs to a bundle, please use the product specific "
4219
  "license key."
4220
  msgstr ""
4221
 
4222
+ #: includes/admin/settings/register-settings.php:2229
4223
  msgid "unknown_error"
4224
  msgstr ""
4225
 
4226
+ #: includes/admin/settings/register-settings.php:2230
4227
  msgid ""
4228
  "There was an error with this license key: %s. Please <a href=\"%s\">contact "
4229
  "our support team</a>."
4230
  msgstr ""
4231
 
4232
+ #: includes/admin/settings/register-settings.php:2250
4233
  msgid "License key never expires."
4234
  msgstr ""
4235
 
4236
+ #: includes/admin/settings/register-settings.php:2257
4237
  msgid ""
4238
  "Your license key expires soon! It expires on %s. <a href=\"%s\" "
4239
  "target=\"_blank\">Renew your license key</a>."
4240
  msgstr ""
4241
 
4242
+ #: includes/admin/settings/register-settings.php:2267
4243
  msgid "Your license key expires on %s."
4244
  msgstr ""
4245
 
4246
+ #: includes/admin/settings/register-settings.php:2285
4247
  msgid "To receive updates, please enter your valid %s license key."
4248
  msgstr ""
4249
 
4250
+ #: includes/admin/settings/register-settings.php:2298
4251
  msgid "Deactivate License"
4252
  msgstr ""
4253
 
4320
  msgid "System Info"
4321
  msgstr ""
4322
 
4323
+ #: includes/admin/tools.php:78 includes/admin/tools.php:1079
4324
+ msgid "Debug Log"
4325
+ msgstr ""
4326
+
4327
+ #: includes/admin/tools.php:81
4328
  msgid "Import/Export"
4329
  msgstr ""
4330
 
4331
+ #: includes/admin/tools.php:102
4332
  msgid "Banned Emails"
4333
  msgstr ""
4334
 
4335
+ #: includes/admin/tools.php:104
4336
  msgid "Emails placed in the box below will not be allowed to make purchases."
4337
  msgstr ""
4338
 
4339
+ #: includes/admin/tools.php:108
4340
  msgid ""
4341
  "Enter emails and/or domains (starting with \"@\") and/or TLDs (starting "
4342
  "with \".\") to disallow, one per line."
4343
  msgstr ""
4344
 
4345
+ #: includes/admin/tools.php:113 includes/admin/tools.php:298
4346
  msgid "Save"
4347
  msgstr ""
4348
 
4349
+ #: includes/admin/tools.php:142
4350
  msgid "Use these tools to recount / reset store stats."
4351
  msgstr ""
4352
 
4353
+ #: includes/admin/tools.php:149 includes/scripts.php:90
4354
  msgid "Please select an option"
4355
  msgstr ""
4356
 
4357
+ #: includes/admin/tools.php:150
4358
  msgid "Recount Store Earnings and Sales"
4359
  msgstr ""
4360
 
4361
+ #: includes/admin/tools.php:151
4362
  msgid "Recount Earnings and Sales for a %s"
4363
  msgstr ""
4364
 
4365
+ #: includes/admin/tools.php:152
4366
  msgid "Recount Earnings and Sales for All %s"
4367
  msgstr ""
4368
 
4369
+ #: includes/admin/tools.php:155
4370
  msgid "Reset Store"
4371
  msgstr ""
4372
 
4373
+ #: includes/admin/tools.php:174
4374
  msgid "Recalculates the total store earnings and sales."
4375
  msgstr ""
4376
 
4377
+ #: includes/admin/tools.php:175
4378
  msgid "Recalculates the earnings and sales stats for a specific %s."
4379
  msgstr ""
4380
 
4381
+ #: includes/admin/tools.php:176
4382
  msgid "Recalculates the earnings and sales stats for all %s."
4383
  msgstr ""
4384
 
4385
+ #: includes/admin/tools.php:177
4386
  msgid "Recalculates the lifetime value and purchase counts for all customers."
4387
  msgstr ""
4388
 
4389
+ #: includes/admin/tools.php:179
4390
  msgid ""
4391
  "<strong>Deletes</strong> all payment records, customers, and related log "
4392
  "entries."
4393
  msgstr ""
4394
 
4395
+ #: includes/admin/tools.php:209 includes/admin/tools.php:217
4396
  msgid "Clear Incomplete Upgrade Notice"
4397
  msgstr ""
4398
 
4399
+ #: includes/admin/tools.php:211
4400
  msgid ""
4401
  "Sometimes a database upgrade notice may not be cleared after an upgrade is "
4402
  "completed due to conflicts with other extensions or other minor issues."
4403
  msgstr ""
4404
 
4405
+ #: includes/admin/tools.php:212
4406
  msgid ""
4407
  "If you're certain these upgrades have been completed, you can clear these "
4408
  "upgrade notices by clicking the button below. If you have any questions "
4410
  "we'll be happy to help."
4411
  msgstr ""
4412
 
4413
+ #: includes/admin/tools.php:249
4414
  msgid ""
4415
  "These API keys allow you to use the <a href=\"%s\">EDD REST API</a> to "
4416
  "retrieve store data in JSON or XML for external applications or devices, "
4417
  "such as the <a href=\"%s\">EDD mobile app</a>."
4418
  msgstr ""
4419
 
4420
+ #: includes/admin/tools.php:278
4421
  msgid "Enable Beta Versions"
4422
  msgstr ""
4423
 
4424
+ #: includes/admin/tools.php:280
4425
  msgid ""
4426
  "Checking any of the below checkboxes will opt you in to receive pre-release "
4427
  "update notifications. You can opt-out at any time. Pre-release updates do "
4429
  "update notifications."
4430
  msgstr ""
4431
 
4432
+ #: includes/admin/tools.php:290
4433
  msgid "Get updates for pre-release versions of %s"
4434
  msgstr ""
4435
 
4436
+ #: includes/admin/tools.php:450
4437
  msgid "Import Payment History"
4438
  msgstr ""
4439
 
4440
+ #: includes/admin/tools.php:452
4441
  msgid "Import a CSV file of payment records."
4442
  msgstr ""
4443
 
4444
+ #: includes/admin/tools.php:462 includes/admin/tools.php:744
4445
  msgid "Import CSV"
4446
  msgstr ""
4447
 
4448
+ #: includes/admin/tools.php:472
4449
  msgid ""
4450
  "Each column loaded from the CSV needs to be mapped to a payment field. "
4451
  "Select the column that should be mapped to each field below. Any columns "
4453
  "guide</a> for assistance with importing payment records."
4454
  msgstr ""
4455
 
4456
+ #: includes/admin/tools.php:481
4457
  msgid "Payment Field"
4458
  msgstr ""
4459
 
4460
+ #: includes/admin/tools.php:482 includes/admin/tools.php:764
4461
  msgid "CSV Column"
4462
  msgstr ""
4463
 
4464
+ #: includes/admin/tools.php:483 includes/admin/tools.php:765
4465
  msgid "Data Preview"
4466
  msgstr ""
4467
 
4468
+ #: includes/admin/tools.php:488
4469
  msgid "Currency Code"
4470
  msgstr ""
4471
 
4472
+ #: includes/admin/tools.php:491 includes/admin/tools.php:500
4473
+ #: includes/admin/tools.php:509 includes/admin/tools.php:518
4474
+ #: includes/admin/tools.php:527 includes/admin/tools.php:536
4475
+ #: includes/admin/tools.php:545 includes/admin/tools.php:554
4476
+ #: includes/admin/tools.php:563 includes/admin/tools.php:572
4477
+ #: includes/admin/tools.php:581 includes/admin/tools.php:590
4478
+ #: includes/admin/tools.php:599 includes/admin/tools.php:608
4479
+ #: includes/admin/tools.php:617 includes/admin/tools.php:626
4480
+ #: includes/admin/tools.php:635 includes/admin/tools.php:644
4481
+ #: includes/admin/tools.php:653 includes/admin/tools.php:662
4482
+ #: includes/admin/tools.php:671 includes/admin/tools.php:680
4483
+ #: includes/admin/tools.php:689 includes/admin/tools.php:698
4484
+ #: includes/admin/tools.php:707 includes/admin/tools.php:716
4485
+ #: includes/admin/tools.php:773 includes/admin/tools.php:782
4486
+ #: includes/admin/tools.php:791 includes/admin/tools.php:800
4487
+ #: includes/admin/tools.php:809 includes/admin/tools.php:818
4488
+ #: includes/admin/tools.php:827 includes/admin/tools.php:836
4489
+ #: includes/admin/tools.php:845 includes/admin/tools.php:854
4490
+ #: includes/admin/tools.php:863 includes/admin/tools.php:872
4491
+ #: includes/admin/tools.php:881 includes/admin/tools.php:890
4492
+ #: includes/admin/tools.php:899 includes/admin/tools.php:908
4493
+ #: includes/admin/tools.php:917
4494
  msgid "- Ignore this field -"
4495
  msgstr ""
4496
 
4497
+ #: includes/admin/tools.php:494 includes/admin/tools.php:503
4498
+ #: includes/admin/tools.php:512 includes/admin/tools.php:521
4499
+ #: includes/admin/tools.php:530 includes/admin/tools.php:539
4500
+ #: includes/admin/tools.php:548 includes/admin/tools.php:557
4501
+ #: includes/admin/tools.php:566 includes/admin/tools.php:575
4502
+ #: includes/admin/tools.php:584 includes/admin/tools.php:593
4503
+ #: includes/admin/tools.php:602 includes/admin/tools.php:611
4504
+ #: includes/admin/tools.php:620 includes/admin/tools.php:629
4505
+ #: includes/admin/tools.php:638 includes/admin/tools.php:647
4506
+ #: includes/admin/tools.php:656 includes/admin/tools.php:665
4507
+ #: includes/admin/tools.php:674 includes/admin/tools.php:683
4508
+ #: includes/admin/tools.php:692 includes/admin/tools.php:701
4509
+ #: includes/admin/tools.php:710 includes/admin/tools.php:719
4510
+ #: includes/admin/tools.php:776 includes/admin/tools.php:785
4511
+ #: includes/admin/tools.php:794 includes/admin/tools.php:803
4512
+ #: includes/admin/tools.php:812 includes/admin/tools.php:821
4513
+ #: includes/admin/tools.php:830 includes/admin/tools.php:839
4514
+ #: includes/admin/tools.php:848 includes/admin/tools.php:857
4515
+ #: includes/admin/tools.php:866 includes/admin/tools.php:875
4516
+ #: includes/admin/tools.php:884 includes/admin/tools.php:893
4517
+ #: includes/admin/tools.php:902 includes/admin/tools.php:911
4518
+ #: includes/admin/tools.php:920
4519
  msgid "- select field to preview data -"
4520
  msgstr ""
4521
 
4522
+ #: includes/admin/tools.php:533
4523
  msgid "Discount Code(s)"
4524
  msgstr ""
4525
 
4526
+ #: includes/admin/tools.php:560
4527
  msgid "Parent Payment ID"
4528
  msgstr ""
4529
 
4530
+ #: includes/admin/tools.php:605
4531
  msgid "Purchased Product(s)"
4532
  msgstr ""
4533
 
4534
+ #: includes/admin/tools.php:623 templates/checkout_cart.php:102
4535
  #: templates/shortcode-receipt.php:98
4536
  msgid "Subtotal"
4537
  msgstr ""
4538
 
4539
+ #: includes/admin/tools.php:641 templates/checkout_cart.php:129
4540
  msgid "Total"
4541
  msgstr ""
4542
 
4543
+ #: includes/admin/tools.php:668
4544
  msgid "Address Line 1"
4545
  msgstr ""
4546
 
4547
+ #: includes/admin/tools.php:677
4548
  msgid "Address Line 2"
4549
  msgstr ""
4550
 
4551
+ #: includes/admin/tools.php:724 includes/admin/tools.php:925
4552
  msgid "Process Import"
4553
  msgstr ""
4554
 
4555
+ #: includes/admin/tools.php:732
4556
  msgid "Import Download Products"
4557
  msgstr ""
4558
 
4559
+ #: includes/admin/tools.php:734
4560
  msgid "Import a CSV file of products."
4561
  msgstr ""
4562
 
4563
+ #: includes/admin/tools.php:754
4564
  msgid ""
4565
  "Each column loaded from the CSV needs to be mapped to a Download product "
4566
  "field. Select the column that should be mapped to each field below. Any "
4569
  "products."
4570
  msgstr ""
4571
 
4572
+ #: includes/admin/tools.php:763
4573
  msgid "Product Field"
4574
  msgstr ""
4575
 
4576
+ #: includes/admin/tools.php:770
4577
  msgid "Product Author"
4578
  msgstr ""
4579
 
4580
+ #: includes/admin/tools.php:779
4581
  msgid "Product Categories"
4582
  msgstr ""
4583
 
4584
+ #: includes/admin/tools.php:788
4585
  msgid "Product Creation Date"
4586
  msgstr ""
4587
 
4588
+ #: includes/admin/tools.php:797
4589
  msgid "Product Description"
4590
  msgstr ""
4591
 
4592
+ #: includes/admin/tools.php:806
4593
  msgid "Product Excerpt"
4594
  msgstr ""
4595
 
4596
+ #: includes/admin/tools.php:815
4597
  msgid "Product Image"
4598
  msgstr ""
4599
 
4600
+ #: includes/admin/tools.php:824
4601
  msgid "Product Notes"
4602
  msgstr ""
4603
 
4604
+ #: includes/admin/tools.php:833
4605
  msgid "Product Price(s)"
4606
  msgstr ""
4607
 
4608
+ #: includes/admin/tools.php:842
4609
  msgid "Product SKU"
4610
  msgstr ""
4611
 
4612
+ #: includes/admin/tools.php:851
4613
  msgid "Product Slug"
4614
  msgstr ""
4615
 
4616
+ #: includes/admin/tools.php:860
4617
  msgid "Product Status"
4618
  msgstr ""
4619
 
4620
+ #: includes/admin/tools.php:869
4621
  msgid "Product Tags"
4622
  msgstr ""
4623
 
4624
+ #: includes/admin/tools.php:878
4625
  msgid "Product Title"
4626
  msgstr ""
4627
 
4628
+ #: includes/admin/tools.php:887
4629
  msgid "Download Files"
4630
  msgstr ""
4631
 
4632
+ #: includes/admin/tools.php:905
4633
  msgid "Sale Count"
4634
  msgstr ""
4635
 
4636
+ #: includes/admin/tools.php:933
4637
  msgid "Export Settings"
4638
  msgstr ""
4639
 
4640
+ #: includes/admin/tools.php:935
4641
  msgid ""
4642
  "Export the Easy Digital Downloads settings for this site as a .json file. "
4643
  "This allows you to easily import the configuration into another site."
4644
  msgstr ""
4645
 
4646
+ #: includes/admin/tools.php:936
4647
  msgid ""
4648
  "To export shop data (purchases, customers, etc), visit the <a "
4649
  "href=\"%s\">Reports</a> page."
4650
  msgstr ""
4651
 
4652
+ #: includes/admin/tools.php:948
4653
  msgid "Import Settings"
4654
  msgstr ""
4655
 
4656
+ #: includes/admin/tools.php:950
4657
  msgid ""
4658
  "Import the Easy Digital Downloads settings from a .json file. This file can "
4659
  "be obtained by exporting the settings on another site using the form above."
4660
  msgstr ""
4661
 
4662
+ #: includes/admin/tools.php:958
4663
  msgid "Import"
4664
  msgstr ""
4665
 
4666
+ #: includes/admin/tools.php:1027
4667
  msgid "Please upload a valid .json file"
4668
  msgstr ""
4669
 
4670
+ #: includes/admin/tools.php:1033
4671
  msgid "Please upload a file to import"
4672
  msgstr ""
4673
 
4674
+ #: includes/admin/tools.php:1082
4675
+ msgid ""
4676
+ "Use this tool to help debug Easy Digital Downloads functionality. "
4677
+ "Developers may use the <a "
4678
+ "href=\"https://github.com/easydigitaldownloads/easy-digital-downloads/blob/"
4679
+ "master/includes/class-edd-logging.php\">EDD_Logging class</a> to record "
4680
+ "debug data."
4681
+ msgstr ""
4682
+
4683
+ #: includes/admin/tools.php:1087
4684
+ msgid "Download Debug Log File"
4685
+ msgstr ""
4686
+
4687
+ #: includes/admin/tools.php:1088
4688
+ msgid "Clear Log"
4689
+ msgstr ""
4690
+
4691
  #: includes/admin/tracking.php:256
4692
  msgid ""
4693
  "Allow Easy Digital Downloads to track plugin usage? Opt-in to tracking and "
4813
  msgstr ""
4814
 
4815
  #: includes/ajax-functions.php:684 includes/ajax-functions.php:776
4816
+ #: includes/class-edd-html-elements.php:342
4817
  msgid "No users found"
4818
  msgstr ""
4819
 
4875
  msgid "No download logs found!"
4876
  msgstr ""
4877
 
4878
+ #: includes/api/class-edd-api.php:1952 includes/user-functions.php:1038
4879
  msgid "Easy Digital Downloads API Keys"
4880
  msgstr ""
4881
 
4882
+ #: includes/api/class-edd-api.php:1961 includes/user-functions.php:1043
4883
  msgid "Generate API Key"
4884
  msgstr ""
4885
 
4886
+ #: includes/api/class-edd-api.php:1963 includes/user-functions.php:1045
4887
  msgid "Public key:"
4888
  msgstr ""
4889
 
4890
+ #: includes/api/class-edd-api.php:1964 includes/user-functions.php:1046
4891
  msgid "Secret key:"
4892
  msgstr ""
4893
 
4894
+ #: includes/api/class-edd-api.php:1965 includes/user-functions.php:1047
4895
  msgid "Token:"
4896
  msgstr ""
4897
 
4898
+ #: includes/api/class-edd-api.php:1967 includes/user-functions.php:1049
4899
  msgid "Revoke API Keys"
4900
  msgstr ""
4901
 
5174
  msgid "Enter a coupon code if you have one."
5175
  msgstr ""
5176
 
5177
+ #: includes/checkout/template.php:749 includes/process-purchase.php:350
5178
  #: includes/scripts.php:67
5179
  msgid "Enter discount"
5180
  msgstr ""
5181
 
5182
+ #: includes/checkout/template.php:772
5183
  msgid "Agree to Terms?"
5184
  msgstr ""
5185
 
5186
+ #: includes/checkout/template.php:785
5187
  msgid "Show Terms"
5188
  msgstr ""
5189
 
5190
+ #: includes/checkout/template.php:786
5191
  msgid "Hide Terms"
5192
  msgstr ""
5193
 
5194
+ #: includes/checkout/template.php:810
5195
  msgid "Purchase Total:"
5196
  msgstr ""
5197
 
5198
+ #: includes/checkout/template.php:836
5199
  msgid "Go back"
5200
  msgstr ""
5201
 
5202
+ #: includes/checkout/template.php:859
5203
  msgid "Next"
5204
  msgstr ""
5205
 
5355
  msgid "%d customers created in %d seconds"
5356
  msgstr ""
5357
 
5358
+ #: includes/class-edd-cli.php:328 includes/class-edd-html-elements.php:265
5359
  msgid "No customers found"
5360
  msgstr ""
5361
 
5363
  msgid "Customer User ID: %s"
5364
  msgstr ""
5365
 
5366
+ #: includes/class-edd-cli.php:335 includes/user-functions.php:565
5367
+ #: includes/user-functions.php:574
5368
  msgid "Username: %s"
5369
  msgstr ""
5370
 
5440
  msgid " Product: %s - %s"
5441
  msgstr ""
5442
 
5443
+ #: includes/class-edd-cli.php:444 includes/class-edd-html-elements.php:403
5444
  #: includes/shortcodes.php:270
5445
  msgid "No discounts found"
5446
  msgstr ""
5525
  msgid "Once Weekly"
5526
  msgstr ""
5527
 
5528
+ #: includes/class-edd-customer.php:200 includes/class-edd-discount.php:254
5529
  #: includes/class-edd-download.php:196
5530
  msgid "Can't get property %s"
5531
  msgstr ""
5532
 
5533
+ #: includes/class-edd-discount.php:1511
5534
  msgid "This discount has reached its maximum usage."
5535
  msgstr ""
5536
 
5537
+ #: includes/class-edd-discount.php:1545
5538
  msgid "Minimum order of %s not met."
5539
  msgstr ""
5540
 
5541
+ #: includes/class-edd-discount.php:1633 includes/class-edd-discount.php:1662
5542
  msgid "The product requirements for this discount are not met."
5543
  msgstr ""
5544
 
5545
+ #: includes/class-edd-discount.php:1680
5546
  msgid "This discount is not valid for the cart contents."
5547
  msgstr ""
5548
 
5549
+ #: includes/class-edd-discount.php:1770
5550
  msgid "This discount has already been redeemed."
5551
  msgstr ""
5552
 
5553
+ #: includes/class-edd-discount.php:1851
5554
  msgid "This discount is expired."
5555
  msgstr ""
5556
 
5557
+ #: includes/class-edd-discount.php:1856
5558
  msgid "This discount is not active."
5559
  msgstr ""
5560
 
5570
  msgid "Type to search all %s"
5571
  msgstr ""
5572
 
5573
+ #: includes/class-edd-html-elements.php:243
5574
  msgid "Select a Customer"
5575
  msgstr ""
5576
 
5577
+ #: includes/class-edd-html-elements.php:260
5578
  msgid "No customer attached"
5579
  msgstr ""
5580
 
5581
+ #: includes/class-edd-html-elements.php:320
5582
  msgid "Select a User"
5583
  msgstr ""
5584
 
5585
+ #: includes/class-edd-html-elements.php:324
5586
  msgid "Type to search all Users"
5587
  msgstr ""
5588
 
5589
+ #: includes/class-edd-html-elements.php:411
5590
  msgid "Select a discount"
5591
  msgstr ""
5592
 
5593
+ #: includes/class-edd-html-elements.php:788
5594
  msgid "Enter username"
5595
  msgstr ""
5596
 
6023
  "of a purchase. HTML is accepted. Available template tags:"
6024
  msgstr ""
6025
 
6026
+ #: includes/deprecated-functions.php:517 includes/process-download.php:822
6027
  msgid "Sorry but you have hit your download limit for this file."
6028
  msgstr ""
6029
 
6587
  msgid "Passwords do not match"
6588
  msgstr ""
6589
 
6590
+ #: includes/misc-functions.php:320 tests/tests-misc.php:75
6591
  msgid "US Dollars (&#36;)"
6592
  msgstr ""
6593
 
6594
+ #: includes/misc-functions.php:321 tests/tests-misc.php:76
6595
  msgid "Euros (&euro;)"
6596
  msgstr ""
6597
 
6598
+ #: includes/misc-functions.php:322 tests/tests-misc.php:77
6599
  msgid "Pound Sterling (&pound;)"
6600
  msgstr ""
6601
 
6602
+ #: includes/misc-functions.php:323 tests/tests-misc.php:78
6603
  msgid "Australian Dollars (&#36;)"
6604
  msgstr ""
6605
 
6606
+ #: includes/misc-functions.php:324 tests/tests-misc.php:79
6607
  msgid "Brazilian Real (R&#36;)"
6608
  msgstr ""
6609
 
6610
+ #: includes/misc-functions.php:325 tests/tests-misc.php:80
6611
  msgid "Canadian Dollars (&#36;)"
6612
  msgstr ""
6613
 
6614
+ #: includes/misc-functions.php:326 tests/tests-misc.php:81
6615
  msgid "Czech Koruna"
6616
  msgstr ""
6617
 
6618
+ #: includes/misc-functions.php:327 tests/tests-misc.php:82
6619
  msgid "Danish Krone"
6620
  msgstr ""
6621
 
6622
+ #: includes/misc-functions.php:328 tests/tests-misc.php:83
6623
  msgid "Hong Kong Dollar (&#36;)"
6624
  msgstr ""
6625
 
6626
+ #: includes/misc-functions.php:329 tests/tests-misc.php:84
6627
  msgid "Hungarian Forint"
6628
  msgstr ""
6629
 
6630
+ #: includes/misc-functions.php:330 tests/tests-misc.php:85
6631
  msgid "Israeli Shekel (&#8362;)"
6632
  msgstr ""
6633
 
6634
+ #: includes/misc-functions.php:331 tests/tests-misc.php:86
6635
  msgid "Japanese Yen (&yen;)"
6636
  msgstr ""
6637
 
6638
+ #: includes/misc-functions.php:332 tests/tests-misc.php:87
6639
  msgid "Malaysian Ringgits"
6640
  msgstr ""
6641
 
6642
+ #: includes/misc-functions.php:333 tests/tests-misc.php:88
6643
  msgid "Mexican Peso (&#36;)"
6644
  msgstr ""
6645
 
6646
+ #: includes/misc-functions.php:334 tests/tests-misc.php:89
6647
  msgid "New Zealand Dollar (&#36;)"
6648
  msgstr ""
6649
 
6650
+ #: includes/misc-functions.php:335 tests/tests-misc.php:90
6651
  msgid "Norwegian Krone"
6652
  msgstr ""
6653
 
6654
+ #: includes/misc-functions.php:336 tests/tests-misc.php:91
6655
  msgid "Philippine Pesos"
6656
  msgstr ""
6657
 
6658
+ #: includes/misc-functions.php:337 tests/tests-misc.php:92
6659
  msgid "Polish Zloty"
6660
  msgstr ""
6661
 
6662
+ #: includes/misc-functions.php:338 tests/tests-misc.php:93
6663
  msgid "Singapore Dollar (&#36;)"
6664
  msgstr ""
6665
 
6666
+ #: includes/misc-functions.php:339 tests/tests-misc.php:94
6667
  msgid "Swedish Krona"
6668
  msgstr ""
6669
 
6670
+ #: includes/misc-functions.php:340 tests/tests-misc.php:95
6671
  msgid "Swiss Franc"
6672
  msgstr ""
6673
 
6674
+ #: includes/misc-functions.php:341 tests/tests-misc.php:96
6675
  msgid "Taiwan New Dollars"
6676
  msgstr ""
6677
 
6678
+ #: includes/misc-functions.php:342 tests/tests-misc.php:97
6679
  msgid "Thai Baht (&#3647;)"
6680
  msgstr ""
6681
 
6682
+ #: includes/misc-functions.php:343 tests/tests-misc.php:98
6683
  msgid "Indian Rupee (&#8377;)"
6684
  msgstr ""
6685
 
6686
+ #: includes/misc-functions.php:344 tests/tests-misc.php:99
6687
  msgid "Turkish Lira (&#8378;)"
6688
  msgstr ""
6689
 
6690
+ #: includes/misc-functions.php:345 tests/tests-misc.php:100
6691
  msgid "Iranian Rial (&#65020;)"
6692
  msgstr ""
6693
 
6694
+ #: includes/misc-functions.php:346 tests/tests-misc.php:101
6695
  msgid "Russian Rubles"
6696
  msgstr ""
6697
 
6698
+ #: includes/misc-functions.php:347 tests/tests-misc.php:102
6699
  msgid "Angolan Kwanza"
6700
  msgstr ""
6701
 
6702
+ #: includes/misc-functions.php:536
6703
  msgid ""
6704
  "%1$s is <strong>deprecated</strong> since Easy Digital Downloads version "
6705
  "%2$s! Use %3$s instead."
6706
  msgstr ""
6707
 
6708
+ #: includes/misc-functions.php:540
6709
  msgid ""
6710
  "%1$s is <strong>deprecated</strong> since Easy Digital Downloads version "
6711
  "%2$s with no alternative available."
6712
  msgstr ""
6713
 
6714
+ #: includes/misc-functions.php:577
6715
  msgid ""
6716
  "The %1$s argument of %2$s is <strong>deprecated</strong> since Easy Digital "
6717
  "Downloads version %3$s! Please use %4$s instead."
6718
  msgstr ""
6719
 
6720
+ #: includes/misc-functions.php:581
6721
  msgid ""
6722
  "The %1$s argument of %2$s is <strong>deprecated</strong> since Easy Digital "
6723
  "Downloads version %3$s with no alternative available."
7061
  msgstr[0] ""
7062
  msgstr[1] ""
7063
 
7064
+ #: includes/process-download.php:146
7065
+ msgid "Error downloading file. Please contact support."
7066
+ msgstr ""
7067
+
7068
+ #: includes/process-download.php:146
7069
+ msgid "File download error"
7070
+ msgstr ""
7071
+
7072
+ #: includes/process-download.php:288
7073
  msgid "You do not have permission to download this file"
7074
  msgstr ""
7075
 
7076
+ #: includes/process-download.php:289
7077
  msgid "Purchase Verification Failed"
7078
  msgstr ""
7079
 
7080
+ #: includes/process-download.php:898
7081
  msgid "Invalid file"
7082
  msgstr ""
7083
 
7084
+ #: includes/process-download.php:905
7085
  msgid "The requested file could not be found. Error 404."
7086
  msgstr ""
7087
 
7088
+ #: includes/process-download.php:906
7089
  msgid "File not found"
7090
  msgstr ""
7091
 
7219
  msgid "You have already added this item to your cart"
7220
  msgstr ""
7221
 
7222
+ #: includes/scripts.php:89 includes/template-functions.php:188
7223
  msgid "Loading"
7224
  msgstr ""
7225
 
7371
  msgid "Error removing email address from profile. Please try again later."
7372
  msgstr ""
7373
 
7374
+ #: includes/template-functions.php:145
7375
  msgid "Free"
7376
  msgstr ""
7377
 
7378
+ #: includes/template-functions.php:202
7379
  msgid "Added to cart"
7380
  msgstr ""
7381
 
7382
+ #: includes/template-functions.php:208
7383
  msgid "Includes %1$s&#37; tax"
7384
  msgstr ""
7385
 
7386
+ #: includes/template-functions.php:210
7387
  msgid "Excluding %1$s&#37; tax"
7388
  msgstr ""
7389
 
7390
+ #: includes/template-functions.php:495
7391
  msgid "White"
7392
  msgstr ""
7393
 
7394
+ #: includes/template-functions.php:499
7395
  msgid "Gray"
7396
  msgstr ""
7397
 
7398
+ #: includes/template-functions.php:503
7399
  msgid "Blue"
7400
  msgstr ""
7401
 
7402
+ #: includes/template-functions.php:507
7403
  msgid "Red"
7404
  msgstr ""
7405
 
7406
+ #: includes/template-functions.php:511
7407
  msgid "Green"
7408
  msgstr ""
7409
 
7410
+ #: includes/template-functions.php:515
7411
  msgid "Yellow"
7412
  msgstr ""
7413
 
7414
+ #: includes/template-functions.php:519
7415
  msgid "Orange"
7416
  msgstr ""
7417
 
7418
+ #: includes/template-functions.php:523
7419
  msgid "Dark Gray"
7420
  msgstr ""
7421
 
7422
+ #: includes/template-functions.php:527
7423
  msgid "Inherit"
7424
  msgstr ""
7425
 
7426
+ #: includes/template-functions.php:545
7427
  msgid "Button"
7428
  msgstr ""
7429
 
7430
+ #: includes/template-functions.php:546
7431
  msgid "Plain Text"
7432
  msgstr ""
7433
 
7434
+ #: includes/user-functions.php:563
7435
  msgid "[%s] New User Registration"
7436
  msgstr ""
7437
 
7438
+ #: includes/user-functions.php:564
7439
  msgid "New user registration"
7440
  msgstr ""
7441
 
7442
+ #: includes/user-functions.php:566
7443
  msgid "E-mail: %s"
7444
  msgstr ""
7445
 
7446
+ #: includes/user-functions.php:572
7447
  msgid "[%s] Your username and password"
7448
  msgstr ""
7449
 
7450
+ #: includes/user-functions.php:573
7451
  msgid "Your account info"
7452
  msgstr ""
7453
 
7454
+ #: includes/user-functions.php:577
7455
  msgid "Password entered at checkout"
7456
  msgstr ""
7457
 
7458
+ #: includes/user-functions.php:579
7459
  msgid "Password entered at registration"
7460
  msgstr ""
7461
 
7462
+ #: includes/user-functions.php:582
7463
  msgid "Password: %s"
7464
  msgstr ""
7465
 
7466
+ #: includes/user-functions.php:586
7467
  msgid "Click here to log in"
7468
  msgstr ""
7469
 
7470
+ #: includes/user-functions.php:590
7471
  msgid "To log in, visit: %s"
7472
  msgstr ""
7473
 
7474
+ #: includes/user-functions.php:746 includes/user-functions.php:747
7475
  msgid "Verify your account"
7476
  msgstr ""
7477
 
7478
+ #: includes/user-functions.php:749
7479
  msgid ""
7480
  "Hello %s,\n"
7481
  "\n"
7485
  "Link missing? Visit the following URL: %s"
7486
  msgstr ""
7487
 
7488
+ #: includes/user-functions.php:874
7489
  msgid ""
7490
  "Sorry but your account verification link has expired. <a href=\"%s\">Click "
7491
  "here</a> to request a new verification URL."
7492
  msgstr ""
7493
 
7494
+ #: includes/user-functions.php:907
7495
  msgid "You must be logged in to verify your account."
7496
  msgstr ""
7497
 
7498
+ #: includes/user-functions.php:907 includes/user-functions.php:911
7499
  msgid "Notice"
7500
  msgstr ""
7501
 
7502
+ #: includes/user-functions.php:911
7503
  msgid "Your account has already been verified."
7504
  msgstr ""
7505
 
7506
+ #: includes/user-functions.php:956
7507
  msgid "Invalid verification token provided."
7508
  msgstr ""
7509
 
7510
+ #: includes/user-functions.php:1061
7511
  msgid "Easy Digital Downloads <a href=\"%s\">iOS App</a>"
7512
  msgstr ""
7513
 
7514
+ #: includes/user-functions.php:1068
7515
  msgid "Add to iOS App"
7516
  msgstr ""
7517
 
7889
  msgid "Click to enter it"
7890
  msgstr ""
7891
 
7892
+ #: includes/checkout/template.php:750
7893
  msgctxt "Apply discount at checkout"
7894
  msgid "Apply"
7895
  msgstr ""
7896
 
7897
+ #: includes/class-edd-discount.php:1442
7898
  msgctxt "error shown when attempting to use a discount before its start date"
7899
  msgid "This discount is invalid."
7900
  msgstr ""
7901
 
7902
+ #: includes/class-edd-discount.php:1819
7903
  msgctxt "error for when a discount is invalid based on its configuration"
7904
  msgid "This discount is invalid."
7905
  msgstr ""
7906
 
7907
+ #: includes/class-edd-html-elements.php:439
7908
  msgctxt "plural: Example: \"All Categories\""
7909
  msgid "All %s"
7910
  msgstr ""
7911
 
7912
+ #: includes/class-edd-html-elements.php:529
7913
  msgctxt "all dropdown items"
7914
  msgid "All"
7915
  msgstr ""
7916
 
7917
+ #: includes/class-edd-html-elements.php:530
7918
  msgctxt "no dropdown items"
7919
  msgid "None"
7920
  msgstr ""
readme.txt CHANGED
@@ -6,7 +6,7 @@ Donate link: https://easydigitaldownloads.com/donate/
6
  Tags: download, downloads, e-store, eshop, digital downloads, e-commerce, wp-ecommerce, wp ecommerce, ecommerce, ebook
7
  Requires at least: 4.4
8
  Tested up to: 4.9
9
- Stable Tag: 2.8.6
10
  License: GNU Version 2 or Any Later Version
11
 
12
  The easiest way to sell digital products with WordPress.
@@ -213,6 +213,30 @@ Yes. Easy Digital Downloads also includes default support for Amazon Payments an
213
 
214
  == Changelog ==
215
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
216
  = 2.8.6, September 11, 2017 =
217
 
218
  * Fix: Amazon Payments could cause Javascript error on checkout.
6
  Tags: download, downloads, e-store, eshop, digital downloads, e-commerce, wp-ecommerce, wp ecommerce, ecommerce, ebook
7
  Requires at least: 4.4
8
  Tested up to: 4.9
9
+ Stable Tag: 2.8.7
10
  License: GNU Version 2 or Any Later Version
11
 
12
  The easiest way to sell digital products with WordPress.
213
 
214
  == Changelog ==
215
 
216
+
217
+ = 2.8.7, October 2, 2017 =
218
+
219
+ * IMPORTANT: Product dropdown was losing selections when using variable pricing. Please verify any variable priced bundles you may have configured.
220
+ * Fix: File download errors could occur if the stream type was no longer registered.
221
+ * Fix: The 'No checkout page configured' error is now limited to once display per page.
222
+ * Fix: Calls to EDD_Customer->update_meta could throw a notice if called to early in the WordPress load process.
223
+ * Fix: The edd_get_users_purchased_products function did not respect the status argument passed in.
224
+ * Fix: The base state/province displayed empty when no pre-populated state or province data was available.
225
+ * Fix: Performance improvements to edd_get_discounts.
226
+ * Fix: Newly registered user's ID was not set on pre-existing payments.
227
+ * Fix: During purchase, the customer name was set to email if last name was empty.
228
+ * Fix: Corrected many non-numeric value and data handling issues in PHP 7.1.
229
+ * Fix: Corrected an issue with Chosen placeholders.
230
+ * New: Added the EDD_Logging class, to allow for easier debugging by developers.
231
+ * New: The country name has been added to the payment export.
232
+ * New: Added a discounts_total property to the EDD_Payment class.
233
+ * New: Hyphens are now allowed in discount codes.
234
+ * New: The Customer ID is now included in the sales report.
235
+ * Tweak: Added better responsiveness in WordPress admin.
236
+ * Tweak: Fixed a typo in the docs for the payments create CLI command.
237
+ * Tweak: Wrapped discount fields in <span> tags.
238
+ * Tweak: Fixed CSS targeting on edd_repeatable_thumbnail_size_field selector.
239
+
240
  = 2.8.6, September 11, 2017 =
241
 
242
  * Fix: Amazon Payments could cause Javascript error on checkout.