Easy Digital Downloads - Version 2.8.5

Version Description

Download this release

Release Info

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

Code changes from version 2.8.4 to 2.8.5

Files changed (36) hide show
  1. assets/css/edd-admin.css +3 -0
  2. assets/css/edd-admin.min.css +1 -1
  3. easy-digital-downloads.php +2 -2
  4. includes/admin/discounts/add-discount.php +1 -1
  5. includes/admin/discounts/edit-discount.php +1 -1
  6. includes/admin/payments/view-order-details.php +21 -9
  7. includes/admin/reporting/class-sales-logs-list-table.php +5 -4
  8. includes/admin/tools/class-edd-tools-recount-all-stats.php +11 -2
  9. includes/admin/tools/class-edd-tools-recount-download-stats.php +11 -2
  10. includes/admin/tools/class-edd-tools-recount-single-customer-stats.php +15 -6
  11. includes/admin/tools/class-edd-tools-recount-store-earnings.php +11 -2
  12. includes/admin/tools/class-edd-tools-reset-stats.php +11 -2
  13. includes/ajax-functions.php +16 -3
  14. includes/cart/class-edd-cart.php +6 -5
  15. includes/checkout/template.php +5 -0
  16. includes/class-edd-html-elements.php +21 -1
  17. includes/class-edd-register-meta.php +7 -0
  18. includes/class-edd-session.php +38 -4
  19. includes/country-functions.php +36 -0
  20. includes/discount-functions.php +1 -1
  21. includes/emails/class-edd-email-tags.php +3 -3
  22. includes/emails/functions.php +55 -14
  23. includes/emails/template.php +19 -21
  24. includes/login-register.php +4 -4
  25. includes/misc-functions.php +6 -2
  26. includes/payments/class-edd-payment.php +32 -4
  27. includes/shortcodes.php +0 -3
  28. includes/template-functions.php +1 -1
  29. includes/user-functions.php +2 -8
  30. languages/easy-digital-downloads.pot +195 -183
  31. readme.txt +20 -3
  32. templates/edd.css +33 -12
  33. templates/edd.min.css +1 -1
  34. templates/shortcode-download.php +1 -1
  35. templates/shortcode-login.php +1 -1
  36. templates/shortcode-register.php +1 -1
assets/css/edd-admin.css CHANGED
@@ -655,6 +655,9 @@ input[class*="edd-price-field"] {
655
  font-size: 14px;
656
  font-weight: 500;
657
  }
 
 
 
658
  .edd-edit-purchase-element .edd-purchased-download-actions {
659
  color: #777;
660
  line-height: 1.4;
655
  font-size: 14px;
656
  font-weight: 500;
657
  }
658
+ .edd-edit-purchase-element .edd-purchased-download-title .deleted {
659
+ color: #777;
660
+ }
661
  .edd-edit-purchase-element .edd-purchased-download-actions {
662
  color: #777;
663
  line-height: 1.4;
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-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}#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}
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.4
9
  * Text Domain: easy-digital-downloads
10
  * Domain Path: languages
11
  *
@@ -206,7 +206,7 @@ final class Easy_Digital_Downloads {
206
 
207
  // Plugin version.
208
  if ( ! defined( 'EDD_VERSION' ) ) {
209
- define( 'EDD_VERSION', '2.8.4' );
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.5
9
  * Text Domain: easy-digital-downloads
10
  * Domain Path: languages
11
  *
206
 
207
  // Plugin version.
208
  if ( ! defined( 'EDD_VERSION' ) ) {
209
+ define( 'EDD_VERSION', '2.8.5' );
210
  }
211
 
212
  // Plugin Folder Path.
includes/admin/discounts/add-discount.php CHANGED
@@ -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: 40px;"/>
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>
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>
includes/admin/discounts/edit-discount.php CHANGED
@@ -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: 40px;"/>
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>
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>
includes/admin/payments/view-order-details.php CHANGED
@@ -393,6 +393,7 @@ $customer = new EDD_Customer( $payment->customer_id );
393
  $item_tax = isset( $cart_item['tax'] ) ? $cart_item['tax'] : 0;
394
  $price_id = isset( $cart_item['item_number']['options']['price_id'] ) ? $cart_item['item_number']['options']['price_id'] : null;
395
  $quantity = isset( $cart_item['quantity'] ) && $cart_item['quantity'] > 0 ? $cart_item['quantity'] : 1;
 
396
 
397
  if( false === $price ) {
398
 
@@ -403,16 +404,27 @@ $customer = new EDD_Customer( $payment->customer_id );
403
 
404
  <li class="download">
405
  <span class="edd-purchased-download-title">
406
- <a href="<?php echo admin_url( 'post.php?post=' . $item_id . '&action=edit' ); ?>">
407
- <?php echo get_the_title( $item_id );
408
- if ( isset( $cart_items[ $key ]['item_number'] ) && isset( $cart_items[ $key ]['item_number']['options'] ) ) {
409
- $price_options = $cart_items[ $key ]['item_number']['options'];
410
- if ( edd_has_variable_prices( $item_id ) && isset( $price_id ) ) {
411
- echo ' - ' . edd_get_price_option_name( $item_id, $price_id, $payment_id );
 
 
412
  }
413
- }
414
- ?>
415
- </a>
 
 
 
 
 
 
 
 
 
416
  </span>
417
  <input type="hidden" name="edd-payment-details-downloads[<?php echo $key; ?>][id]" class="edd-payment-details-download-id" value="<?php echo esc_attr( $item_id ); ?>"/>
418
  <input type="hidden" name="edd-payment-details-downloads[<?php echo $key; ?>][price_id]" class="edd-payment-details-download-price-id" value="<?php echo esc_attr( $price_id ); ?>"/>
393
  $item_tax = isset( $cart_item['tax'] ) ? $cart_item['tax'] : 0;
394
  $price_id = isset( $cart_item['item_number']['options']['price_id'] ) ? $cart_item['item_number']['options']['price_id'] : null;
395
  $quantity = isset( $cart_item['quantity'] ) && $cart_item['quantity'] > 0 ? $cart_item['quantity'] : 1;
396
+ $download = new EDD_Download( $item_id );
397
 
398
  if( false === $price ) {
399
 
404
 
405
  <li class="download">
406
  <span class="edd-purchased-download-title">
407
+ <?php if ( ! empty( $download->ID ) ) : ?>
408
+ <a href="<?php echo admin_url( 'post.php?post=' . $item_id . '&action=edit' ); ?>">
409
+ <?php echo $download->get_name();
410
+ if ( isset( $cart_items[ $key ]['item_number'] ) && isset( $cart_items[ $key ]['item_number']['options'] ) ) {
411
+ $price_options = $cart_items[ $key ]['item_number']['options'];
412
+ if ( edd_has_variable_prices( $item_id ) && isset( $price_id ) ) {
413
+ echo ' - ' . edd_get_price_option_name( $item_id, $price_id, $payment_id );
414
+ }
415
  }
416
+ ?>
417
+ </a>
418
+ <?php else: ?>
419
+ <span class="deleted">
420
+ <?php if ( ! empty( $cart_item['name'] ) ) : ?>
421
+ <?php echo $cart_item['name']; ?>&nbsp;-&nbsp;
422
+ <em>(<?php _e( 'Deleted', 'easy-digital-downloads' ); ?>)</em>
423
+ <?php else: ?>
424
+ <em><?php printf( __( '%s deleted', 'easy-digital-downloads' ), edd_get_label_singular() ); ?></em>
425
+ <?php endif; ?>
426
+ </span>
427
+ <?php endif; ?>
428
  </span>
429
  <input type="hidden" name="edd-payment-details-downloads[<?php echo $key; ?>][id]" class="edd-payment-details-download-id" value="<?php echo esc_attr( $item_id ); ?>"/>
430
  <input type="hidden" name="edd-payment-details-downloads[<?php echo $key; ?>][price_id]" class="edd-payment-details-download-price-id" value="<?php echo esc_attr( $price_id ); ?>"/>
includes/admin/reporting/class-sales-logs-list-table.php CHANGED
@@ -315,10 +315,11 @@ class EDD_Sales_Log_Table extends WP_List_Table {
315
  $download = empty( $_GET['s'] ) ? $this->get_filtered_download() : null;
316
 
317
  $log_query = array(
318
- 'post_parent' => $download,
319
- 'log_type' => 'sale',
320
- 'paged' => $paged,
321
- 'meta_query' => $this->get_meta_query(),
 
322
  );
323
 
324
  $logs = $edd_logs->get_connected_logs( $log_query );
315
  $download = empty( $_GET['s'] ) ? $this->get_filtered_download() : null;
316
 
317
  $log_query = array(
318
+ 'post_parent' => $download,
319
+ 'log_type' => 'sale',
320
+ 'paged' => $paged,
321
+ 'meta_query' => $this->get_meta_query(),
322
+ 'posts_per_page' => $this->per_page,
323
  );
324
 
325
  $logs = $edd_logs->get_connected_logs( $log_query );
includes/admin/tools/class-edd-tools-recount-all-stats.php CHANGED
@@ -343,7 +343,16 @@ class EDD_Tools_Recount_All_Stats extends EDD_Batch_Export {
343
  global $wpdb;
344
  $value = $wpdb->get_var( $wpdb->prepare( "SELECT option_value FROM $wpdb->options WHERE option_name = '%s'", $key ) );
345
 
346
- return empty( $value ) ? false : maybe_unserialize( $value );
 
 
 
 
 
 
 
 
 
347
  }
348
 
349
  /**
@@ -357,7 +366,7 @@ class EDD_Tools_Recount_All_Stats extends EDD_Batch_Export {
357
  private function store_data( $key, $value ) {
358
  global $wpdb;
359
 
360
- $value = maybe_serialize( $value );
361
 
362
  $data = array(
363
  'option_name' => $key,
343
  global $wpdb;
344
  $value = $wpdb->get_var( $wpdb->prepare( "SELECT option_value FROM $wpdb->options WHERE option_name = '%s'", $key ) );
345
 
346
+ if ( empty( $value ) ) {
347
+ return false;
348
+ }
349
+
350
+ $maybe_json = json_decode( $value );
351
+ if ( ! is_null( $maybe_json ) ) {
352
+ $value = json_decode( $value, true );
353
+ }
354
+
355
+ return $value;
356
  }
357
 
358
  /**
366
  private function store_data( $key, $value ) {
367
  global $wpdb;
368
 
369
+ $value = is_array( $value ) ? wp_json_encode( $value ) : esc_attr( $value );
370
 
371
  $data = array(
372
  'option_name' => $key,
includes/admin/tools/class-edd-tools-recount-download-stats.php CHANGED
@@ -272,7 +272,16 @@ class EDD_Tools_Recount_Download_Stats extends EDD_Batch_Export {
272
  global $wpdb;
273
  $value = $wpdb->get_var( $wpdb->prepare( "SELECT option_value FROM $wpdb->options WHERE option_name = '%s'", $key ) );
274
 
275
- return empty( $value ) ? false : maybe_unserialize( $value );
 
 
 
 
 
 
 
 
 
276
  }
277
 
278
  /**
@@ -286,7 +295,7 @@ class EDD_Tools_Recount_Download_Stats extends EDD_Batch_Export {
286
  private function store_data( $key, $value ) {
287
  global $wpdb;
288
 
289
- $value = maybe_serialize( $value );
290
 
291
  $data = array(
292
  'option_name' => $key,
272
  global $wpdb;
273
  $value = $wpdb->get_var( $wpdb->prepare( "SELECT option_value FROM $wpdb->options WHERE option_name = '%s'", $key ) );
274
 
275
+ if ( empty( $value ) ) {
276
+ return false;
277
+ }
278
+
279
+ $maybe_json = json_decode( $value );
280
+ if ( ! is_null( $maybe_json ) ) {
281
+ $value = json_decode( $value, true );
282
+ }
283
+
284
+ return $value;
285
  }
286
 
287
  /**
295
  private function store_data( $key, $value ) {
296
  global $wpdb;
297
 
298
+ $value = is_array( $value ) ? wp_json_encode( $value ) : esc_attr( $value );
299
 
300
  $data = array(
301
  'option_name' => $key,
includes/admin/tools/class-edd-tools-recount-single-customer-stats.php CHANGED
@@ -111,7 +111,7 @@ class EDD_Tools_Recount_Single_Customer_Stats extends EDD_Batch_Export {
111
  */
112
  public function get_percentage_complete() {
113
 
114
- $payments = $this->get_stored_data( 'edd_recount_customer_payments_' . $this->customer_id );
115
  $total = count( $payments );
116
 
117
  $percentage = 100;
@@ -156,10 +156,10 @@ class EDD_Tools_Recount_Single_Customer_Stats extends EDD_Batch_Export {
156
  return true;
157
  } else {
158
  $customer = new EDD_Customer( $this->customer_id );
159
- $payment_ids = get_option( 'edd_stats_found_payments_' . $customer->id, array() );
160
  $this->delete_data( 'edd_stats_found_payments_' . $customer->id );
161
 
162
- $removed_payments = array_unique( get_option( 'edd_stats_missing_payments' . $customer->id, array() ) );
163
 
164
  // Find non-existing payments (deleted) and total up the purchase count
165
  $purchase_count = 0;
@@ -266,11 +266,20 @@ class EDD_Tools_Recount_Single_Customer_Stats extends EDD_Batch_Export {
266
  * @param string $key The option_name
267
  * @return mixed Returns the data from the database
268
  */
269
- private function get_stored_data( $key ) {
270
  global $wpdb;
271
  $value = $wpdb->get_var( $wpdb->prepare( "SELECT option_value FROM $wpdb->options WHERE option_name = '%s'", $key ) );
272
 
273
- return empty( $value ) ? false : maybe_unserialize( $value );
 
 
 
 
 
 
 
 
 
274
  }
275
 
276
  /**
@@ -284,7 +293,7 @@ class EDD_Tools_Recount_Single_Customer_Stats extends EDD_Batch_Export {
284
  private function store_data( $key, $value ) {
285
  global $wpdb;
286
 
287
- $value = maybe_serialize( $value );
288
 
289
  $data = array(
290
  'option_name' => $key,
111
  */
112
  public function get_percentage_complete() {
113
 
114
+ $payments = $this->get_stored_data( 'edd_recount_customer_payments_' . $this->customer_id, array() );
115
  $total = count( $payments );
116
 
117
  $percentage = 100;
156
  return true;
157
  } else {
158
  $customer = new EDD_Customer( $this->customer_id );
159
+ $payment_ids = $this->get_stored_data( 'edd_stats_found_payments_' . $customer->id, array() );
160
  $this->delete_data( 'edd_stats_found_payments_' . $customer->id );
161
 
162
+ $removed_payments = array_unique( $this->get_stored_data( 'edd_stats_missing_payments' . $customer->id, array() ) );
163
 
164
  // Find non-existing payments (deleted) and total up the purchase count
165
  $purchase_count = 0;
266
  * @param string $key The option_name
267
  * @return mixed Returns the data from the database
268
  */
269
+ private function get_stored_data( $key, $default = false ) {
270
  global $wpdb;
271
  $value = $wpdb->get_var( $wpdb->prepare( "SELECT option_value FROM $wpdb->options WHERE option_name = '%s'", $key ) );
272
 
273
+ if ( empty( $value ) ) {
274
+ return $default;
275
+ }
276
+
277
+ $maybe_json = json_decode( $value );
278
+ if ( ! is_null( $maybe_json ) && ! is_numeric( $value ) ) {
279
+ $value = $maybe_json;
280
+ }
281
+
282
+ return $value;
283
  }
284
 
285
  /**
293
  private function store_data( $key, $value ) {
294
  global $wpdb;
295
 
296
+ $value = is_array( $value ) ? wp_json_encode( $value ) : esc_attr( $value );
297
 
298
  $data = array(
299
  'option_name' => $key,
includes/admin/tools/class-edd-tools-recount-store-earnings.php CHANGED
@@ -207,7 +207,16 @@ class EDD_Tools_Recount_Store_Earnings extends EDD_Batch_Export {
207
  global $wpdb;
208
  $value = $wpdb->get_var( $wpdb->prepare( "SELECT option_value FROM $wpdb->options WHERE option_name = '%s'", $key ) );
209
 
210
- return empty( $value ) ? false : maybe_unserialize( $value );
 
 
 
 
 
 
 
 
 
211
  }
212
 
213
  /**
@@ -221,7 +230,7 @@ class EDD_Tools_Recount_Store_Earnings extends EDD_Batch_Export {
221
  private function store_data( $key, $value ) {
222
  global $wpdb;
223
 
224
- $value = maybe_serialize( $value );
225
 
226
  $data = array(
227
  'option_name' => $key,
207
  global $wpdb;
208
  $value = $wpdb->get_var( $wpdb->prepare( "SELECT option_value FROM $wpdb->options WHERE option_name = '%s'", $key ) );
209
 
210
+ if ( empty( $value ) ) {
211
+ return false;
212
+ }
213
+
214
+ $maybe_json = json_decode( $value );
215
+ if ( ! is_null( $maybe_json ) ) {
216
+ $value = json_decode( $value, true );
217
+ }
218
+
219
+ return $value;
220
  }
221
 
222
  /**
230
  private function store_data( $key, $value ) {
231
  global $wpdb;
232
 
233
+ $value = is_array( $value ) ? wp_json_encode( $value ) : esc_attr( $value );
234
 
235
  $data = array(
236
  'option_name' => $key,
includes/admin/tools/class-edd-tools-reset-stats.php CHANGED
@@ -283,7 +283,16 @@ class EDD_Tools_Reset_Stats extends EDD_Batch_Export {
283
  global $wpdb;
284
  $value = $wpdb->get_var( $wpdb->prepare( "SELECT option_value FROM $wpdb->options WHERE option_name = '%s'", $key ) );
285
 
286
- return empty( $value ) ? false : maybe_unserialize( $value );
 
 
 
 
 
 
 
 
 
287
  }
288
 
289
  /**
@@ -297,7 +306,7 @@ class EDD_Tools_Reset_Stats extends EDD_Batch_Export {
297
  private function store_data( $key, $value ) {
298
  global $wpdb;
299
 
300
- $value = maybe_serialize( $value );
301
 
302
  $data = array(
303
  'option_name' => $key,
283
  global $wpdb;
284
  $value = $wpdb->get_var( $wpdb->prepare( "SELECT option_value FROM $wpdb->options WHERE option_name = '%s'", $key ) );
285
 
286
+ if ( empty( $value ) ) {
287
+ return false;
288
+ }
289
+
290
+ $maybe_json = json_decode( $value );
291
+ if ( ! is_null( $maybe_json ) ) {
292
+ $value = json_decode( $value, true );
293
+ }
294
+
295
+ return $value;
296
  }
297
 
298
  /**
306
  private function store_data( $key, $value ) {
307
  global $wpdb;
308
 
309
+ $value = is_array( $value ) ? wp_json_encode( $value ) : esc_attr( $value );
310
 
311
  $data = array(
312
  'option_name' => $key,
includes/ajax-functions.php CHANGED
@@ -522,9 +522,22 @@ function edd_ajax_download_search() {
522
  $where .= "AND `ID` NOT IN (" . $exclude . ") ";
523
  }
524
 
525
- // If the user can't edit products, limit to just published items
526
- if( ! current_user_can( 'edit_products' ) ) {
527
- $where .= "AND `post_status` = 'publish' ";
 
 
 
 
 
 
 
 
 
 
 
 
 
528
  }
529
 
530
  // Limit the result sets
522
  $where .= "AND `ID` NOT IN (" . $exclude . ") ";
523
  }
524
 
525
+ if ( ! current_user_can( 'edit_products' ) ) {
526
+ $status = apply_filters( 'edd_product_dropdown_status_nopriv', array( 'publish' ) );
527
+ } else {
528
+ $status = apply_filters( 'edd_product_dropdown_status', array( 'publish', 'draft', 'private', 'future' ) );
529
+ }
530
+
531
+ if ( is_array( $status ) && ! empty( $status ) ) {
532
+
533
+ $status = array_map( 'sanitize_text_field', $status );
534
+ $status_in = "'" . join( "', '", $status ) . "'";
535
+ $where .= "AND `post_status` IN ({$status_in}) ";
536
+
537
+ } else {
538
+
539
+ $where .= "AND `post_status` = `publish` ";
540
+
541
  }
542
 
543
  // Limit the result sets
includes/cart/class-edd-cart.php CHANGED
@@ -137,7 +137,7 @@ class EDD_Cart {
137
  $this->get_contents_details();
138
  $this->get_all_fees();
139
  $this->get_discounts_from_session();
140
- $this->quantity = $this->get_quantity();
141
  }
142
 
143
  /**
@@ -173,7 +173,7 @@ class EDD_Cart {
173
  *
174
  * @since 2.7
175
  * @access public
176
- * @return void
177
  */
178
  public function get_contents() {
179
  if ( ! did_action( 'edd_cart_contents_loaded_from_session' ) ) {
@@ -299,7 +299,7 @@ class EDD_Cart {
299
  */
300
  public function get_discounts() {
301
  $this->get_discounts_from_session();
302
- $this->discounts = ! empty( $this->discounts ) ? explode( '|', $this->discounts ) : false;
303
  return $this->discounts;
304
  }
305
 
@@ -328,7 +328,8 @@ class EDD_Cart {
328
 
329
  $has_discounts = false;
330
 
331
- if ( $this->get_discounts() ) {
 
332
  $has_discounts = true;
333
  }
334
 
@@ -662,7 +663,7 @@ class EDD_Cart {
662
 
663
  $discounts = false === $discount ? $this->get_discounts() : array( $discount );
664
 
665
- if ( $discounts ) {
666
  foreach ( $discounts as $discount ) {
667
  $code_id = edd_get_discount_id_by_code( $discount );
668
 
137
  $this->get_contents_details();
138
  $this->get_all_fees();
139
  $this->get_discounts_from_session();
140
+ $this->get_quantity();
141
  }
142
 
143
  /**
173
  *
174
  * @since 2.7
175
  * @access public
176
+ * @return array List of cart contents.
177
  */
178
  public function get_contents() {
179
  if ( ! did_action( 'edd_cart_contents_loaded_from_session' ) ) {
299
  */
300
  public function get_discounts() {
301
  $this->get_discounts_from_session();
302
+ $this->discounts = ! empty( $this->discounts ) ? explode( '|', $this->discounts ) : array();
303
  return $this->discounts;
304
  }
305
 
328
 
329
  $has_discounts = false;
330
 
331
+ $discounts = $this->get_discounts();
332
+ if ( ! empty( $discounts ) ) {
333
  $has_discounts = true;
334
  }
335
 
663
 
664
  $discounts = false === $discount ? $this->get_discounts() : array( $discount );
665
 
666
+ if ( ! empty( $discounts ) ) {
667
  foreach ( $discounts as $discount ) {
668
  $code_id = edd_get_discount_id_by_code( $discount );
669
 
includes/checkout/template.php CHANGED
@@ -768,6 +768,8 @@ function edd_terms_agreement() {
768
  if ( edd_get_option( 'show_agree_to_terms', false ) ) {
769
  $agree_text = edd_get_option( 'agree_text', '' );
770
  $agree_label = edd_get_option( 'agree_label', __( 'Agree to Terms?', 'easy-digital-downloads' ) );
 
 
771
  ?>
772
  <fieldset id="edd_terms_agreement">
773
  <div id="edd_terms" style="display:none;">
@@ -787,6 +789,9 @@ function edd_terms_agreement() {
787
  </div>
788
  </fieldset>
789
  <?php
 
 
 
790
  }
791
  }
792
  add_action( 'edd_purchase_form_before_submit', 'edd_terms_agreement' );
768
  if ( edd_get_option( 'show_agree_to_terms', false ) ) {
769
  $agree_text = edd_get_option( 'agree_text', '' );
770
  $agree_label = edd_get_option( 'agree_label', __( 'Agree to Terms?', 'easy-digital-downloads' ) );
771
+
772
+ ob_start();
773
  ?>
774
  <fieldset id="edd_terms_agreement">
775
  <div id="edd_terms" style="display:none;">
789
  </div>
790
  </fieldset>
791
  <?php
792
+ $html_output = ob_get_clean();
793
+
794
+ echo apply_filters( 'edd_checkout_terms_agreement_html', $html_output );
795
  }
796
  }
797
  add_action( 'edd_purchase_form_before_submit', 'edd_terms_agreement' );
includes/class-edd-html-elements.php CHANGED
@@ -54,9 +54,27 @@ class EDD_HTML_Elements {
54
  'post_type' => 'download',
55
  'orderby' => 'title',
56
  'order' => 'ASC',
57
- 'posts_per_page' => $args['number']
58
  );
59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  // Maybe disable bundles
61
  if( ! $args['bundles'] ) {
62
  $product_args['meta_query'] = array(
@@ -69,6 +87,8 @@ class EDD_HTML_Elements {
69
  );
70
  }
71
 
 
 
72
  $products = get_posts( $product_args );
73
  $existing_ids = wp_list_pluck( $products, 'ID' );
74
  if ( ! empty( $args['selected'] ) ) {
54
  'post_type' => 'download',
55
  'orderby' => 'title',
56
  'order' => 'ASC',
57
+ 'posts_per_page' => $args['number'],
58
  );
59
 
60
+ if ( ! current_user_can( 'edit_products' ) ) {
61
+ $product_args['post_status'] = apply_filters( 'edd_product_dropdown_status_nopriv', array( 'publish' ) );
62
+ } else {
63
+ $product_args['post_status'] = apply_filters( 'edd_product_dropdown_status', array( 'publish', 'draft', 'private', 'future' ) );
64
+ }
65
+
66
+ if ( is_array( $product_args['post_status'] ) ) {
67
+
68
+ // Given the array, sanitize them.
69
+ $product_args['post_status'] = array_map( 'sanitize_text_field', $product_args['post_status'] );
70
+
71
+ } else {
72
+
73
+ // If we didn't get an array, fallback to 'publish'.
74
+ $product_args['post_status'] = array( 'publish' );
75
+
76
+ }
77
+
78
  // Maybe disable bundles
79
  if( ! $args['bundles'] ) {
80
  $product_args['meta_query'] = array(
87
  );
88
  }
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'] ) ) {
includes/class-edd-register-meta.php CHANGED
@@ -379,7 +379,14 @@ class EDD_Register_Meta {
379
  }
380
 
381
  if ( is_serialized( $value ) ) {
 
 
 
 
 
 
382
  $value = (array) maybe_unserialize( $value );
 
383
  }
384
 
385
  }
379
  }
380
 
381
  if ( is_serialized( $value ) ) {
382
+
383
+ preg_match( '/[oO]\s*:\s*\d+\s*:\s*"\s*(?!(?i)(stdClass))/', $value, $matches );
384
+ if ( ! empty( $matches ) ) {
385
+ return false;
386
+ }
387
+
388
  $value = (array) maybe_unserialize( $value );
389
+
390
  }
391
 
392
  }
includes/class-edd-session.php CHANGED
@@ -159,8 +159,42 @@ class EDD_Session {
159
  * @return mixed Session variable
160
  */
161
  public function get( $key ) {
162
- $key = sanitize_key( $key );
163
- return isset( $this->session[ $key ] ) ? maybe_unserialize( $this->session[ $key ] ) : false;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
164
  }
165
 
166
  /**
@@ -177,9 +211,9 @@ class EDD_Session {
177
  $key = sanitize_key( $key );
178
 
179
  if ( is_array( $value ) ) {
180
- $this->session[ $key ] = serialize( $value );
181
  } else {
182
- $this->session[ $key ] = $value;
183
  }
184
 
185
  if( $this->use_php_sessions ) {
159
  * @return mixed Session variable
160
  */
161
  public function get( $key ) {
162
+
163
+ $key = sanitize_key( $key );
164
+ $return = false;
165
+
166
+ if ( isset( $this->session[ $key ] ) && ! empty( $this->session[ $key ] ) ) {
167
+
168
+ preg_match( '/[oO]\s*:\s*\d+\s*:\s*"\s*(?!(?i)(stdClass))/', $this->session[ $key ], $matches );
169
+ if ( ! empty( $matches ) ) {
170
+ $this->set( $key, null );
171
+ return false;
172
+ }
173
+
174
+ if ( is_numeric( $this->session[ $key ] ) ) {
175
+ $return = $this->session[ $key ];
176
+ } else {
177
+
178
+ $maybe_json = json_decode( $this->session[ $key ] );
179
+
180
+ // Since json_last_error is PHP 5.3+, we have to rely on a `null` value for failing to parse JSON.
181
+ if ( is_null( $maybe_json ) ) {
182
+ $is_serialized = is_serialized( $this->session[ $key ] );
183
+ if ( $is_serialized ) {
184
+ $value = @unserialize( $this->session[ $key ] );
185
+ $this->set( $key, (array) $value );
186
+ $return = $value;
187
+ } else {
188
+ $return = $this->session[ $key ];
189
+ }
190
+ } else {
191
+ $return = json_decode( $this->session[ $key ], true );
192
+ }
193
+
194
+ }
195
+ }
196
+
197
+ return $return;
198
  }
199
 
200
  /**
211
  $key = sanitize_key( $key );
212
 
213
  if ( is_array( $value ) ) {
214
+ $this->session[ $key ] = wp_json_encode( $value );
215
  } else {
216
+ $this->session[ $key ] = esc_attr( $value );
217
  }
218
 
219
  if( $this->use_php_sessions ) {
includes/country-functions.php CHANGED
@@ -54,6 +54,9 @@ function edd_get_shop_states( $country = null ) {
54
  case 'US' :
55
  $states = edd_get_states_list();
56
  break;
 
 
 
57
  case 'CA' :
58
  $states = edd_get_provinces_list();
59
  break;
@@ -477,6 +480,38 @@ function edd_get_states_list() {
477
  return apply_filters( 'edd_us_states', $states );
478
  }
479
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
480
  /**
481
  * Get Provinces List
482
  *
@@ -1622,3 +1657,4 @@ function edd_get_spain_states_list() {
1622
 
1623
  return apply_filters( 'edd_spain_states', $states );
1624
  }
 
54
  case 'US' :
55
  $states = edd_get_states_list();
56
  break;
57
+ case 'AO' :
58
+ $states = edd_get_angola_provinces_list();
59
+ break;
60
  case 'CA' :
61
  $states = edd_get_provinces_list();
62
  break;
480
  return apply_filters( 'edd_us_states', $states );
481
  }
482
 
483
+ /**
484
+ * Get Angola States
485
+ *
486
+ * @since 2.8.5
487
+ * @return array $states A list of states
488
+ */
489
+ function edd_get_angola_provinces_list() {
490
+ $provinces = array(
491
+ '' => '',
492
+ 'BGO' => 'Bengo',
493
+ 'BGU' => 'Benguela',
494
+ 'BIE' => 'Bié',
495
+ 'CAB' => 'Cabinda',
496
+ 'CNN' => 'Cunene',
497
+ 'HUA' => 'Huambo',
498
+ 'HUI' => 'Huíla',
499
+ 'CCU' => 'Kuando Kubango', // Cuando Cubango
500
+ 'CNO' => 'Kwanza-Norte', // Cuanza Norte
501
+ 'CUS' => 'Kwanza-Sul', // Cuanza Sul
502
+ 'LUA' => 'Luanda',
503
+ 'LNO' => 'Lunda-Norte', // Lunda Norte
504
+ 'LSU' => 'Lunda-Sul', // Lunda Sul
505
+ 'MAL' => 'Malanje', // Malanje
506
+ 'MOX' => 'Moxico',
507
+ 'NAM' => 'Namibe',
508
+ 'UIG' => 'Uíge',
509
+ 'ZAI' => 'Zaire'
510
+ );
511
+
512
+ return apply_filters( 'edd_angola_provinces', $provinces );
513
+ }
514
+
515
  /**
516
  * Get Provinces List
517
  *
1657
 
1658
  return apply_filters( 'edd_spain_states', $states );
1659
  }
1660
+
includes/discount-functions.php CHANGED
@@ -790,7 +790,7 @@ function edd_get_cart_discounts_html( $discounts = false ) {
790
  $discounts = EDD()->cart->get_discounts();
791
  }
792
 
793
- if ( ! $discounts ) {
794
  return;
795
  }
796
 
790
  $discounts = EDD()->cart->get_discounts();
791
  }
792
 
793
+ if ( empty( $discounts ) ) {
794
  return;
795
  }
796
 
includes/emails/class-edd-email-tags.php CHANGED
@@ -653,7 +653,7 @@ function edd_email_tag_first_name( $payment_id ) {
653
  return '';
654
  }
655
 
656
- $email_name = edd_get_email_names( $user_info );
657
 
658
  return $email_name['name'];
659
  }
@@ -674,7 +674,7 @@ function edd_email_tag_fullname( $payment_id ) {
674
  return '';
675
  }
676
 
677
- $email_name = edd_get_email_names( $user_info );
678
  return $email_name['fullname'];
679
  }
680
 
@@ -694,7 +694,7 @@ function edd_email_tag_username( $payment_id ) {
694
  return '';
695
  }
696
 
697
- $email_name = edd_get_email_names( $user_info );
698
  return $email_name['username'];
699
  }
700
 
653
  return '';
654
  }
655
 
656
+ $email_name = edd_get_email_names( $user_info, $payment );
657
 
658
  return $email_name['name'];
659
  }
674
  return '';
675
  }
676
 
677
+ $email_name = edd_get_email_names( $user_info, $payment );
678
  return $email_name['fullname'];
679
  }
680
 
694
  return '';
695
  }
696
 
697
+ $email_name = edd_get_email_names( $user_info, $payment );
698
  return $email_name['username'];
699
  }
700
 
includes/emails/functions.php CHANGED
@@ -215,26 +215,67 @@ function edd_get_default_sale_notification_email() {
215
  *
216
  * @since 1.9
217
  * @param $user_info
 
218
  *
219
  * @return array $email_names
220
  */
221
- function edd_get_email_names( $user_info ) {
222
  $email_names = array();
223
- $user_info = maybe_unserialize( $user_info );
224
-
225
  $email_names['fullname'] = '';
226
- if ( isset( $user_info['id'] ) && $user_info['id'] > 0 && isset( $user_info['first_name'] ) ) {
227
- $user_data = get_userdata( $user_info['id'] );
228
- $email_names['name'] = $user_info['first_name'];
229
- $email_names['fullname'] = $user_info['first_name'] . ' ' . $user_info['last_name'];
230
- $email_names['username'] = $user_data->user_login;
231
- } elseif ( isset( $user_info['first_name'] ) ) {
232
- $email_names['name'] = $user_info['first_name'];
233
- $email_names['fullname'] = $user_info['first_name'] . ' ' . $user_info['last_name'];
234
- $email_names['username'] = $user_info['first_name'];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
235
  } else {
236
- $email_names['name'] = $user_info['email'];
237
- $email_names['username'] = $user_info['email'];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
238
  }
239
 
240
  return $email_names;
215
  *
216
  * @since 1.9
217
  * @param $user_info
218
+ * @param $payment EDD_Payment for getting the names
219
  *
220
  * @return array $email_names
221
  */
222
+ function edd_get_email_names( $user_info, $payment = false ) {
223
  $email_names = array();
 
 
224
  $email_names['fullname'] = '';
225
+
226
+ if ( $payment instanceof EDD_Payment ) {
227
+
228
+ if ( $payment->user_id > 0 ) {
229
+
230
+ $user_data = get_userdata( $payment->user_id );
231
+ $email_names['name'] = $payment->first_name;
232
+ $email_names['fullname'] = trim( $payment->first_name . ' ' . $payment->last_name );
233
+ $email_names['username'] = $user_data->user_login;
234
+
235
+ } elseif ( ! empty( $payment->first_name ) ) {
236
+
237
+ $email_names['name'] = $payment->first_name;
238
+ $email_names['fullname'] = trim( $payment->first_name . ' ' . $payment->last_name );
239
+ $email_names['username'] = $payment->first_name;
240
+
241
+ } else {
242
+
243
+ $email_names['name'] = $payment->email;
244
+ $email_names['username'] = $payment->email;
245
+
246
+ }
247
+
248
  } else {
249
+
250
+ if ( is_serialized( $user_info ) ) {
251
+
252
+ preg_match( '/[oO]\s*:\s*\d+\s*:\s*"\s*(?!(?i)(stdClass))/', $user_info, $matches );
253
+ if ( ! empty( $matches ) ) {
254
+ return array(
255
+ 'name' => '',
256
+ 'fullname' => '',
257
+ 'username' => '',
258
+ );
259
+ } else {
260
+ $user_info = maybe_unserialize( $user_info );
261
+ }
262
+
263
+ }
264
+
265
+ if ( isset( $user_info['id'] ) && $user_info['id'] > 0 && isset( $user_info['first_name'] ) ) {
266
+ $user_data = get_userdata( $user_info['id'] );
267
+ $email_names['name'] = $user_info['first_name'];
268
+ $email_names['fullname'] = $user_info['first_name'] . ' ' . $user_info['last_name'];
269
+ $email_names['username'] = $user_data->user_login;
270
+ } elseif ( isset( $user_info['first_name'] ) ) {
271
+ $email_names['name'] = $user_info['first_name'];
272
+ $email_names['fullname'] = $user_info['first_name'] . ' ' . $user_info['last_name'];
273
+ $email_names['username'] = $user_info['first_name'];
274
+ } else {
275
+ $email_names['name'] = $user_info['email'];
276
+ $email_names['username'] = $user_info['email'];
277
+ }
278
+
279
  }
280
 
281
  return $email_names;
includes/emails/template.php CHANGED
@@ -181,49 +181,47 @@ function edd_get_email_body_content( $payment_id = 0, $payment_data = array() )
181
  * @return string $email_body Body of the email
182
  */
183
  function edd_get_sale_notification_body_content( $payment_id = 0, $payment_data = array() ) {
184
- $user_info = maybe_unserialize( $payment_data['user_info'] );
185
- $email = edd_get_payment_user_email( $payment_id );
186
 
187
- if( isset( $user_info['id'] ) && $user_info['id'] > 0 ) {
188
- $user_data = get_userdata( $user_info['id'] );
189
  $name = $user_data->display_name;
190
- } elseif( isset( $user_info['first_name'] ) && isset( $user_info['last_name'] ) ) {
191
- $name = $user_info['first_name'] . ' ' . $user_info['last_name'];
192
  } else {
193
- $name = $email;
194
  }
195
 
196
  $download_list = '';
197
- $downloads = maybe_unserialize( $payment_data['downloads'] );
198
-
199
- if( is_array( $downloads ) ) {
200
- foreach( $downloads as $download ) {
201
- $id = isset( $payment_data['cart_details'] ) ? $download['id'] : $download;
202
- $title = get_the_title( $id );
203
- if( isset( $download['options'] ) ) {
204
- if( isset( $download['options']['price_id'] ) ) {
205
- $title .= ' - ' . edd_get_price_option_name( $id, $download['options']['price_id'], $payment_id );
206
  }
207
  }
208
  $download_list .= html_entity_decode( $title, ENT_COMPAT, 'UTF-8' ) . "\n";
209
  }
210
  }
211
 
212
- $gateway = edd_get_gateway_admin_label( edd_get_payment_meta( $payment_id, '_edd_payment_gateway', true ) );
213
 
214
  $default_email_body = __( 'Hello', 'easy-digital-downloads' ) . "\n\n" . sprintf( __( 'A %s purchase has been made', 'easy-digital-downloads' ), edd_get_label_plural() ) . ".\n\n";
215
  $default_email_body .= sprintf( __( '%s sold:', 'easy-digital-downloads' ), edd_get_label_plural() ) . "\n\n";
216
  $default_email_body .= $download_list . "\n\n";
217
  $default_email_body .= __( 'Purchased by: ', 'easy-digital-downloads' ) . " " . html_entity_decode( $name, ENT_COMPAT, 'UTF-8' ) . "\n";
218
- $default_email_body .= __( 'Amount: ', 'easy-digital-downloads' ) . " " . html_entity_decode( edd_currency_filter( edd_format_amount( edd_get_payment_amount( $payment_id ) ) ), ENT_COMPAT, 'UTF-8' ) . "\n";
219
  $default_email_body .= __( 'Payment Method: ', 'easy-digital-downloads' ) . " " . $gateway . "\n\n";
220
  $default_email_body .= __( 'Thank you', 'easy-digital-downloads' );
221
 
222
- $email = edd_get_option( 'sale_notification', false );
223
- $email = $email ? stripslashes( $email ) : $default_email_body;
224
 
225
  //$email_body = edd_email_template_tags( $email, $payment_data, $payment_id, true );
226
- $email_body = edd_do_email_tags( $email, $payment_id );
227
 
228
  $email_body = apply_filters( 'edd_email_template_wpautop', true ) ? wpautop( $email_body ) : $email_body;
229
 
181
  * @return string $email_body Body of the email
182
  */
183
  function edd_get_sale_notification_body_content( $payment_id = 0, $payment_data = array() ) {
184
+ $payment = edd_get_payment( $payment_id );
 
185
 
186
+ if( $payment->user_id > 0 ) {
187
+ $user_data = get_userdata( $payment->user_id );
188
  $name = $user_data->display_name;
189
+ } elseif( ! empty( $payment->first_name ) && ! empty( $payment->last_name ) ) {
190
+ $name = $payment->first_name . ' ' . $payment->last_name;
191
  } else {
192
+ $name = $payment->email;
193
  }
194
 
195
  $download_list = '';
196
+
197
+ if( is_array( $payment->downloads ) ) {
198
+ foreach( $payment->downloads as $item ) {
199
+ $download = new EDD_Download( $item['id'] );
200
+ $title = $download->get_name();
201
+ if( isset( $item['options'] ) ) {
202
+ if( isset( $item['options']['price_id'] ) ) {
203
+ $title .= ' - ' . edd_get_price_option_name( $item['id'], $item['options']['price_id'], $payment_id );
 
204
  }
205
  }
206
  $download_list .= html_entity_decode( $title, ENT_COMPAT, 'UTF-8' ) . "\n";
207
  }
208
  }
209
 
210
+ $gateway = edd_get_gateway_admin_label( $payment->gateway );
211
 
212
  $default_email_body = __( 'Hello', 'easy-digital-downloads' ) . "\n\n" . sprintf( __( 'A %s purchase has been made', 'easy-digital-downloads' ), edd_get_label_plural() ) . ".\n\n";
213
  $default_email_body .= sprintf( __( '%s sold:', 'easy-digital-downloads' ), edd_get_label_plural() ) . "\n\n";
214
  $default_email_body .= $download_list . "\n\n";
215
  $default_email_body .= __( 'Purchased by: ', 'easy-digital-downloads' ) . " " . html_entity_decode( $name, ENT_COMPAT, 'UTF-8' ) . "\n";
216
+ $default_email_body .= __( 'Amount: ', 'easy-digital-downloads' ) . " " . html_entity_decode( edd_currency_filter( edd_format_amount( $payment->total ) ), ENT_COMPAT, 'UTF-8' ) . "\n";
217
  $default_email_body .= __( 'Payment Method: ', 'easy-digital-downloads' ) . " " . $gateway . "\n\n";
218
  $default_email_body .= __( 'Thank you', 'easy-digital-downloads' );
219
 
220
+ $message = edd_get_option( 'sale_notification', false );
221
+ $message = $message ? stripslashes( $message ) : $default_email_body;
222
 
223
  //$email_body = edd_email_template_tags( $email, $payment_data, $payment_id, true );
224
+ $email_body = edd_do_email_tags( $message, $payment_id );
225
 
226
  $email_body = apply_filters( 'edd_email_template_wpautop', true ) ? wpautop( $email_body ) : $email_body;
227
 
includes/login-register.php CHANGED
@@ -79,13 +79,13 @@ function edd_process_login_form( $data ) {
79
 
80
  if ( wp_check_password( $data['edd_user_pass'], $user_data->user_pass, $user_data->ID ) ) {
81
 
82
- if ( isset( $data['remember'] ) ) {
83
- $data['remember'] = true;
84
  } else {
85
- $data['remember'] = false;
86
  }
87
 
88
- edd_log_user_in( $user_data->ID, $data['edd_user_login'], $data['edd_user_pass'], $data['remember'] );
89
  } else {
90
  edd_set_error( 'password_incorrect', __( 'The password you entered is incorrect', 'easy-digital-downloads' ) );
91
  }
79
 
80
  if ( wp_check_password( $data['edd_user_pass'], $user_data->user_pass, $user_data->ID ) ) {
81
 
82
+ if ( isset( $data['rememberme'] ) ) {
83
+ $data['rememberme'] = true;
84
  } else {
85
+ $data['rememberme'] = false;
86
  }
87
 
88
+ edd_log_user_in( $user_data->ID, $data['edd_user_login'], $data['edd_user_pass'], $data['rememberme'] );
89
  } else {
90
  edd_set_error( 'password_incorrect', __( 'The password you entered is incorrect', 'easy-digital-downloads' ) );
91
  }
includes/misc-functions.php CHANGED
@@ -329,7 +329,8 @@ function edd_get_currencies() {
329
  'INR' => __( 'Indian Rupee (&#8377;)', 'easy-digital-downloads' ),
330
  'TRY' => __( 'Turkish Lira (&#8378;)', 'easy-digital-downloads' ),
331
  'RIAL' => __( 'Iranian Rial (&#65020;)', 'easy-digital-downloads' ),
332
- 'RUB' => __( 'Russian Rubles', 'easy-digital-downloads' )
 
333
  );
334
 
335
  return apply_filters( 'edd_currencies', $currencies );
@@ -381,6 +382,9 @@ function edd_currency_symbol( $currency = '' ) {
381
  case "JPY" :
382
  $symbol = '&yen;';
383
  break;
 
 
 
384
  default :
385
  $symbol = $currency;
386
  break;
@@ -881,7 +885,7 @@ if ( ! function_exists( 'getallheaders' ) ) :
881
  * @return array
882
  */
883
  function getallheaders() {
884
- $headers = '';
885
  foreach ( $_SERVER as $name => $value ) {
886
  if ( substr( $name, 0, 5 ) == 'HTTP_' ) {
887
  $headers[ str_replace( ' ', '-', ucwords( strtolower( str_replace( '_', ' ', substr( $name, 5 ) ) ) ) ) ] = $value;
329
  'INR' => __( 'Indian Rupee (&#8377;)', 'easy-digital-downloads' ),
330
  'TRY' => __( 'Turkish Lira (&#8378;)', 'easy-digital-downloads' ),
331
  'RIAL' => __( 'Iranian Rial (&#65020;)', 'easy-digital-downloads' ),
332
+ 'RUB' => __( 'Russian Rubles', 'easy-digital-downloads' ),
333
+ 'AOA' => __( 'Angolan Kwanza', 'easy-digital-downloads' ),
334
  );
335
 
336
  return apply_filters( 'edd_currencies', $currencies );
382
  case "JPY" :
383
  $symbol = '&yen;';
384
  break;
385
+ case "AOA" :
386
+ $symbol = 'Kz';
387
+ break;
388
  default :
389
  $symbol = $currency;
390
  break;
885
  * @return array
886
  */
887
  function getallheaders() {
888
+ $headers = array();
889
  foreach ( $_SERVER as $name => $value ) {
890
  if ( substr( $name, 0, 5 ) == 'HTTP_' ) {
891
  $headers[ str_replace( ' ', '-', ucwords( strtolower( str_replace( '_', ' ', substr( $name, 5 ) ) ) ) ) ] = $value;
includes/payments/class-edd-payment.php CHANGED
@@ -563,6 +563,13 @@ class EDD_Payment {
563
  $this->pending['customer_id'] = $this->customer_id;
564
  $customer->attach_payment( $this->ID, false );
565
 
 
 
 
 
 
 
 
566
  $this->payment_meta = apply_filters( 'edd_payment_meta', $this->payment_meta, $payment_data );
567
  if ( ! empty( $this->payment_meta['fees'] ) ) {
568
  $this->fees = array_merge( $this->payment_meta['fees'], $this->fees );
@@ -869,6 +876,7 @@ class EDD_Payment {
869
 
870
  case 'user_id':
871
  $this->update_meta( '_edd_payment_user_id', $this->user_id );
 
872
  break;
873
 
874
  case 'first_name':
@@ -1189,8 +1197,12 @@ class EDD_Payment {
1189
 
1190
  $download = new EDD_Download( $download_id );
1191
 
1192
- // Bail if this post isn't a download
1193
- if( ! $download || $download->post_type !== 'download' ) {
 
 
 
 
1194
  return false;
1195
  }
1196
 
@@ -1790,6 +1802,13 @@ class EDD_Payment {
1790
 
1791
  $meta = apply_filters( 'edd_get_payment_meta_' . $meta_key, $meta, $this->ID );
1792
 
 
 
 
 
 
 
 
1793
  return apply_filters( 'edd_get_payment_meta', $meta, $this->ID, $meta_key );
1794
  }
1795
 
@@ -2341,8 +2360,17 @@ class EDD_Payment {
2341
  'discount' => $this->discounts,
2342
  );
2343
 
2344
- $user_info = isset( $this->payment_meta['user_info'] ) ? maybe_unserialize( $this->payment_meta['user_info'] ) : array();
2345
- $user_info = wp_parse_args( $user_info, $defaults );
 
 
 
 
 
 
 
 
 
2346
 
2347
  // Ensure email index is in the old user info array
2348
  if( empty( $user_info['email'] ) ) {
563
  $this->pending['customer_id'] = $this->customer_id;
564
  $customer->attach_payment( $this->ID, false );
565
 
566
+ /**
567
+ * This run of the edd_payment_meta filter is for backwards compatibility purposes. The filter will also run in the EDD_Payment::save
568
+ * method. By keeping this here, it retains compatbility of adding payment meta prior to the payment being inserted, as was previously supported
569
+ * by edd_insert_payment().
570
+ *
571
+ * @reference: https://github.com/easydigitaldownloads/easy-digital-downloads/issues/5838
572
+ */
573
  $this->payment_meta = apply_filters( 'edd_payment_meta', $this->payment_meta, $payment_data );
574
  if ( ! empty( $this->payment_meta['fees'] ) ) {
575
  $this->fees = array_merge( $this->payment_meta['fees'], $this->fees );
876
 
877
  case 'user_id':
878
  $this->update_meta( '_edd_payment_user_id', $this->user_id );
879
+ $this->user_info['id'] = $this->user_id;
880
  break;
881
 
882
  case 'first_name':
1197
 
1198
  $download = new EDD_Download( $download_id );
1199
 
1200
+ /**
1201
+ * Bail if this post isn't a download post type.
1202
+ *
1203
+ * We need to allow this to process though for a missing post ID, in case it's a download that was deleted.
1204
+ */
1205
+ if( ! empty( $download->ID ) && $download->post_type !== 'download' ) {
1206
  return false;
1207
  }
1208
 
1802
 
1803
  $meta = apply_filters( 'edd_get_payment_meta_' . $meta_key, $meta, $this->ID );
1804
 
1805
+ if ( is_serialized( $meta ) ) {
1806
+ preg_match( '/[oO]\s*:\s*\d+\s*:\s*"\s*(?!(?i)(stdClass))/', $meta, $matches );
1807
+ if ( ! empty( $matches ) ) {
1808
+ $meta = array();
1809
+ }
1810
+ }
1811
+
1812
  return apply_filters( 'edd_get_payment_meta', $meta, $this->ID, $meta_key );
1813
  }
1814
 
2360
  'discount' => $this->discounts,
2361
  );
2362
 
2363
+ $user_info = isset( $this->payment_meta['user_info'] ) ? $this->payment_meta['user_info'] : array();
2364
+
2365
+ if ( is_serialized( $user_info ) ) {
2366
+ preg_match( '/[oO]\s*:\s*\d+\s*:\s*"\s*(?!(?i)(stdClass))/', $user_info, $matches );
2367
+ if ( ! empty( $matches ) ) {
2368
+ $user_info = array();
2369
+ }
2370
+ }
2371
+
2372
+ // As per Github issue #4248, we need to run maybe_unserialize here still.
2373
+ $user_info = wp_parse_args( maybe_unserialize( $user_info ), $defaults );
2374
 
2375
  // Ensure email index is in the old user info array
2376
  if( empty( $user_info['email'] ) ) {
includes/shortcodes.php CHANGED
@@ -581,11 +581,8 @@ function edd_downloads_query( $atts, $content = null ) {
581
  <div class="edd_downloads_list <?php echo apply_filters( 'edd_downloads_list_wrapper_class', $wrapper_class, $atts ); ?>">
582
  <?php while ( $downloads->have_posts() ) : $downloads->the_post(); ?>
583
  <?php do_action( 'edd_download_shortcode_item', $atts, $i ); ?>
584
- <?php if ( $atts['columns'] != 0 && $i % $atts['columns'] == 0 ) { ?><div style="clear:both;"></div><?php } ?>
585
  <?php $i++; endwhile; ?>
586
 
587
- <div style="clear:both;"></div>
588
-
589
  <?php wp_reset_postdata(); ?>
590
 
591
  <?php if ( filter_var( $atts['pagination'], FILTER_VALIDATE_BOOLEAN ) ) : ?>
581
  <div class="edd_downloads_list <?php echo apply_filters( 'edd_downloads_list_wrapper_class', $wrapper_class, $atts ); ?>">
582
  <?php while ( $downloads->have_posts() ) : $downloads->the_post(); ?>
583
  <?php do_action( 'edd_download_shortcode_item', $atts, $i ); ?>
 
584
  <?php $i++; endwhile; ?>
585
 
 
 
586
  <?php wp_reset_postdata(); ?>
587
 
588
  <?php if ( filter_var( $atts['pagination'], FILTER_VALIDATE_BOOLEAN ) ) : ?>
includes/template-functions.php CHANGED
@@ -1112,7 +1112,7 @@ function edd_get_bundle_item_price_id( $bundle_item ) {
1112
  * shortcode's attributes can be passed to the template file via
1113
  * a global variable.
1114
  *
1115
- * @since 2.9.0
1116
  *
1117
  * @param array $atts The [downloads] shortcode attributes.
1118
  * @param int $i The current item count.
1112
  * shortcode's attributes can be passed to the template file via
1113
  * a global variable.
1114
  *
1115
+ * @since 2.8.0
1116
  *
1117
  * @param array $atts The [downloads] shortcode attributes.
1118
  * @param int $i The current item count.
includes/user-functions.php CHANGED
@@ -481,14 +481,8 @@ function edd_add_past_purchases_to_new_user( $user_id ) {
481
  continue; // This payment already associated with an account
482
  }
483
 
484
- $meta = edd_get_payment_meta( $payment->ID );
485
- $meta['user_info'] = maybe_unserialize( $meta['user_info'] );
486
- $meta['user_info']['id'] = $user_id;
487
- $meta['user_info'] = $meta['user_info'];
488
-
489
- // Store the updated user ID in the payment meta
490
- edd_update_payment_meta( $payment->ID, '_edd_payment_meta', $meta );
491
- edd_update_payment_meta( $payment->ID, '_edd_payment_user_id', $user_id );
492
  }
493
  }
494
 
481
  continue; // This payment already associated with an account
482
  }
483
 
484
+ $payment->user_id = $user_id;
485
+ $payment->save();
 
 
 
 
 
 
486
  }
487
  }
488
 
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.4\n"
6
  "Report-Msgid-Bugs-To: https://easydigitaldownloads.com/\n"
7
- "POT-Creation-Date: 2017-08-16 18:16:38+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -89,16 +89,16 @@ msgstr ""
89
  #: includes/admin/upgrades/upgrade-functions.php:1098
90
  #: includes/api/class-edd-api.php:1988 includes/api/class-edd-api.php:1993
91
  #: includes/api/class-edd-api.php:2005 includes/api/class-edd-api.php:2007
92
- #: includes/cart/class-edd-cart.php:1467 includes/cart/class-edd-cart.php:1481
93
  #: includes/class-edd-license-handler.php:307
94
  #: includes/deprecated-functions.php:517 includes/deprecated-functions.php:532
95
  #: includes/deprecated-functions.php:542 includes/download-functions.php:1248
96
- #: includes/emails/actions.php:53 includes/emails/template.php:245
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:878
101
- #: includes/user-functions.php:903 includes/user-functions.php:956
102
  msgid "Error"
103
  msgstr ""
104
 
@@ -420,7 +420,7 @@ msgstr ""
420
  #: includes/admin/discounts/class-discount-codes-table.php:145
421
  #: includes/admin/discounts/edit-discount.php:37
422
  #: includes/admin/downloads/dashboard-columns.php:31
423
- #: includes/admin/payments/view-order-details.php:648
424
  #: includes/admin/reporting/class-export-customers.php:76
425
  #: includes/admin/reporting/export/class-batch-export-customers.php:43
426
  #: includes/admin/reporting/export/class-batch-export-downloads.php:44
@@ -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:903
492
  msgid "Nonce verification failed."
493
  msgstr ""
494
 
@@ -569,7 +569,7 @@ msgid "Invalid Customer ID Provided."
569
  msgstr ""
570
 
571
  #: includes/admin/customers/customers.php:116
572
- #: includes/admin/payments/view-order-details.php:601
573
  msgid "Customer Details"
574
  msgstr ""
575
 
@@ -640,9 +640,9 @@ msgstr ""
640
 
641
  #: includes/admin/customers/customers.php:328
642
  #: includes/admin/customers/customers.php:610
643
- #: includes/admin/payments/view-order-details.php:639
644
- #: includes/admin/payments/view-order-details.php:659
645
- #: includes/admin/thickbox.php:132 includes/class-edd-html-elements.php:768
646
  msgid "Cancel"
647
  msgstr ""
648
 
@@ -668,7 +668,7 @@ 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:652
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
@@ -681,10 +681,10 @@ msgstr ""
681
  #: includes/admin/customers/customers.php:379
682
  #: includes/admin/customers/customers.php:438
683
  #: includes/admin/customers/customers.php:471
684
- #: includes/admin/payments/view-order-details.php:510
685
- #: includes/admin/payments/view-order-details.php:573
686
- #: includes/admin/payments/view-order-details.php:636
687
- #: includes/admin/payments/view-order-details.php:656
688
  #: templates/checkout_cart.php:13
689
  msgid "Actions"
690
  msgstr ""
@@ -699,7 +699,7 @@ msgstr ""
699
  #: includes/admin/downloads/metabox.php:642
700
  #: includes/admin/downloads/metabox.php:698
701
  #: includes/admin/downloads/metabox.php:823
702
- #: includes/admin/payments/view-order-details.php:478
703
  #: includes/admin/settings/register-settings.php:2003 includes/scripts.php:224
704
  #: templates/checkout_cart.php:57 templates/checkout_cart.php:75
705
  #: templates/shortcode-profile-editor.php:123
@@ -1449,7 +1449,7 @@ msgstr ""
1449
  #: includes/admin/downloads/dashboard-columns.php:34
1450
  #: includes/admin/downloads/dashboard-columns.php:286
1451
  #: includes/admin/downloads/metabox.php:456
1452
- #: includes/admin/payments/view-order-details.php:498
1453
  #: includes/admin/reporting/export/class-batch-export-downloads.php:52
1454
  #: templates/shortcode-receipt.php:130
1455
  msgid "Price"
@@ -1679,7 +1679,7 @@ msgstr ""
1679
 
1680
  #: includes/admin/downloads/metabox.php:1017
1681
  #: includes/admin/settings/register-settings.php:719
1682
- #: includes/admin/thickbox.php:59 includes/checkout/template.php:886
1683
  #: includes/shortcodes.php:49 includes/template-functions.php:67
1684
  msgid "Purchase"
1685
  msgstr ""
@@ -2166,7 +2166,7 @@ msgid "Fees"
2166
  msgstr ""
2167
 
2168
  #: includes/admin/payments/view-order-details.php:175
2169
- #: includes/admin/payments/view-order-details.php:506
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
@@ -2259,88 +2259,96 @@ msgstr ""
2259
  msgid "View all purchases of customer"
2260
  msgstr ""
2261
 
2262
- #: includes/admin/payments/view-order-details.php:475
2263
- msgid "Copy Download Link(s)"
 
 
 
 
2264
  msgstr ""
2265
 
2266
  #: includes/admin/payments/view-order-details.php:487
 
 
 
 
2267
  msgid "No %s included with this purchase"
2268
  msgstr ""
2269
 
2270
- #: includes/admin/payments/view-order-details.php:495
2271
- #: includes/admin/payments/view-order-details.php:575
2272
  msgid "Add New %s"
2273
  msgstr ""
2274
 
2275
- #: includes/admin/payments/view-order-details.php:500
2276
  msgid " & Quantity"
2277
  msgstr ""
2278
 
2279
- #: includes/admin/payments/view-order-details.php:614
2280
  msgid "Assign to another customer"
2281
  msgstr ""
2282
 
2283
- #: includes/admin/payments/view-order-details.php:616
2284
  msgid "New Customer"
2285
  msgstr ""
2286
 
2287
- #: includes/admin/payments/view-order-details.php:622
2288
  msgid "Select a customer"
2289
  msgstr ""
2290
 
2291
- #: includes/admin/payments/view-order-details.php:628
2292
- #: includes/class-edd-html-elements.php:212
2293
  msgid "Type to search all Customers"
2294
  msgstr ""
2295
 
2296
- #: includes/admin/payments/view-order-details.php:642
2297
  msgid "Click \"Save Payment\" to change the customer"
2298
  msgstr ""
2299
 
2300
- #: includes/admin/payments/view-order-details.php:662
2301
  msgid "Click \"Save Payment\" to create new customer"
2302
  msgstr ""
2303
 
2304
- #: includes/admin/payments/view-order-details.php:677
2305
  #: includes/checkout/template.php:347
2306
  msgid "Billing Address"
2307
  msgstr ""
2308
 
2309
- #: includes/admin/payments/view-order-details.php:687
2310
  msgid "Street Address Line 1:"
2311
  msgstr ""
2312
 
2313
- #: includes/admin/payments/view-order-details.php:691
2314
  msgid "Street Address Line 2:"
2315
  msgstr ""
2316
 
2317
- #: includes/admin/payments/view-order-details.php:720
2318
  #: includes/admin/settings/register-settings.php:311
2319
  msgid "Select a country"
2320
  msgstr ""
2321
 
2322
- #: includes/admin/payments/view-order-details.php:723
2323
  msgid "Type to search all Countries"
2324
  msgstr ""
2325
 
2326
- #: includes/admin/payments/view-order-details.php:741
2327
  #: includes/admin/settings/register-settings.php:319
2328
  msgid "Select a state"
2329
  msgstr ""
2330
 
2331
- #: includes/admin/payments/view-order-details.php:744
2332
  msgid "Type to search all States/Provinces"
2333
  msgstr ""
2334
 
2335
- #: includes/admin/payments/view-order-details.php:765
2336
  msgid "Payment Notes"
2337
  msgstr ""
2338
 
2339
- #: includes/admin/payments/view-order-details.php:780
2340
  msgid "No payment notes"
2341
  msgstr ""
2342
 
2343
- #: includes/admin/payments/view-order-details.php:786
2344
  msgid "Add Note"
2345
  msgstr ""
2346
 
@@ -3864,7 +3872,7 @@ msgid "The button label for completing a free purchase."
3864
  msgstr ""
3865
 
3866
  #: includes/admin/settings/register-settings.php:726
3867
- #: includes/checkout/template.php:889
3868
  msgid "Free Download"
3869
  msgstr ""
3870
 
@@ -4764,16 +4772,16 @@ msgstr ""
4764
  msgid "Step %d of approximately %d running"
4765
  msgstr ""
4766
 
4767
- #: includes/ajax-functions.php:570 includes/ajax-functions.php:622
4768
  msgid "No results found"
4769
  msgstr ""
4770
 
4771
- #: includes/ajax-functions.php:671 includes/ajax-functions.php:763
4772
- #: includes/class-edd-html-elements.php:307
4773
  msgid "No users found"
4774
  msgstr ""
4775
 
4776
- #: includes/ajax-functions.php:713
4777
  msgid "All Prices"
4778
  msgstr ""
4779
 
@@ -4831,27 +4839,27 @@ msgstr ""
4831
  msgid "No download logs found!"
4832
  msgstr ""
4833
 
4834
- #: includes/api/class-edd-api.php:1952 includes/user-functions.php:1038
4835
  msgid "Easy Digital Downloads API Keys"
4836
  msgstr ""
4837
 
4838
- #: includes/api/class-edd-api.php:1961 includes/user-functions.php:1043
4839
  msgid "Generate API Key"
4840
  msgstr ""
4841
 
4842
- #: includes/api/class-edd-api.php:1963 includes/user-functions.php:1045
4843
  msgid "Public key:"
4844
  msgstr ""
4845
 
4846
- #: includes/api/class-edd-api.php:1964 includes/user-functions.php:1046
4847
  msgid "Secret key:"
4848
  msgstr ""
4849
 
4850
- #: includes/api/class-edd-api.php:1965 includes/user-functions.php:1047
4851
  msgid "Token:"
4852
  msgstr ""
4853
 
4854
- #: includes/api/class-edd-api.php:1967 includes/user-functions.php:1049
4855
  msgid "Revoke API Keys"
4856
  msgstr ""
4857
 
@@ -4863,32 +4871,32 @@ msgstr ""
4863
  msgid "You do not have permission to %s API keys for this user"
4864
  msgstr ""
4865
 
4866
- #: includes/cart/class-edd-cart.php:908
4867
  msgid "includes %s tax"
4868
  msgstr ""
4869
 
4870
- #: includes/cart/class-edd-cart.php:910
4871
  msgid "excludes %s tax"
4872
  msgstr ""
4873
 
4874
- #: includes/cart/class-edd-cart.php:1430 includes/cart/class-edd-cart.php:1493
4875
  #: templates/shortcode-profile-editor.php:22
4876
  msgid "Success"
4877
  msgstr ""
4878
 
4879
- #: includes/cart/class-edd-cart.php:1431
4880
  msgid "Cart saved successfully. You can restore your cart using this URL:"
4881
  msgstr ""
4882
 
4883
- #: includes/cart/class-edd-cart.php:1467 includes/cart/class-edd-cart.php:1481
4884
  msgid "Cart restoration failed. Invalid token."
4885
  msgstr ""
4886
 
4887
- #: includes/cart/class-edd-cart.php:1475 includes/cart/class-edd-cart.php:1484
4888
  msgid "The cart cannot be restored. Invalid token."
4889
  msgstr ""
4890
 
4891
- #: includes/cart/class-edd-cart.php:1493
4892
  msgid "Cart restored successfully."
4893
  msgstr ""
4894
 
@@ -5139,23 +5147,23 @@ msgstr ""
5139
  msgid "Agree to Terms?"
5140
  msgstr ""
5141
 
5142
- #: includes/checkout/template.php:781
5143
  msgid "Show Terms"
5144
  msgstr ""
5145
 
5146
- #: includes/checkout/template.php:782
5147
  msgid "Hide Terms"
5148
  msgstr ""
5149
 
5150
- #: includes/checkout/template.php:803
5151
  msgid "Purchase Total:"
5152
  msgstr ""
5153
 
5154
- #: includes/checkout/template.php:829
5155
  msgid "Go back"
5156
  msgstr ""
5157
 
5158
- #: includes/checkout/template.php:852
5159
  msgid "Next"
5160
  msgstr ""
5161
 
@@ -5311,7 +5319,7 @@ msgstr ""
5311
  msgid "%d customers created in %d seconds"
5312
  msgstr ""
5313
 
5314
- #: includes/class-edd-cli.php:328 includes/class-edd-html-elements.php:230
5315
  msgid "No customers found"
5316
  msgstr ""
5317
 
@@ -5319,8 +5327,8 @@ msgstr ""
5319
  msgid "Customer User ID: %s"
5320
  msgstr ""
5321
 
5322
- #: includes/class-edd-cli.php:335 includes/user-functions.php:565
5323
- #: includes/user-functions.php:574
5324
  msgid "Username: %s"
5325
  msgstr ""
5326
 
@@ -5396,7 +5404,7 @@ msgstr ""
5396
  msgid " Product: %s - %s"
5397
  msgstr ""
5398
 
5399
- #: includes/class-edd-cli.php:444 includes/class-edd-html-elements.php:368
5400
  #: includes/shortcodes.php:270
5401
  msgid "No discounts found"
5402
  msgstr ""
@@ -5526,27 +5534,27 @@ msgstr ""
5526
  msgid "Type to search all %s"
5527
  msgstr ""
5528
 
5529
- #: includes/class-edd-html-elements.php:208
5530
  msgid "Select a Customer"
5531
  msgstr ""
5532
 
5533
- #: includes/class-edd-html-elements.php:225
5534
  msgid "No customer attached"
5535
  msgstr ""
5536
 
5537
- #: includes/class-edd-html-elements.php:285
5538
  msgid "Select a User"
5539
  msgstr ""
5540
 
5541
- #: includes/class-edd-html-elements.php:289
5542
  msgid "Type to search all Users"
5543
  msgstr ""
5544
 
5545
- #: includes/class-edd-html-elements.php:376
5546
  msgid "Select a discount"
5547
  msgstr ""
5548
 
5549
- #: includes/class-edd-html-elements.php:753
5550
  msgid "Enter username"
5551
  msgstr ""
5552
 
@@ -5673,211 +5681,211 @@ msgstr ""
5673
  msgid "Improper date provided."
5674
  msgstr ""
5675
 
5676
- #: includes/country-functions.php:1569
5677
  msgid "A Coru&ntilde;a"
5678
  msgstr ""
5679
 
5680
- #: includes/country-functions.php:1570
5681
  msgid "Araba"
5682
  msgstr ""
5683
 
5684
- #: includes/country-functions.php:1571
5685
  msgid "Albacete"
5686
  msgstr ""
5687
 
5688
- #: includes/country-functions.php:1572
5689
  msgid "Alicante"
5690
  msgstr ""
5691
 
5692
- #: includes/country-functions.php:1573
5693
  msgid "Almer&iacute;a"
5694
  msgstr ""
5695
 
5696
- #: includes/country-functions.php:1574
5697
  msgid "Asturias"
5698
  msgstr ""
5699
 
5700
- #: includes/country-functions.php:1575
5701
  msgid "&Aacute;vila"
5702
  msgstr ""
5703
 
5704
- #: includes/country-functions.php:1576
5705
  msgid "Badajoz"
5706
  msgstr ""
5707
 
5708
- #: includes/country-functions.php:1577
5709
  msgid "Baleares"
5710
  msgstr ""
5711
 
5712
- #: includes/country-functions.php:1578
5713
  msgid "Barcelona"
5714
  msgstr ""
5715
 
5716
- #: includes/country-functions.php:1579
5717
  msgid "Burgos"
5718
  msgstr ""
5719
 
5720
- #: includes/country-functions.php:1580
5721
  msgid "C&aacute;ceres"
5722
  msgstr ""
5723
 
5724
- #: includes/country-functions.php:1581
5725
  msgid "C&aacute;diz"
5726
  msgstr ""
5727
 
5728
- #: includes/country-functions.php:1582
5729
  msgid "Cantabria"
5730
  msgstr ""
5731
 
5732
- #: includes/country-functions.php:1583
5733
  msgid "Castell&oacute;n"
5734
  msgstr ""
5735
 
5736
- #: includes/country-functions.php:1584
5737
  msgid "Ceuta"
5738
  msgstr ""
5739
 
5740
- #: includes/country-functions.php:1585
5741
  msgid "Ciudad Real"
5742
  msgstr ""
5743
 
5744
- #: includes/country-functions.php:1586
5745
  msgid "C&oacute;rdoba"
5746
  msgstr ""
5747
 
5748
- #: includes/country-functions.php:1587
5749
  msgid "Cuenca"
5750
  msgstr ""
5751
 
5752
- #: includes/country-functions.php:1588
5753
  msgid "Girona"
5754
  msgstr ""
5755
 
5756
- #: includes/country-functions.php:1589
5757
  msgid "Granada"
5758
  msgstr ""
5759
 
5760
- #: includes/country-functions.php:1590
5761
  msgid "Guadalajara"
5762
  msgstr ""
5763
 
5764
- #: includes/country-functions.php:1591
5765
  msgid "Gipuzkoa"
5766
  msgstr ""
5767
 
5768
- #: includes/country-functions.php:1592
5769
  msgid "Huelva"
5770
  msgstr ""
5771
 
5772
- #: includes/country-functions.php:1593
5773
  msgid "Huesca"
5774
  msgstr ""
5775
 
5776
- #: includes/country-functions.php:1594
5777
  msgid "Ja&eacute;n"
5778
  msgstr ""
5779
 
5780
- #: includes/country-functions.php:1595
5781
  msgid "La Rioja"
5782
  msgstr ""
5783
 
5784
- #: includes/country-functions.php:1596
5785
  msgid "Las Palmas"
5786
  msgstr ""
5787
 
5788
- #: includes/country-functions.php:1597
5789
  msgid "Le&oacute;n"
5790
  msgstr ""
5791
 
5792
- #: includes/country-functions.php:1598
5793
  msgid "Lleida"
5794
  msgstr ""
5795
 
5796
- #: includes/country-functions.php:1599
5797
  msgid "Lugo"
5798
  msgstr ""
5799
 
5800
- #: includes/country-functions.php:1600
5801
  msgid "Madrid"
5802
  msgstr ""
5803
 
5804
- #: includes/country-functions.php:1601
5805
  msgid "M&aacute;laga"
5806
  msgstr ""
5807
 
5808
- #: includes/country-functions.php:1602
5809
  msgid "Melilla"
5810
  msgstr ""
5811
 
5812
- #: includes/country-functions.php:1603
5813
  msgid "Murcia"
5814
  msgstr ""
5815
 
5816
- #: includes/country-functions.php:1604
5817
  msgid "Navarra"
5818
  msgstr ""
5819
 
5820
- #: includes/country-functions.php:1605
5821
  msgid "Ourense"
5822
  msgstr ""
5823
 
5824
- #: includes/country-functions.php:1606
5825
  msgid "Palencia"
5826
  msgstr ""
5827
 
5828
- #: includes/country-functions.php:1607
5829
  msgid "Pontevedra"
5830
  msgstr ""
5831
 
5832
- #: includes/country-functions.php:1608
5833
  msgid "Salamanca"
5834
  msgstr ""
5835
 
5836
- #: includes/country-functions.php:1609
5837
  msgid "Santa Cruz de Tenerife"
5838
  msgstr ""
5839
 
5840
- #: includes/country-functions.php:1610
5841
  msgid "Segovia"
5842
  msgstr ""
5843
 
5844
- #: includes/country-functions.php:1611
5845
  msgid "Sevilla"
5846
  msgstr ""
5847
 
5848
- #: includes/country-functions.php:1612
5849
  msgid "Soria"
5850
  msgstr ""
5851
 
5852
- #: includes/country-functions.php:1613
5853
  msgid "Tarragona"
5854
  msgstr ""
5855
 
5856
- #: includes/country-functions.php:1614
5857
  msgid "Teruel"
5858
  msgstr ""
5859
 
5860
- #: includes/country-functions.php:1615
5861
  msgid "Toledo"
5862
  msgstr ""
5863
 
5864
- #: includes/country-functions.php:1616
5865
  msgid "Valencia"
5866
  msgstr ""
5867
 
5868
- #: includes/country-functions.php:1617
5869
  msgid "Valladolid"
5870
  msgstr ""
5871
 
5872
- #: includes/country-functions.php:1618
5873
  msgid "Bizkaia"
5874
  msgstr ""
5875
 
5876
- #: includes/country-functions.php:1619
5877
  msgid "Zamora"
5878
  msgstr ""
5879
 
5880
- #: includes/country-functions.php:1620
5881
  msgid "Zaragoza"
5882
  msgstr ""
5883
 
@@ -6047,31 +6055,31 @@ msgstr ""
6047
  msgid "New Sale!"
6048
  msgstr ""
6049
 
6050
- #: includes/emails/functions.php:199 includes/emails/template.php:214
6051
  msgid "Hello"
6052
  msgstr ""
6053
 
6054
- #: includes/emails/functions.php:199 includes/emails/template.php:214
6055
  msgid "A %s purchase has been made"
6056
  msgstr ""
6057
 
6058
- #: includes/emails/functions.php:200 includes/emails/template.php:215
6059
  msgid "%s sold:"
6060
  msgstr ""
6061
 
6062
- #: includes/emails/functions.php:202 includes/emails/template.php:217
6063
  msgid "Purchased by: "
6064
  msgstr ""
6065
 
6066
- #: includes/emails/functions.php:203 includes/emails/template.php:218
6067
  msgid "Amount: "
6068
  msgstr ""
6069
 
6070
- #: includes/emails/functions.php:204 includes/emails/template.php:219
6071
  msgid "Payment Method: "
6072
  msgstr ""
6073
 
6074
- #: includes/emails/functions.php:205 includes/emails/template.php:220
6075
  msgid "Thank you"
6076
  msgstr ""
6077
 
@@ -6099,11 +6107,11 @@ msgstr ""
6099
  msgid "Send Test Email"
6100
  msgstr ""
6101
 
6102
- #: includes/emails/template.php:245
6103
  msgid "Missing purchase key."
6104
  msgstr ""
6105
 
6106
- #: includes/emails/template.php:260
6107
  msgid "Receipt"
6108
  msgstr ""
6109
 
@@ -6651,25 +6659,29 @@ msgstr ""
6651
  msgid "Russian Rubles"
6652
  msgstr ""
6653
 
6654
- #: includes/misc-functions.php:518
 
 
 
 
6655
  msgid ""
6656
  "%1$s is <strong>deprecated</strong> since Easy Digital Downloads version "
6657
  "%2$s! Use %3$s instead."
6658
  msgstr ""
6659
 
6660
- #: includes/misc-functions.php:522
6661
  msgid ""
6662
  "%1$s is <strong>deprecated</strong> since Easy Digital Downloads version "
6663
  "%2$s with no alternative available."
6664
  msgstr ""
6665
 
6666
- #: includes/misc-functions.php:559
6667
  msgid ""
6668
  "The %1$s argument of %2$s is <strong>deprecated</strong> since Easy Digital "
6669
  "Downloads version %3$s! Please use %4$s instead."
6670
  msgstr ""
6671
 
6672
- #: includes/misc-functions.php:563
6673
  msgid ""
6674
  "The %1$s argument of %2$s is <strong>deprecated</strong> since Easy Digital "
6675
  "Downloads version %3$s with no alternative available."
@@ -7287,31 +7299,31 @@ msgstr ""
7287
  msgid "Purchase All Items"
7288
  msgstr ""
7289
 
7290
- #: includes/shortcodes.php:675
7291
  msgid "Sorry, trouble retrieving payment receipt."
7292
  msgstr ""
7293
 
7294
- #: includes/shortcodes.php:710
7295
  msgid "You must be logged in to view this payment receipt."
7296
  msgstr ""
7297
 
7298
- #: includes/shortcodes.php:722
7299
  msgid "Receipt could not be retrieved, your purchase session has expired."
7300
  msgstr ""
7301
 
7302
- #: includes/shortcodes.php:852
7303
  msgid "The passwords you entered do not match. Please try again."
7304
  msgstr ""
7305
 
7306
- #: includes/shortcodes.php:862
7307
  msgid "The email you entered is invalid. Please enter a valid email."
7308
  msgstr ""
7309
 
7310
- #: includes/shortcodes.php:867
7311
  msgid "The email you entered belongs to another user. Please use another."
7312
  msgstr ""
7313
 
7314
- #: includes/shortcodes.php:942
7315
  msgid "Error removing email address from profile. Please try again later."
7316
  msgstr ""
7317
 
@@ -7375,51 +7387,51 @@ msgstr ""
7375
  msgid "Plain Text"
7376
  msgstr ""
7377
 
7378
- #: includes/user-functions.php:563
7379
  msgid "[%s] New User Registration"
7380
  msgstr ""
7381
 
7382
- #: includes/user-functions.php:564
7383
  msgid "New user registration"
7384
  msgstr ""
7385
 
7386
- #: includes/user-functions.php:566
7387
  msgid "E-mail: %s"
7388
  msgstr ""
7389
 
7390
- #: includes/user-functions.php:572
7391
  msgid "[%s] Your username and password"
7392
  msgstr ""
7393
 
7394
- #: includes/user-functions.php:573
7395
  msgid "Your account info"
7396
  msgstr ""
7397
 
7398
- #: includes/user-functions.php:577
7399
  msgid "Password entered at checkout"
7400
  msgstr ""
7401
 
7402
- #: includes/user-functions.php:579
7403
  msgid "Password entered at registration"
7404
  msgstr ""
7405
 
7406
- #: includes/user-functions.php:582
7407
  msgid "Password: %s"
7408
  msgstr ""
7409
 
7410
- #: includes/user-functions.php:586
7411
  msgid "Click here to log in"
7412
  msgstr ""
7413
 
7414
- #: includes/user-functions.php:590
7415
  msgid "To log in, visit: %s"
7416
  msgstr ""
7417
 
7418
- #: includes/user-functions.php:746 includes/user-functions.php:747
7419
  msgid "Verify your account"
7420
  msgstr ""
7421
 
7422
- #: includes/user-functions.php:749
7423
  msgid ""
7424
  "Hello %s,\n"
7425
  "\n"
@@ -7429,33 +7441,33 @@ msgid ""
7429
  "Link missing? Visit the following URL: %s"
7430
  msgstr ""
7431
 
7432
- #: includes/user-functions.php:874
7433
  msgid ""
7434
  "Sorry but your account verification link has expired. <a href=\"%s\">Click "
7435
  "here</a> to request a new verification URL."
7436
  msgstr ""
7437
 
7438
- #: includes/user-functions.php:907
7439
  msgid "You must be logged in to verify your account."
7440
  msgstr ""
7441
 
7442
- #: includes/user-functions.php:907 includes/user-functions.php:911
7443
  msgid "Notice"
7444
  msgstr ""
7445
 
7446
- #: includes/user-functions.php:911
7447
  msgid "Your account has already been verified."
7448
  msgstr ""
7449
 
7450
- #: includes/user-functions.php:956
7451
  msgid "Invalid verification token provided."
7452
  msgstr ""
7453
 
7454
- #: includes/user-functions.php:1061
7455
  msgid "Easy Digital Downloads <a href=\"%s\">iOS App</a>"
7456
  msgstr ""
7457
 
7458
- #: includes/user-functions.php:1068
7459
  msgid "Add to iOS App"
7460
  msgstr ""
7461
 
@@ -7763,62 +7775,62 @@ msgctxt "payment details purchased item total - full screen"
7763
  msgid "%s Total"
7764
  msgstr ""
7765
 
7766
- #: includes/admin/payments/view-order-details.php:438
7767
  msgctxt "payment details purchased item price - mobile"
7768
  msgid "Price"
7769
  msgstr ""
7770
 
7771
- #: includes/admin/payments/view-order-details.php:440
7772
  msgctxt "payment details purchased item quantity - mobile"
7773
  msgid " & Quantity"
7774
  msgstr ""
7775
 
7776
- #: includes/admin/payments/view-order-details.php:455
7777
  msgctxt "payment details purchased item tax - mobile"
7778
  msgid "Tax"
7779
  msgstr ""
7780
 
7781
- #: includes/admin/payments/view-order-details.php:464
7782
  msgctxt "payment details purchased item total - mobile"
7783
  msgid "%s Total"
7784
  msgstr ""
7785
 
7786
- #: includes/admin/payments/view-order-details.php:518
7787
  msgctxt "payment details select item to add - mobile"
7788
  msgid "Select New %s To Add"
7789
  msgstr ""
7790
 
7791
- #: includes/admin/payments/view-order-details.php:530
7792
  msgctxt "payment details add item price - mobile"
7793
  msgid "Price"
7794
  msgstr ""
7795
 
7796
- #: includes/admin/payments/view-order-details.php:532
7797
  msgctxt "payment details add item quantity - mobile"
7798
  msgid " & Quantity"
7799
  msgstr ""
7800
 
7801
- #: includes/admin/payments/view-order-details.php:556
7802
  msgctxt "payment details add item tax - mobile"
7803
  msgid "Tax"
7804
  msgstr ""
7805
 
7806
- #: includes/admin/payments/view-order-details.php:698
7807
  msgctxt "Address City"
7808
  msgid "City:"
7809
  msgstr ""
7810
 
7811
- #: includes/admin/payments/view-order-details.php:703
7812
  msgctxt "Zip / Postal code of address"
7813
  msgid "Zip / Postal Code:"
7814
  msgstr ""
7815
 
7816
- #: includes/admin/payments/view-order-details.php:710
7817
  msgctxt "Address country"
7818
  msgid "Country:"
7819
  msgstr ""
7820
 
7821
- #: includes/admin/payments/view-order-details.php:729
7822
  msgctxt "State / province of address"
7823
  msgid "State / Province:"
7824
  msgstr ""
@@ -7848,17 +7860,17 @@ msgctxt "error for when a discount is invalid based on its configuration"
7848
  msgid "This discount is invalid."
7849
  msgstr ""
7850
 
7851
- #: includes/class-edd-html-elements.php:404
7852
  msgctxt "plural: Example: \"All Categories\""
7853
  msgid "All %s"
7854
  msgstr ""
7855
 
7856
- #: includes/class-edd-html-elements.php:494
7857
  msgctxt "all dropdown items"
7858
  msgid "All"
7859
  msgstr ""
7860
 
7861
- #: includes/class-edd-html-elements.php:495
7862
  msgctxt "no dropdown items"
7863
  msgid "None"
7864
  msgstr ""
@@ -7868,7 +7880,7 @@ msgctxt "download post type name"
7868
  msgid "%2$s"
7869
  msgstr ""
7870
 
7871
- #: includes/shortcodes.php:628
7872
  msgctxt "download post type name"
7873
  msgid "No %s found"
7874
  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.5\n"
6
  "Report-Msgid-Bugs-To: https://easydigitaldownloads.com/\n"
7
+ "POT-Creation-Date: 2017-09-07 22:01:41+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
89
  #: includes/admin/upgrades/upgrade-functions.php:1098
90
  #: includes/api/class-edd-api.php:1988 includes/api/class-edd-api.php:1993
91
  #: includes/api/class-edd-api.php:2005 includes/api/class-edd-api.php:2007
92
+ #: includes/cart/class-edd-cart.php:1468 includes/cart/class-edd-cart.php:1482
93
  #: includes/class-edd-license-handler.php:307
94
  #: includes/deprecated-functions.php:517 includes/deprecated-functions.php:532
95
  #: includes/deprecated-functions.php:542 includes/download-functions.php:1248
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
 
420
  #: includes/admin/discounts/class-discount-codes-table.php:145
421
  #: includes/admin/discounts/edit-discount.php:37
422
  #: includes/admin/downloads/dashboard-columns.php:31
423
+ #: includes/admin/payments/view-order-details.php:660
424
  #: includes/admin/reporting/class-export-customers.php:76
425
  #: includes/admin/reporting/export/class-batch-export-customers.php:43
426
  #: includes/admin/reporting/export/class-batch-export-downloads.php:44
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
 
569
  msgstr ""
570
 
571
  #: includes/admin/customers/customers.php:116
572
+ #: includes/admin/payments/view-order-details.php:613
573
  msgid "Customer Details"
574
  msgstr ""
575
 
640
 
641
  #: includes/admin/customers/customers.php:328
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
 
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
681
  #: includes/admin/customers/customers.php:379
682
  #: includes/admin/customers/customers.php:438
683
  #: includes/admin/customers/customers.php:471
684
+ #: includes/admin/payments/view-order-details.php:522
685
+ #: includes/admin/payments/view-order-details.php:585
686
+ #: includes/admin/payments/view-order-details.php:648
687
+ #: includes/admin/payments/view-order-details.php:668
688
  #: templates/checkout_cart.php:13
689
  msgid "Actions"
690
  msgstr ""
699
  #: includes/admin/downloads/metabox.php:642
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:2003 includes/scripts.php:224
704
  #: templates/checkout_cart.php:57 templates/checkout_cart.php:75
705
  #: templates/shortcode-profile-editor.php:123
1449
  #: includes/admin/downloads/dashboard-columns.php:34
1450
  #: includes/admin/downloads/dashboard-columns.php:286
1451
  #: includes/admin/downloads/metabox.php:456
1452
+ #: includes/admin/payments/view-order-details.php:510
1453
  #: includes/admin/reporting/export/class-batch-export-downloads.php:52
1454
  #: templates/shortcode-receipt.php:130
1455
  msgid "Price"
1679
 
1680
  #: includes/admin/downloads/metabox.php:1017
1681
  #: includes/admin/settings/register-settings.php:719
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 ""
2166
  msgstr ""
2167
 
2168
  #: includes/admin/payments/view-order-details.php:175
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
2259
  msgid "View all purchases of customer"
2260
  msgstr ""
2261
 
2262
+ #: includes/admin/payments/view-order-details.php:422
2263
+ msgid "Deleted"
2264
+ msgstr ""
2265
+
2266
+ #: includes/admin/payments/view-order-details.php:424
2267
+ msgid "%s deleted"
2268
  msgstr ""
2269
 
2270
  #: includes/admin/payments/view-order-details.php:487
2271
+ msgid "Copy Download Link(s)"
2272
+ msgstr ""
2273
+
2274
+ #: includes/admin/payments/view-order-details.php:499
2275
  msgid "No %s included with this purchase"
2276
  msgstr ""
2277
 
2278
+ #: includes/admin/payments/view-order-details.php:507
2279
+ #: includes/admin/payments/view-order-details.php:587
2280
  msgid "Add New %s"
2281
  msgstr ""
2282
 
2283
+ #: includes/admin/payments/view-order-details.php:512
2284
  msgid " & Quantity"
2285
  msgstr ""
2286
 
2287
+ #: includes/admin/payments/view-order-details.php:626
2288
  msgid "Assign to another customer"
2289
  msgstr ""
2290
 
2291
+ #: includes/admin/payments/view-order-details.php:628
2292
  msgid "New Customer"
2293
  msgstr ""
2294
 
2295
+ #: includes/admin/payments/view-order-details.php:634
2296
  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
 
2304
+ #: includes/admin/payments/view-order-details.php:654
2305
  msgid "Click \"Save Payment\" to change the customer"
2306
  msgstr ""
2307
 
2308
+ #: includes/admin/payments/view-order-details.php:674
2309
  msgid "Click \"Save Payment\" to create new customer"
2310
  msgstr ""
2311
 
2312
+ #: includes/admin/payments/view-order-details.php:689
2313
  #: includes/checkout/template.php:347
2314
  msgid "Billing Address"
2315
  msgstr ""
2316
 
2317
+ #: includes/admin/payments/view-order-details.php:699
2318
  msgid "Street Address Line 1:"
2319
  msgstr ""
2320
 
2321
+ #: includes/admin/payments/view-order-details.php:703
2322
  msgid "Street Address Line 2:"
2323
  msgstr ""
2324
 
2325
+ #: includes/admin/payments/view-order-details.php:732
2326
  #: includes/admin/settings/register-settings.php:311
2327
  msgid "Select a country"
2328
  msgstr ""
2329
 
2330
+ #: includes/admin/payments/view-order-details.php:735
2331
  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:319
2336
  msgid "Select a state"
2337
  msgstr ""
2338
 
2339
+ #: includes/admin/payments/view-order-details.php:756
2340
  msgid "Type to search all States/Provinces"
2341
  msgstr ""
2342
 
2343
+ #: includes/admin/payments/view-order-details.php:777
2344
  msgid "Payment Notes"
2345
  msgstr ""
2346
 
2347
+ #: includes/admin/payments/view-order-details.php:792
2348
  msgid "No payment notes"
2349
  msgstr ""
2350
 
2351
+ #: includes/admin/payments/view-order-details.php:798
2352
  msgid "Add Note"
2353
  msgstr ""
2354
 
3872
  msgstr ""
3873
 
3874
  #: includes/admin/settings/register-settings.php:726
3875
+ #: includes/checkout/template.php:894
3876
  msgid "Free Download"
3877
  msgstr ""
3878
 
4772
  msgid "Step %d of approximately %d running"
4773
  msgstr ""
4774
 
4775
+ #: includes/ajax-functions.php:583 includes/ajax-functions.php:635
4776
  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
 
4784
+ #: includes/ajax-functions.php:726
4785
  msgid "All Prices"
4786
  msgstr ""
4787
 
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
 
4871
  msgid "You do not have permission to %s API keys for this user"
4872
  msgstr ""
4873
 
4874
+ #: includes/cart/class-edd-cart.php:909
4875
  msgid "includes %s tax"
4876
  msgstr ""
4877
 
4878
+ #: includes/cart/class-edd-cart.php:911
4879
  msgid "excludes %s tax"
4880
  msgstr ""
4881
 
4882
+ #: includes/cart/class-edd-cart.php:1431 includes/cart/class-edd-cart.php:1494
4883
  #: templates/shortcode-profile-editor.php:22
4884
  msgid "Success"
4885
  msgstr ""
4886
 
4887
+ #: includes/cart/class-edd-cart.php:1432
4888
  msgid "Cart saved successfully. You can restore your cart using this URL:"
4889
  msgstr ""
4890
 
4891
+ #: includes/cart/class-edd-cart.php:1468 includes/cart/class-edd-cart.php:1482
4892
  msgid "Cart restoration failed. Invalid token."
4893
  msgstr ""
4894
 
4895
+ #: includes/cart/class-edd-cart.php:1476 includes/cart/class-edd-cart.php:1485
4896
  msgid "The cart cannot be restored. Invalid token."
4897
  msgstr ""
4898
 
4899
+ #: includes/cart/class-edd-cart.php:1494
4900
  msgid "Cart restored successfully."
4901
  msgstr ""
4902
 
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
  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
  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
  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 ""
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
 
5681
  msgid "Improper date provided."
5682
  msgstr ""
5683
 
5684
+ #: includes/country-functions.php:1604
5685
  msgid "A Coru&ntilde;a"
5686
  msgstr ""
5687
 
5688
+ #: includes/country-functions.php:1605
5689
  msgid "Araba"
5690
  msgstr ""
5691
 
5692
+ #: includes/country-functions.php:1606
5693
  msgid "Albacete"
5694
  msgstr ""
5695
 
5696
+ #: includes/country-functions.php:1607
5697
  msgid "Alicante"
5698
  msgstr ""
5699
 
5700
+ #: includes/country-functions.php:1608
5701
  msgid "Almer&iacute;a"
5702
  msgstr ""
5703
 
5704
+ #: includes/country-functions.php:1609
5705
  msgid "Asturias"
5706
  msgstr ""
5707
 
5708
+ #: includes/country-functions.php:1610
5709
  msgid "&Aacute;vila"
5710
  msgstr ""
5711
 
5712
+ #: includes/country-functions.php:1611
5713
  msgid "Badajoz"
5714
  msgstr ""
5715
 
5716
+ #: includes/country-functions.php:1612
5717
  msgid "Baleares"
5718
  msgstr ""
5719
 
5720
+ #: includes/country-functions.php:1613
5721
  msgid "Barcelona"
5722
  msgstr ""
5723
 
5724
+ #: includes/country-functions.php:1614
5725
  msgid "Burgos"
5726
  msgstr ""
5727
 
5728
+ #: includes/country-functions.php:1615
5729
  msgid "C&aacute;ceres"
5730
  msgstr ""
5731
 
5732
+ #: includes/country-functions.php:1616
5733
  msgid "C&aacute;diz"
5734
  msgstr ""
5735
 
5736
+ #: includes/country-functions.php:1617
5737
  msgid "Cantabria"
5738
  msgstr ""
5739
 
5740
+ #: includes/country-functions.php:1618
5741
  msgid "Castell&oacute;n"
5742
  msgstr ""
5743
 
5744
+ #: includes/country-functions.php:1619
5745
  msgid "Ceuta"
5746
  msgstr ""
5747
 
5748
+ #: includes/country-functions.php:1620
5749
  msgid "Ciudad Real"
5750
  msgstr ""
5751
 
5752
+ #: includes/country-functions.php:1621
5753
  msgid "C&oacute;rdoba"
5754
  msgstr ""
5755
 
5756
+ #: includes/country-functions.php:1622
5757
  msgid "Cuenca"
5758
  msgstr ""
5759
 
5760
+ #: includes/country-functions.php:1623
5761
  msgid "Girona"
5762
  msgstr ""
5763
 
5764
+ #: includes/country-functions.php:1624
5765
  msgid "Granada"
5766
  msgstr ""
5767
 
5768
+ #: includes/country-functions.php:1625
5769
  msgid "Guadalajara"
5770
  msgstr ""
5771
 
5772
+ #: includes/country-functions.php:1626
5773
  msgid "Gipuzkoa"
5774
  msgstr ""
5775
 
5776
+ #: includes/country-functions.php:1627
5777
  msgid "Huelva"
5778
  msgstr ""
5779
 
5780
+ #: includes/country-functions.php:1628
5781
  msgid "Huesca"
5782
  msgstr ""
5783
 
5784
+ #: includes/country-functions.php:1629
5785
  msgid "Ja&eacute;n"
5786
  msgstr ""
5787
 
5788
+ #: includes/country-functions.php:1630
5789
  msgid "La Rioja"
5790
  msgstr ""
5791
 
5792
+ #: includes/country-functions.php:1631
5793
  msgid "Las Palmas"
5794
  msgstr ""
5795
 
5796
+ #: includes/country-functions.php:1632
5797
  msgid "Le&oacute;n"
5798
  msgstr ""
5799
 
5800
+ #: includes/country-functions.php:1633
5801
  msgid "Lleida"
5802
  msgstr ""
5803
 
5804
+ #: includes/country-functions.php:1634
5805
  msgid "Lugo"
5806
  msgstr ""
5807
 
5808
+ #: includes/country-functions.php:1635
5809
  msgid "Madrid"
5810
  msgstr ""
5811
 
5812
+ #: includes/country-functions.php:1636
5813
  msgid "M&aacute;laga"
5814
  msgstr ""
5815
 
5816
+ #: includes/country-functions.php:1637
5817
  msgid "Melilla"
5818
  msgstr ""
5819
 
5820
+ #: includes/country-functions.php:1638
5821
  msgid "Murcia"
5822
  msgstr ""
5823
 
5824
+ #: includes/country-functions.php:1639
5825
  msgid "Navarra"
5826
  msgstr ""
5827
 
5828
+ #: includes/country-functions.php:1640
5829
  msgid "Ourense"
5830
  msgstr ""
5831
 
5832
+ #: includes/country-functions.php:1641
5833
  msgid "Palencia"
5834
  msgstr ""
5835
 
5836
+ #: includes/country-functions.php:1642
5837
  msgid "Pontevedra"
5838
  msgstr ""
5839
 
5840
+ #: includes/country-functions.php:1643
5841
  msgid "Salamanca"
5842
  msgstr ""
5843
 
5844
+ #: includes/country-functions.php:1644
5845
  msgid "Santa Cruz de Tenerife"
5846
  msgstr ""
5847
 
5848
+ #: includes/country-functions.php:1645
5849
  msgid "Segovia"
5850
  msgstr ""
5851
 
5852
+ #: includes/country-functions.php:1646
5853
  msgid "Sevilla"
5854
  msgstr ""
5855
 
5856
+ #: includes/country-functions.php:1647
5857
  msgid "Soria"
5858
  msgstr ""
5859
 
5860
+ #: includes/country-functions.php:1648
5861
  msgid "Tarragona"
5862
  msgstr ""
5863
 
5864
+ #: includes/country-functions.php:1649
5865
  msgid "Teruel"
5866
  msgstr ""
5867
 
5868
+ #: includes/country-functions.php:1650
5869
  msgid "Toledo"
5870
  msgstr ""
5871
 
5872
+ #: includes/country-functions.php:1651
5873
  msgid "Valencia"
5874
  msgstr ""
5875
 
5876
+ #: includes/country-functions.php:1652
5877
  msgid "Valladolid"
5878
  msgstr ""
5879
 
5880
+ #: includes/country-functions.php:1653
5881
  msgid "Bizkaia"
5882
  msgstr ""
5883
 
5884
+ #: includes/country-functions.php:1654
5885
  msgid "Zamora"
5886
  msgstr ""
5887
 
5888
+ #: includes/country-functions.php:1655
5889
  msgid "Zaragoza"
5890
  msgstr ""
5891
 
6055
  msgid "New Sale!"
6056
  msgstr ""
6057
 
6058
+ #: includes/emails/functions.php:199 includes/emails/template.php:212
6059
  msgid "Hello"
6060
  msgstr ""
6061
 
6062
+ #: includes/emails/functions.php:199 includes/emails/template.php:212
6063
  msgid "A %s purchase has been made"
6064
  msgstr ""
6065
 
6066
+ #: includes/emails/functions.php:200 includes/emails/template.php:213
6067
  msgid "%s sold:"
6068
  msgstr ""
6069
 
6070
+ #: includes/emails/functions.php:202 includes/emails/template.php:215
6071
  msgid "Purchased by: "
6072
  msgstr ""
6073
 
6074
+ #: includes/emails/functions.php:203 includes/emails/template.php:216
6075
  msgid "Amount: "
6076
  msgstr ""
6077
 
6078
+ #: includes/emails/functions.php:204 includes/emails/template.php:217
6079
  msgid "Payment Method: "
6080
  msgstr ""
6081
 
6082
+ #: includes/emails/functions.php:205 includes/emails/template.php:218
6083
  msgid "Thank you"
6084
  msgstr ""
6085
 
6107
  msgid "Send Test Email"
6108
  msgstr ""
6109
 
6110
+ #: includes/emails/template.php:243
6111
  msgid "Missing purchase key."
6112
  msgstr ""
6113
 
6114
+ #: includes/emails/template.php:258
6115
  msgid "Receipt"
6116
  msgstr ""
6117
 
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."
7299
  msgid "Purchase All Items"
7300
  msgstr ""
7301
 
7302
+ #: includes/shortcodes.php:672
7303
  msgid "Sorry, trouble retrieving payment receipt."
7304
  msgstr ""
7305
 
7306
+ #: includes/shortcodes.php:707
7307
  msgid "You must be logged in to view this payment receipt."
7308
  msgstr ""
7309
 
7310
+ #: includes/shortcodes.php:719
7311
  msgid "Receipt could not be retrieved, your purchase session has expired."
7312
  msgstr ""
7313
 
7314
+ #: includes/shortcodes.php:849
7315
  msgid "The passwords you entered do not match. Please try again."
7316
  msgstr ""
7317
 
7318
+ #: includes/shortcodes.php:859
7319
  msgid "The email you entered is invalid. Please enter a valid email."
7320
  msgstr ""
7321
 
7322
+ #: includes/shortcodes.php:864
7323
  msgid "The email you entered belongs to another user. Please use another."
7324
  msgstr ""
7325
 
7326
+ #: includes/shortcodes.php:939
7327
  msgid "Error removing email address from profile. Please try again later."
7328
  msgstr ""
7329
 
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
  "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
 
7775
  msgid "%s Total"
7776
  msgstr ""
7777
 
7778
+ #: includes/admin/payments/view-order-details.php:450
7779
  msgctxt "payment details purchased item price - mobile"
7780
  msgid "Price"
7781
  msgstr ""
7782
 
7783
+ #: includes/admin/payments/view-order-details.php:452
7784
  msgctxt "payment details purchased item quantity - mobile"
7785
  msgid " & Quantity"
7786
  msgstr ""
7787
 
7788
+ #: includes/admin/payments/view-order-details.php:467
7789
  msgctxt "payment details purchased item tax - mobile"
7790
  msgid "Tax"
7791
  msgstr ""
7792
 
7793
+ #: includes/admin/payments/view-order-details.php:476
7794
  msgctxt "payment details purchased item total - mobile"
7795
  msgid "%s Total"
7796
  msgstr ""
7797
 
7798
+ #: includes/admin/payments/view-order-details.php:530
7799
  msgctxt "payment details select item to add - mobile"
7800
  msgid "Select New %s To Add"
7801
  msgstr ""
7802
 
7803
+ #: includes/admin/payments/view-order-details.php:542
7804
  msgctxt "payment details add item price - mobile"
7805
  msgid "Price"
7806
  msgstr ""
7807
 
7808
+ #: includes/admin/payments/view-order-details.php:544
7809
  msgctxt "payment details add item quantity - mobile"
7810
  msgid " & Quantity"
7811
  msgstr ""
7812
 
7813
+ #: includes/admin/payments/view-order-details.php:568
7814
  msgctxt "payment details add item tax - mobile"
7815
  msgid "Tax"
7816
  msgstr ""
7817
 
7818
+ #: includes/admin/payments/view-order-details.php:710
7819
  msgctxt "Address City"
7820
  msgid "City:"
7821
  msgstr ""
7822
 
7823
+ #: includes/admin/payments/view-order-details.php:715
7824
  msgctxt "Zip / Postal code of address"
7825
  msgid "Zip / Postal Code:"
7826
  msgstr ""
7827
 
7828
+ #: includes/admin/payments/view-order-details.php:722
7829
  msgctxt "Address country"
7830
  msgid "Country:"
7831
  msgstr ""
7832
 
7833
+ #: includes/admin/payments/view-order-details.php:741
7834
  msgctxt "State / province of address"
7835
  msgid "State / Province:"
7836
  msgstr ""
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 ""
7880
  msgid "%2$s"
7881
  msgstr ""
7882
 
7883
+ #: includes/shortcodes.php:625
7884
  msgctxt "download post type name"
7885
  msgid "No %s found"
7886
  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.4
10
  License: GNU Version 2 or Any Later Version
11
 
12
  The easiest way to sell digital products with WordPress.
@@ -213,6 +213,23 @@ Yes. Easy Digital Downloads also includes default support for Amazon Payments an
213
 
214
  == Changelog ==
215
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
216
  = 2.8.4, August 16, 2017 =
217
 
218
  * Fix: Minor improvements to edd_get_customer_address() function.
@@ -560,7 +577,7 @@ Yes. Easy Digital Downloads also includes default support for Amazon Payments an
560
  * New: Allow exporting the file download history of a specific product.
561
  * New: Add action after discount is added to the cart.
562
  * New: Add action hook called "edd_payment_saved" for when EDD_Payment::save() is run.
563
- * New: Add "author" paramater support to [downloads] shortcode with support for username or ID.
564
  * Tweak: Correct branding of necessary assets.
565
  * Tweak: Block self-pings in tracking check-ins.
566
  * Tweak: Update author and author URI to Easy Digital Downloads.
@@ -917,7 +934,7 @@ Yes. Easy Digital Downloads also includes default support for Amazon Payments an
917
 
918
  * New: Added refund() method to EDD_Payment class
919
  * New: Added filters to enable/disable product and customer stat adjustments during refunds
920
- * New: Addded new hooks to EDD_Payment class that run before payment is setup
921
  * Tweak: Improved taxonomy labels for categories and tags
922
  * Tweak: Automatically flush permalinks when a 404 is detected on EDD archive pages
923
  * Tweak: Add proper 403 headers to REST API
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.5
10
  License: GNU Version 2 or Any Later Version
11
 
12
  The easiest way to sell digital products with WordPress.
213
 
214
  == Changelog ==
215
 
216
+ = 2.8.5, September 7, 2017 =
217
+
218
+ * Fix: The Product Dropdown helper function included products in the trash.
219
+ * Fix: Deleted products could not be removed from payments.
220
+ * Fix: Incorrect cookie name was being used for the 'rememberme' option.
221
+ * Fix: Incorrect pagination was being used when viewing sales logs.
222
+ * Fix: Possible issue parsing headers when accessing via WP Rest API.
223
+ * Fix: Improved security of EDD_Session.
224
+ * New: Added a filter to the "Agree to Terms" markup.
225
+ * New: Added support for Angola (country, municipalities, and currency).
226
+ * New: Increased the width of the discount amount field when adding or editing discounts.
227
+ * New: Added ability to filter sales by email address in WP-CLI.
228
+ * Tweak: Updated form styling for login and register forms.
229
+ * Tweak: Removed clearing divs from the [downloads] shortcode.
230
+ * Tweak: Added inline docs for edd_payment_meta filter.
231
+ * Tweak: Ensure EDD_Cart:get_discounts() return type is consistent.
232
+
233
  = 2.8.4, August 16, 2017 =
234
 
235
  * Fix: Minor improvements to edd_get_customer_address() function.
577
  * New: Allow exporting the file download history of a specific product.
578
  * New: Add action after discount is added to the cart.
579
  * New: Add action hook called "edd_payment_saved" for when EDD_Payment::save() is run.
580
+ * New: Add "author" parameter support to [downloads] shortcode with support for username or ID.
581
  * Tweak: Correct branding of necessary assets.
582
  * Tweak: Block self-pings in tracking check-ins.
583
  * Tweak: Update author and author URI to Easy Digital Downloads.
934
 
935
  * New: Added refund() method to EDD_Payment class
936
  * New: Added filters to enable/disable product and customer stat adjustments during refunds
937
+ * New: Added new hooks to EDD_Payment class that run before payment is setup
938
  * Tweak: Improved taxonomy labels for categories and tags
939
  * Tweak: Automatically flush permalinks when a 404 is detected on EDD archive pages
940
  * Tweak: Add proper 403 headers to REST API
templates/edd.css CHANGED
@@ -680,15 +680,29 @@ table#edd_purchase_receipt_products .edd_bundled_product_name {
680
 
681
  /* =Registration / login Form
682
  -------------------------------------------------------------- */
 
 
 
 
 
 
 
 
 
 
 
683
  #edd_register_form .edd-input,
684
- #edd_login_form .edd-input,
 
 
 
 
 
685
  #edd_register_form label,
686
  #edd_login_form label {
687
- display: inline-block;
688
- width: 200px;
689
  }
690
 
691
-
692
  /* =Profile Form
693
  -------------------------------------------------------------- */
694
  #edd_profile_editor_form p {
@@ -807,13 +821,6 @@ input[type="submit"].edd-submit:focus {
807
  outline: 5px auto -webkit-focus-ring-color;
808
  outline-offset: -2px;
809
  }
810
- input[type="submit"].edd-submit:hover,
811
- input[type="submit"].edd-submit:focus,
812
- .edd-submit.button:hover,
813
- .edd-submit.button:focus {
814
- color: #333333;
815
- text-decoration: none;
816
- }
817
  .edd-submit.button:active {
818
  background-image: none;
819
  outline: 0;
@@ -974,6 +981,11 @@ input[type="submit"].edd-submit:focus,
974
 
975
  /* =Downloads Shortcode
976
  -------------------------------------------------------------- */
 
 
 
 
 
977
  .edd_download {
978
  float: left;
979
  }
@@ -988,13 +1000,22 @@ input[type="submit"].edd-submit:focus,
988
  padding: 0 8px 8px;
989
  margin: 0 0 10px;
990
  }
 
 
 
 
 
 
 
991
  .edd_download_image {
992
  max-width: 100%;
993
  }
994
  .edd_download .edd_price {
995
  margin-bottom: 10px;
996
  }
997
-
 
 
998
 
999
  /* =Misc styles
1000
  -------------------------------------------------------------- */
680
 
681
  /* =Registration / login Form
682
  -------------------------------------------------------------- */
683
+ #edd_register_form legend,
684
+ #edd_login_form legend {
685
+ font-size: 120%;
686
+ margin-bottom: 1em;
687
+ }
688
+
689
+ #edd_register_form fieldset,
690
+ #edd_login_form fieldset {
691
+ border: none;
692
+ }
693
+
694
  #edd_register_form .edd-input,
695
+ #edd_login_form .edd-input {
696
+ -webkit-box-sizing: border-box;
697
+ -moz-box-sizing: border-box;
698
+ box-sizing: border-box;
699
+ }
700
+
701
  #edd_register_form label,
702
  #edd_login_form label {
703
+ cursor: pointer;
 
704
  }
705
 
 
706
  /* =Profile Form
707
  -------------------------------------------------------------- */
708
  #edd_profile_editor_form p {
821
  outline: 5px auto -webkit-focus-ring-color;
822
  outline-offset: -2px;
823
  }
 
 
 
 
 
 
 
824
  .edd-submit.button:active {
825
  background-image: none;
826
  outline: 0;
981
 
982
  /* =Downloads Shortcode
983
  -------------------------------------------------------------- */
984
+ .edd_downloads_list:after {
985
+ content: "";
986
+ display: table;
987
+ clear: both;
988
+ }
989
  .edd_download {
990
  float: left;
991
  }
1000
  padding: 0 8px 8px;
1001
  margin: 0 0 10px;
1002
  }
1003
+ .edd_download_columns_2 .edd_download:nth-child(2n+1),
1004
+ .edd_download_columns_3 .edd_download:nth-child(3n+1),
1005
+ .edd_download_columns_4 .edd_download:nth-child(4n+1),
1006
+ .edd_download_columns_5 .edd_download:nth-child(5n+1),
1007
+ .edd_download_columns_6 .edd_download:nth-child(6n+1) {
1008
+ clear: left;
1009
+ }
1010
  .edd_download_image {
1011
  max-width: 100%;
1012
  }
1013
  .edd_download .edd_price {
1014
  margin-bottom: 10px;
1015
  }
1016
+ #edd_download_pagination {
1017
+ clear: both;
1018
+ }
1019
 
1020
  /* =Misc styles
1021
  -------------------------------------------------------------- */
templates/edd.min.css CHANGED
@@ -1 +1 @@
1
- @charset "UTF-8";#edd_checkout_form_wrap label:after,.edd_clearfix:after{visibility:hidden;float:none;text-indent:-9999px;content:".";clear:both}.edd-icon{display:inline-block;fill:currentColor;position:relative;top:-.0625em;vertical-align:middle;width:1em;height:1em}.edd-icon-lock{top:-.125rem}.edd-icon-spin{display:inline-block;-moz-animation:edd-icon-spin 2s infinite linear;-o-animation:edd-icon-spin 2s infinite linear;-webkit-animation:edd-icon-spin 2s infinite linear;animation:edd-icon-spin 2s infinite linear}@-moz-keyframes edd-icon-spin{0%{-moz-transform:rotate(0)}100%{-moz-transform:rotate(359deg)}}@-webkit-keyframes edd-icon-spin{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(359deg)}}@-o-keyframes edd-icon-spin{0%{-o-transform:rotate(0)}100%{-o-transform:rotate(359deg)}}@-ms-keyframes edd-icon-spin{0%{-ms-transform:rotate(0)}100%{-ms-transform:rotate(359deg)}}@keyframes edd-icon-spin{0%{transform:rotate(0)}100%{transform:rotate(359deg)}}.edd_clearfix:after{display:block}#edd_checkout_cart{text-align:left;width:100%;border:none;margin:0 0 21px;table-layout:auto}#edd_checkout_cart td,#edd_checkout_cart th{text-align:left;border:1px solid #eee;color:#666;padding:.5em 1.387em}#edd_checkout_cart .edd_cart_header_row th{background:#fafafa;padding:1.387em}#edd_checkout_cart .edd_cart_discount_row th,#edd_checkout_cart .edd_cart_tax_row th{background:0 0}#edd_checkout_cart th{font-weight:700}#edd_checkout_cart td{line-height:25px;vertical-align:middle;background:#fff}#edd_checkout_cart td.edd_cart_actions,#edd_checkout_cart td:last-child,#edd_checkout_cart th.edd_cart_actions,#edd_checkout_cart th.edd_cart_total,#edd_checkout_cart th:last-child{text-align:right}#edd_checkout_cart td img{float:left;margin:0 8px 0 0;background:0 0;padding:0;border:none}#edd_checkout_cart input.edd-item-quantity{width:3em;padding:2px}#edd_checkout_cart .edd_discount{display:inline-block;margin-left:5px}.edd_discount_remove{display:inline-block;width:10px;height:11px;background:url(images/xit.gif) no-repeat;position:relative;top:3px}.edd_discount_remove:hover{background-position:-10px 0}#edd_checkout_cart br{display:none}#edd_checkout_cart a.edd-cart-saving-button{font-weight:400;text-decoration:none}#edd_checkout_form_wrap legend{display:block;font-size:120%;line-height:1;font-weight:700;width:100%;margin:0 0 21px;padding:0}#edd_checkout_form_wrap label{font-weight:700;display:block;position:relative;line-height:100%;font-size:95%;margin:0 0 5px}#edd_checkout_form_wrap label:after{display:block;height:0}#edd_checkout_form_wrap span.edd-description{color:#666;font-size:80%;display:block;margin:0 0 5px}#edd_checkout_form_wrap input.edd-input,#edd_checkout_form_wrap textarea.edd-input{display:inline-block;width:70%}#edd_checkout_form_wrap select.edd-select{display:block;width:60%}#edd_checkout_form_wrap select.edd-select.edd-select-small{display:inline;width:auto}#edd_checkout_form_wrap input.edd-input.error,#edd_checkout_form_wrap textarea.edd-input.error{border-color:#c4554e}#edd_checkout_form_wrap>p{margin:0 0 21px}#edd_checkout_form_wrap span.edd-required-indicator{color:#b94a48;display:inline}#edd_checkout_form_wrap input[type=text],#edd_checkout_form_wrap input[type=email],#edd_checkout_form_wrap input[type=password],#edd_checkout_form_wrap input[type=tel],#edd_checkout_form_wrap textarea{padding:4px 6px}#edd_checkout_form_wrap input[type=radio]{border:none;margin-right:5px}#edd_checkout_form_wrap input[type=checkbox]{display:inline-block;margin:0 5px 0 0}#edd_checkout_form_wrap input[type=checkbox]+label,#edd_checkout_form_wrap input[type=checkbox]+label:after{display:inline}#edd_checkout_form_wrap .edd-payment-icons{height:32px;display:block;margin:0 0 8px}#edd_checkout_form_wrap .edd-payment-icons img.payment-icon{max-height:32px;width:auto;margin:0 3px 0 0;float:left;background:0 0;padding:0;border:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}#edd_checkout_form_wrap #edd-payment-mode-wrap label{display:inline-block;margin:0 20px 0 0}#edd_checkout_form_wrap #edd-payment-mode-wrap .edd-payment-mode-label{font-weight:700;display:inline-block;position:relative;margin-bottom:5px}#edd_checkout_form_wrap fieldset{border:1px solid #eee;padding:1.387em;margin:0 0 21px}#edd_checkout_form_wrap #edd_discount_code,#edd_checkout_form_wrap #edd_purchase_submit,#edd_checkout_form_wrap #edd_register_account_fields{padding:0;border:none}#edd_checkout_form_wrap fieldset fieldset{margin:0;border:none;padding:0}#edd_checkout_form_wrap #edd-login-account-wrap,#edd_checkout_form_wrap #edd-new-account-wrap,#edd_checkout_form_wrap #edd_final_total_wrap,#edd_checkout_form_wrap #edd_show_discount,#edd_checkout_form_wrap .edd-cart-adjustment{background:#fafafa;color:#666;padding:.5em 1.387em}#edd_checkout_form_wrap #edd-discount-code-wrap,#edd_checkout_form_wrap #edd_final_total_wrap,#edd_checkout_form_wrap #edd_show_discount{border:1px solid #eee}#edd_checkout_form_wrap .edd-cart-adjustment{padding:1.387em}#edd_checkout_form_wrap .edd-cart-adjustment input.edd-input,#edd_checkout_form_wrap .edd-cart-adjustment input.edd-submit{display:inline-block}#edd_checkout_form_wrap .edd-cart-adjustment input.edd-submit{padding:3px 12px;margin-bottom:2px}#edd_checkout_form_wrap #edd_purchase_final_total p,#edd_checkout_form_wrap fieldset#edd_register_account_fields p.edd_login_password,#edd_checkout_form_wrap fieldset#edd_register_account_fields p.edd_register_password{margin:0}#edd_checkout_form_wrap #edd-discount-error-wrap{width:100%;display:inline-block;margin:1em 0 0}#edd_checkout_form_wrap #edd-login-account-wrap,#edd_checkout_form_wrap #edd-new-account-wrap{margin:-1.387em -1.387em 21px;border-left:none;border-right:none;border-top:none}#edd_checkout_form_wrap #edd_payment_mode_select,#edd_checkout_form_wrap fieldset#edd_register_fields #edd_checkout_user_info{margin-bottom:21px}#edd_checkout_form_wrap fieldset#edd_register_account_fields legend{padding-top:11px}#edd_checkout_form_wrap fieldset#edd_cc_fields{border:1px solid #f0f0f0;background:#f9f9f9;position:relative}#edd_checkout_form_wrap fieldset#edd_cc_fields legend{border:none;padding:0}#edd_checkout_form_wrap fieldset p:last-child{margin-bottom:0}#edd_checkout_form_wrap fieldset#edd_cc_fields #edd-card-number-wrap{margin-top:5px}#edd_checkout_form_wrap #edd_purchase_final_total{margin:21px 0}#edd_secure_site_wrapper{padding:4px 4px 4px 0;font-weight:700}#edd_checkout_form_wrap input.edd-input.card-number.valid{background-image:url(images/tick.png);background-repeat:no-repeat;background-position:98% 50%}#edd_checkout_form_wrap span.exp-divider{display:inline}#edd_checkout_form_wrap span.card-type{position:absolute;top:-2px;right:0;width:43px;height:32px;background-size:43px 32px!important}#edd_checkout_form_wrap span.card-type.off{display:none}#edd_checkout_form_wrap span.card-type.visa{background:url(images/icons/visa.png) no-repeat}#edd_checkout_form_wrap span.card-type.mastercard{background:url(images/icons/mastercard.png) no-repeat}#edd_checkout_form_wrap span.card-type.discover{background:url(images/icons/discover.png) no-repeat}#edd_checkout_form_wrap span.card-type.amex{background:url(images/icons/americanexpress.png) no-repeat}#edd_checkout_form_wrap .edd-cart-ajax{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.edd-amazon-profile-wrapper{font-size:12px}.edd-amazon-profile-name{font-weight:600}.edd-amazon-logout{font-size:10px;line-height:12px}.edd-amazon-logout a{cursor:pointer}#edd-amazon-address-box,#edd-amazon-wallet-box{height:228px;width:350px}#edd-amazon-address-box{margin-bottom:15px}@media only screen and (min-width:768px){#edd-amazon-address-box,#edd-amazon-wallet-box{width:100%;height:228px}}.edd_purchase_submit_wrapper{position:relative}.edd_purchase_submit_wrapper a.edd-add-to-cart{text-decoration:none;display:none;position:relative;overflow:hidden}.edd_purchase_submit_wrapper a.edd-add-to-cart.edd-has-js{display:inline-block}.edd_purchase_submit_wrapper .edd-cart-ajax{display:none;position:relative;left:-35px}.edd-submit.button.edd-ajax-loading{padding-right:30px}.edd-add-to-cart .edd-add-to-cart-label{opacity:1;filter:alpha(opacity=100)}.edd-loading,.edd-loading:after{border-radius:50%;display:block;width:1.5em;height:1.5em}.edd-loading{-webkit-animation:edd-spinning 1.1s infinite linear;animation:edd-spinning 1.1s infinite linear;border-top:.2em solid rgba(255,255,255,.2);border-right:.2em solid rgba(255,255,255,.2);border-bottom:.2em solid rgba(255,255,255,.2);border-left:.2em solid #fff;font-size:.75em;position:absolute;left:calc(50% - .75em);top:calc(50% - .75em);opacity:0;filter:alpha(opacity=0);-ms-transform:translateZ(0);transform:translateZ(0)}.edd-discount-loader.edd-loading,.edd-loading-ajax.edd-loading,a.edd-add-to-cart.white .edd-loading{border-top-color:rgba(0,0,0,.2);border-right-color:rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.2);border-left-color:#000}.edd-loading-ajax.edd-loading{display:inline-block;position:relative;top:0;left:.25em;vertical-align:middle;opacity:1}#edd_checkout_form_wrap .edd-cart-adjustment .edd-apply-discount.edd-submit{display:inline-block}.edd-discount-loader.edd-loading{display:inline-block;position:relative;left:auto;vertical-align:middle;width:1.25em;height:1.25em}@-webkit-keyframes edd-spinning{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes edd-spinning{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.edd-loading,a.edd-add-to-cart .edd-add-to-cart-label{-webkit-transition:.1s opacity!important;-moz-transition:.1s opacity!important;-ms-transition:.1s opacity!important;-o-transition:.1s opacity!important;transition:.1s opacity!important}.edd-add-to-cart[data-edd-loading] .edd-add-to-cart-label{opacity:0;filter:alpha(opacity=0)}.edd-add-to-cart[data-edd-loading] .edd-loading,.edd-discount-loader.edd-loading{opacity:1;filter:alpha(opacity=100)}.edd-cart-added-alert{color:#567622;display:block;position:absolute}.edd-cart-ajax,body.edd_receipt_page:before{position:relative}.edd_form input.edd-input.required,.edd_form select.edd-select.required{color:#000}body.edd_receipt_page{background-color:#fff;color:#141412;margin:0;font-family:Helvetica,sans-serif;font-size:12px}#edd_user_history .edd_purchase_status.cancelled,#edd_user_history .edd_purchase_status.failed,#edd_user_history .edd_purchase_status.pending,#edd_user_history .edd_purchase_status.revoked,table#edd_purchase_receipt .edd_receipt_payment_status.cancelled,table#edd_purchase_receipt .edd_receipt_payment_status.failed,table#edd_purchase_receipt .edd_receipt_payment_status.pending,table#edd_purchase_receipt .edd_receipt_payment_status.revoked{color:#f73f2e}body.edd_receipt_page #edd_receipt_wrapper{width:660px;margin:0 auto;padding:50px 0}body.edd_receipt_page table{display:table;width:100%;border-bottom:1px solid #ededed;border-collapse:collapse;border-spacing:0;font-size:14px;line-height:2;margin:0 0 20px}body.edd_receipt_page td,body.edd_receipt_page th{display:table-cell;text-align:left;border-top:1px solid #ededed;padding:6px 10px;font-weight:400}body.edd_receipt_page th{font-weight:700;text-transform:uppercase}body.edd_receipt_page h3{font-size:22px;margin:40px 0 5px;clear:both;display:block;font-weight:700}body.edd_receipt_page li{list-style:none}table#edd_purchase_receipt,table#edd_purchase_receipt_products{width:100%}table#edd_purchase_receipt td,table#edd_purchase_receipt th,table#edd_purchase_receipt_products td,table#edd_purchase_receipt_products th{text-align:left}table#edd_purchase_receipt_products li{list-style:none;margin:0 0 8px 10px}table#edd_purchase_receipt ul,table#edd_purchase_receipt_products ul.edd_purchase_receipt_files{margin:0;padding:0}table#edd_purchase_receipt li.edd_download_file{list-style:none;margin:0 0 8px}table#edd_purchase_receipt_products .edd_purchase_receipt_product_notes{font-style:italic}table#edd_purchase_receipt_products .edd_purchase_receipt_product_name{font-weight:700}table#edd_purchase_receipt_products .edd_bundled_product_name{font-style:italic;font-weight:700}#edd_user_history{text-align:left;width:100%;border-top:1px solid #f0f0f0;border-bottom:none}#edd_user_history td,#edd_user_history th{text-align:left;padding:3px 5px;border-bottom:1px solid #f0f0f0;border-top:none}#edd_user_history th{font-weight:700;background:#f5f5f5}#edd_user_history td{line-height:25px;vertical-align:middle}#edd_login_form .edd-input,#edd_login_form label,#edd_register_form .edd-input,#edd_register_form label{display:inline-block;width:200px}#edd_profile_editor_form p{margin-bottom:8px}#edd_profile_editor_form label{display:inline-block}#edd_profile_editor_form .edd-profile-emails{list-style-type:none;display:inline-table;margin-left:0;margin-bottom:0}#edd_profile_editor_form .edd-profile-email{width:auto}#edd_profile_editor_form .edd-profile-email .actions{display:none}#edd_profile_editor_form .edd-profile-email:hover>span{display:inline-block}.edd_added_to_cart_alert{padding:5px;font-size:14px;border:1px solid #046a9e;background:#9ecce2;color:#333;margin:8px 0}.edd_added_to_cart_alert a.edd_alert_checkout_link{color:#000!important}input.edd_submit_plain{background:0 0!important;border:none!important;padding:0!important;display:inline;cursor:pointer}.single-download .edd_download_purchase_form{margin-bottom:1.387em}.edd_download_purchase_form .edd_download_quantity_wrapper{margin:0 0 .5em}.edd_download_purchase_form .edd_download_quantity_wrapper .edd-item-quantity{width:75px}.edd_download_purchase_form .edd_price_options{margin:0 0 15px}.edd_download_purchase_form .edd_price_options ul{margin:0;padding:0;list-style:none}.edd_download_purchase_form .edd_price_options li{display:block;padding:0;margin:0}.edd_download_purchase_form .edd_price_options span{display:inline;padding:0;margin:0}.edd_download_purchase_form .edd_price_options .edd_download_quantity_wrapper{padding-left:18px}.edd_download_purchase_form .edd_price_options .edd_download_quantity_wrapper *{font-size:80%}.edd_download_purchase_form .edd_price_options input.edd-item-quantity{display:inline;width:50px;max-width:90%}#edd-purchase-button,.edd-submit,input[type=submit].edd-submit{display:inline-block;padding:6px 12px;margin:0;font-size:14px;font-weight:400;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.edd-submit.button:focus,input[type=submit].edd-submit:focus{outline:#333 dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.edd-submit.button:focus,.edd-submit.button:hover,input[type=submit].edd-submit:focus,input[type=submit].edd-submit:hover{color:#333;text-decoration:none}.edd-submit.button:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.edd-submit.plain{padding:0}.edd-submit.button,.edd-submit.button.gray,.edd-submit.button:visited{color:#333;background:#f0f0f0;border-color:#ccc}.edd-submit.button.gray:active,.edd-submit.button.gray:focus,.edd-submit.button.gray:hover,.edd-submit.button:active,.edd-submit.button:focus,.edd-submit.button:hover{color:#333;background:#ebebeb;border-color:#adadad}.edd-submit.button.gray:active{background-image:none}.edd-submit.button.white{color:#333;background:#fff;border-color:#ccc}.edd-submit.button.white:active,.edd-submit.button.white:focus,.edd-submit.button.white:hover{color:#333;background:#ebebeb;border-color:#adadad}.edd-submit.button.white:active{background-image:none}.edd-submit.button.blue{color:#fff;background:#428bca;border-color:#357ebd}.edd-submit.button.blue.active,.edd-submit.button.blue:focus,.edd-submit.button.blue:hover{color:#fff;background:#3276b1;border-color:#285e8e}.edd-submit.button.blue.active{background-image:none}.edd-submit.button.red{color:#fff;background:#d9534f;border-color:#d43f3a}.edd-submit.button.red:active,.edd-submit.button.red:focus,.edd-submit.button.red:hover{color:#fff;background:#d2322d;border-color:#ac2925}.edd-submit.button.red:active{background-image:none}.edd-submit.button.green{color:#fff;background:#5cb85c;border-color:#4cae4c}.edd-submit.button.green:active,.edd-submit.button.green:focus,.edd-submit.button.green:hover{color:#fff;background:#47a447;border-color:#398439}.edd-submit.button.green:active{background-image:none}.edd-submit.button.yellow{color:#fff;background:#f0ad4e;border-color:#eea236}.edd-submit.button.yellow:active,.edd-submit.button.yellow:focus,.edd-submit.button.yellow:hover{color:#fff;background:#ed9c28;border-color:#d58512}.edd-submit.button.yellow:active{background-image:none}.edd-submit.button.orange{color:#fff;background:#ed9c28;border-color:#e3921e}.edd-submit.button.orange:active,.edd-submit.button.orange:focus,.edd-submit.button.orange:hover{color:#fff;background:#e59016;border-color:#d58512}.edd-submit.button.orange:active{background-image:none}.edd-submit.button.dark-gray{color:#fff;background:#363636;border-color:#222}.edd-submit.button.dark-gray:active,.edd-submit.button.dark-gray:focus,.edd-submit.button.dark-gray:hover{color:#fff;background:#333;border-color:#adadad}.edd-submit.button.dark-gray:active{background-image:none}.edd_download{float:left}.edd_download_columns_1 .edd_download{width:100%}.edd_download_columns_2 .edd_download{width:50%}.edd_download_columns_0 .edd_download,.edd_download_columns_3 .edd_download{width:33%}.edd_download_columns_4 .edd_download{width:25%}.edd_download_columns_5 .edd_download{width:20%}.edd_download_columns_6 .edd_download{width:16.6%}.edd_download_inner{padding:0 8px 8px;margin:0 0 10px}.edd_download_image{max-width:100%}.edd_download .edd_price{margin-bottom:10px}.edd-hide-on-empty.cart-empty{display:none}edd-hide-on-empty.cart-not.empty{display:block}.edd-cart-ajax{margin:0 8px 0 4px;top:2px;background:0 0;border:none;padding:0}.edd-cart-number-of-items{font-style:italic;color:grey}.edd-cart-meta.edd_subtotal{font-weight:700;font-style:italic}.edd-cart-meta.edd_cart_tax{font-size:1em;font-style:italic}.edd-cart-meta.edd_cart_tax::before{font-style:normal}.edd-cart-meta.edd_total{font-weight:700}.edd-cart-meta{padding:2px 5px}.edd-cart-meta.edd_subtotal,.edd-cart-meta.edd_total{background-color:#f9f9f9}.edd_errors:not(.edd-alert){-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;border:1px solid #E6DB55;margin:0 0 21px;background:#FFFFE0;color:#333}.edd_error{padding:10px}p.edd_error{margin:0!important}.edd_success:not(.edd-alert){-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;border:1px solid #b3ce89;margin:20px 0;background:#d5eab3;color:#567622;padding:6px 8px;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}.edd-alert{-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;margin-bottom:20px;padding:10px;border:1px solid transparent;vertical-align:middle}.edd-alert p{padding:0}.edd-alert p:not(:last-child){margin-bottom:5px}.edd-alert p:last-child{margin-bottom:0}.edd-alert-error{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.edd-alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#3c763d}.edd-alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.edd-alert-warn{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}
1
+ @charset "UTF-8";#edd_checkout_form_wrap label:after,.edd_clearfix:after{visibility:hidden;float:none;text-indent:-9999px;content:".";clear:both}#edd_login_form label,#edd_register_form label,.edd-amazon-logout a,input.edd_submit_plain{cursor:pointer}.edd-icon{display:inline-block;fill:currentColor;position:relative;top:-.0625em;vertical-align:middle;width:1em;height:1em}.edd-icon-lock{top:-.125rem}.edd-icon-spin{display:inline-block;-moz-animation:edd-icon-spin 2s infinite linear;-o-animation:edd-icon-spin 2s infinite linear;-webkit-animation:edd-icon-spin 2s infinite linear;animation:edd-icon-spin 2s infinite linear}@-moz-keyframes edd-icon-spin{0%{-moz-transform:rotate(0)}100%{-moz-transform:rotate(359deg)}}@-webkit-keyframes edd-icon-spin{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(359deg)}}@-o-keyframes edd-icon-spin{0%{-o-transform:rotate(0)}100%{-o-transform:rotate(359deg)}}@-ms-keyframes edd-icon-spin{0%{-ms-transform:rotate(0)}100%{-ms-transform:rotate(359deg)}}@keyframes edd-icon-spin{0%{transform:rotate(0)}100%{transform:rotate(359deg)}}.edd_clearfix:after{display:block}#edd_checkout_cart{text-align:left;width:100%;border:none;margin:0 0 21px;table-layout:auto}#edd_checkout_cart td,#edd_checkout_cart th{text-align:left;border:1px solid #eee;color:#666;padding:.5em 1.387em}#edd_checkout_cart .edd_cart_header_row th{background:#fafafa;padding:1.387em}#edd_checkout_cart .edd_cart_discount_row th,#edd_checkout_cart .edd_cart_tax_row th{background:0 0}#edd_checkout_cart th{font-weight:700}#edd_checkout_cart td{line-height:25px;vertical-align:middle;background:#fff}#edd_checkout_cart td.edd_cart_actions,#edd_checkout_cart td:last-child,#edd_checkout_cart th.edd_cart_actions,#edd_checkout_cart th.edd_cart_total,#edd_checkout_cart th:last-child{text-align:right}#edd_checkout_cart td img{float:left;margin:0 8px 0 0;background:0 0;padding:0;border:none}#edd_checkout_cart input.edd-item-quantity{width:3em;padding:2px}#edd_checkout_cart .edd_discount{display:inline-block;margin-left:5px}.edd_discount_remove{display:inline-block;width:10px;height:11px;background:url(images/xit.gif) no-repeat;position:relative;top:3px}.edd_discount_remove:hover{background-position:-10px 0}#edd_checkout_cart br{display:none}#edd_checkout_cart a.edd-cart-saving-button{font-weight:400;text-decoration:none}#edd_checkout_form_wrap legend{display:block;font-size:120%;line-height:1;font-weight:700;width:100%;margin:0 0 21px;padding:0}#edd_checkout_form_wrap label{font-weight:700;display:block;position:relative;line-height:100%;font-size:95%;margin:0 0 5px}#edd_checkout_form_wrap label:after{display:block;height:0}#edd_checkout_form_wrap span.edd-description{color:#666;font-size:80%;display:block;margin:0 0 5px}#edd_checkout_form_wrap input.edd-input,#edd_checkout_form_wrap textarea.edd-input{display:inline-block;width:70%}#edd_checkout_form_wrap select.edd-select{display:block;width:60%}#edd_checkout_form_wrap select.edd-select.edd-select-small{display:inline;width:auto}#edd_checkout_form_wrap input.edd-input.error,#edd_checkout_form_wrap textarea.edd-input.error{border-color:#c4554e}#edd_checkout_form_wrap>p{margin:0 0 21px}#edd_checkout_form_wrap span.edd-required-indicator{color:#b94a48;display:inline}#edd_checkout_form_wrap input[type=text],#edd_checkout_form_wrap input[type=email],#edd_checkout_form_wrap input[type=password],#edd_checkout_form_wrap input[type=tel],#edd_checkout_form_wrap textarea{padding:4px 6px}#edd_checkout_form_wrap input[type=radio]{border:none;margin-right:5px}#edd_checkout_form_wrap input[type=checkbox]{display:inline-block;margin:0 5px 0 0}#edd_checkout_form_wrap input[type=checkbox]+label,#edd_checkout_form_wrap input[type=checkbox]+label:after{display:inline}#edd_checkout_form_wrap .edd-payment-icons{height:32px;display:block;margin:0 0 8px}#edd_checkout_form_wrap .edd-payment-icons img.payment-icon{max-height:32px;width:auto;margin:0 3px 0 0;float:left;background:0 0;padding:0;border:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}#edd_checkout_form_wrap #edd-payment-mode-wrap label{display:inline-block;margin:0 20px 0 0}#edd_checkout_form_wrap #edd-payment-mode-wrap .edd-payment-mode-label{font-weight:700;display:inline-block;position:relative;margin-bottom:5px}#edd_checkout_form_wrap fieldset{border:1px solid #eee;padding:1.387em;margin:0 0 21px}#edd_checkout_form_wrap #edd_discount_code,#edd_checkout_form_wrap #edd_purchase_submit,#edd_checkout_form_wrap #edd_register_account_fields{padding:0;border:none}#edd_checkout_form_wrap fieldset fieldset{margin:0;border:none;padding:0}#edd_checkout_form_wrap #edd-login-account-wrap,#edd_checkout_form_wrap #edd-new-account-wrap,#edd_checkout_form_wrap #edd_final_total_wrap,#edd_checkout_form_wrap #edd_show_discount,#edd_checkout_form_wrap .edd-cart-adjustment{background:#fafafa;color:#666;padding:.5em 1.387em}#edd_checkout_form_wrap #edd-discount-code-wrap,#edd_checkout_form_wrap #edd_final_total_wrap,#edd_checkout_form_wrap #edd_show_discount{border:1px solid #eee}#edd_checkout_form_wrap .edd-cart-adjustment{padding:1.387em}#edd_checkout_form_wrap .edd-cart-adjustment input.edd-input,#edd_checkout_form_wrap .edd-cart-adjustment input.edd-submit{display:inline-block}#edd_checkout_form_wrap .edd-cart-adjustment input.edd-submit{padding:3px 12px;margin-bottom:2px}#edd_checkout_form_wrap #edd_purchase_final_total p,#edd_checkout_form_wrap fieldset#edd_register_account_fields p.edd_login_password,#edd_checkout_form_wrap fieldset#edd_register_account_fields p.edd_register_password{margin:0}#edd_checkout_form_wrap #edd-discount-error-wrap{width:100%;display:inline-block;margin:1em 0 0}#edd_checkout_form_wrap #edd-login-account-wrap,#edd_checkout_form_wrap #edd-new-account-wrap{margin:-1.387em -1.387em 21px;border-left:none;border-right:none;border-top:none}#edd_checkout_form_wrap #edd_payment_mode_select,#edd_checkout_form_wrap fieldset#edd_register_fields #edd_checkout_user_info{margin-bottom:21px}#edd_checkout_form_wrap fieldset#edd_register_account_fields legend{padding-top:11px}#edd_checkout_form_wrap fieldset#edd_cc_fields{border:1px solid #f0f0f0;background:#f9f9f9;position:relative}#edd_checkout_form_wrap fieldset#edd_cc_fields legend{border:none;padding:0}#edd_checkout_form_wrap fieldset p:last-child{margin-bottom:0}#edd_checkout_form_wrap fieldset#edd_cc_fields #edd-card-number-wrap{margin-top:5px}#edd_checkout_form_wrap #edd_purchase_final_total{margin:21px 0}#edd_secure_site_wrapper{padding:4px 4px 4px 0;font-weight:700}#edd_checkout_form_wrap input.edd-input.card-number.valid{background-image:url(images/tick.png);background-repeat:no-repeat;background-position:98% 50%}#edd_checkout_form_wrap span.exp-divider{display:inline}#edd_checkout_form_wrap span.card-type{position:absolute;top:-2px;right:0;width:43px;height:32px;background-size:43px 32px!important}#edd_checkout_form_wrap span.card-type.off{display:none}#edd_checkout_form_wrap span.card-type.visa{background:url(images/icons/visa.png) no-repeat}#edd_checkout_form_wrap span.card-type.mastercard{background:url(images/icons/mastercard.png) no-repeat}#edd_checkout_form_wrap span.card-type.discover{background:url(images/icons/discover.png) no-repeat}#edd_checkout_form_wrap span.card-type.amex{background:url(images/icons/americanexpress.png) no-repeat}#edd_checkout_form_wrap .edd-cart-ajax{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.edd-amazon-profile-wrapper{font-size:12px}.edd-amazon-profile-name{font-weight:600}.edd-amazon-logout{font-size:10px;line-height:12px}#edd-amazon-address-box,#edd-amazon-wallet-box{height:228px;width:350px}#edd-amazon-address-box{margin-bottom:15px}@media only screen and (min-width:768px){#edd-amazon-address-box,#edd-amazon-wallet-box{width:100%;height:228px}}.edd_purchase_submit_wrapper{position:relative}.edd_purchase_submit_wrapper a.edd-add-to-cart{text-decoration:none;display:none;position:relative;overflow:hidden}.edd_purchase_submit_wrapper a.edd-add-to-cart.edd-has-js{display:inline-block}.edd_purchase_submit_wrapper .edd-cart-ajax{display:none;position:relative;left:-35px}.edd-submit.button.edd-ajax-loading{padding-right:30px}.edd-add-to-cart .edd-add-to-cart-label{opacity:1;filter:alpha(opacity=100)}.edd-loading,.edd-loading:after{border-radius:50%;display:block;width:1.5em;height:1.5em}.edd-loading{-webkit-animation:edd-spinning 1.1s infinite linear;animation:edd-spinning 1.1s infinite linear;border-top:.2em solid rgba(255,255,255,.2);border-right:.2em solid rgba(255,255,255,.2);border-bottom:.2em solid rgba(255,255,255,.2);border-left:.2em solid #fff;font-size:.75em;position:absolute;left:calc(50% - .75em);top:calc(50% - .75em);opacity:0;filter:alpha(opacity=0);-ms-transform:translateZ(0);transform:translateZ(0)}.edd-discount-loader.edd-loading,.edd-loading-ajax.edd-loading,a.edd-add-to-cart.white .edd-loading{border-top-color:rgba(0,0,0,.2);border-right-color:rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.2);border-left-color:#000}.edd-loading-ajax.edd-loading{display:inline-block;position:relative;top:0;left:.25em;vertical-align:middle;opacity:1}#edd_checkout_form_wrap .edd-cart-adjustment .edd-apply-discount.edd-submit{display:inline-block}.edd-discount-loader.edd-loading{display:inline-block;position:relative;left:auto;vertical-align:middle;width:1.25em;height:1.25em}@-webkit-keyframes edd-spinning{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes edd-spinning{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.edd-loading,a.edd-add-to-cart .edd-add-to-cart-label{-webkit-transition:.1s opacity!important;-moz-transition:.1s opacity!important;-ms-transition:.1s opacity!important;-o-transition:.1s opacity!important;transition:.1s opacity!important}.edd-add-to-cart[data-edd-loading] .edd-add-to-cart-label{opacity:0;filter:alpha(opacity=0)}.edd-add-to-cart[data-edd-loading] .edd-loading,.edd-discount-loader.edd-loading{opacity:1;filter:alpha(opacity=100)}.edd-cart-added-alert{color:#567622;display:block;position:absolute}.edd-cart-ajax,body.edd_receipt_page:before{position:relative}.edd_form input.edd-input.required,.edd_form select.edd-select.required{color:#000}body.edd_receipt_page{background-color:#fff;color:#141412;margin:0;font-family:Helvetica,sans-serif;font-size:12px}#edd_user_history .edd_purchase_status.cancelled,#edd_user_history .edd_purchase_status.failed,#edd_user_history .edd_purchase_status.pending,#edd_user_history .edd_purchase_status.revoked,table#edd_purchase_receipt .edd_receipt_payment_status.cancelled,table#edd_purchase_receipt .edd_receipt_payment_status.failed,table#edd_purchase_receipt .edd_receipt_payment_status.pending,table#edd_purchase_receipt .edd_receipt_payment_status.revoked{color:#f73f2e}body.edd_receipt_page #edd_receipt_wrapper{width:660px;margin:0 auto;padding:50px 0}body.edd_receipt_page table{display:table;width:100%;border-bottom:1px solid #ededed;border-collapse:collapse;border-spacing:0;font-size:14px;line-height:2;margin:0 0 20px}body.edd_receipt_page td,body.edd_receipt_page th{display:table-cell;text-align:left;border-top:1px solid #ededed;padding:6px 10px;font-weight:400}body.edd_receipt_page th{font-weight:700;text-transform:uppercase}body.edd_receipt_page h3{font-size:22px;margin:40px 0 5px;clear:both;display:block;font-weight:700}body.edd_receipt_page li{list-style:none}table#edd_purchase_receipt,table#edd_purchase_receipt_products{width:100%}table#edd_purchase_receipt td,table#edd_purchase_receipt th,table#edd_purchase_receipt_products td,table#edd_purchase_receipt_products th{text-align:left}table#edd_purchase_receipt_products li{list-style:none;margin:0 0 8px 10px}table#edd_purchase_receipt ul,table#edd_purchase_receipt_products ul.edd_purchase_receipt_files{margin:0;padding:0}table#edd_purchase_receipt li.edd_download_file{list-style:none;margin:0 0 8px}table#edd_purchase_receipt_products .edd_purchase_receipt_product_notes{font-style:italic}table#edd_purchase_receipt_products .edd_purchase_receipt_product_name{font-weight:700}table#edd_purchase_receipt_products .edd_bundled_product_name{font-style:italic;font-weight:700}#edd_user_history{text-align:left;width:100%;border-top:1px solid #f0f0f0;border-bottom:none}#edd_user_history td,#edd_user_history th{text-align:left;padding:3px 5px;border-bottom:1px solid #f0f0f0;border-top:none}#edd_user_history th{font-weight:700;background:#f5f5f5}#edd_user_history td{line-height:25px;vertical-align:middle}#edd_login_form legend,#edd_register_form legend{font-size:120%;margin-bottom:1em}#edd_login_form fieldset,#edd_register_form fieldset{border:none}#edd_login_form .edd-input,#edd_register_form .edd-input{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#edd_profile_editor_form p{margin-bottom:8px}#edd_profile_editor_form label{display:inline-block}#edd_profile_editor_form .edd-profile-emails{list-style-type:none;display:inline-table;margin-left:0;margin-bottom:0}#edd_profile_editor_form .edd-profile-email{width:auto}#edd_profile_editor_form .edd-profile-email .actions{display:none}#edd_profile_editor_form .edd-profile-email:hover>span{display:inline-block}.edd_added_to_cart_alert{padding:5px;font-size:14px;border:1px solid #046a9e;background:#9ecce2;color:#333;margin:8px 0}.edd_added_to_cart_alert a.edd_alert_checkout_link{color:#000!important}input.edd_submit_plain{background:0 0!important;border:none!important;padding:0!important;display:inline}.single-download .edd_download_purchase_form{margin-bottom:1.387em}.edd_download_purchase_form .edd_download_quantity_wrapper{margin:0 0 .5em}.edd_download_purchase_form .edd_download_quantity_wrapper .edd-item-quantity{width:75px}.edd_download_purchase_form .edd_price_options{margin:0 0 15px}.edd_download_purchase_form .edd_price_options ul{margin:0;padding:0;list-style:none}.edd_download_purchase_form .edd_price_options li{display:block;padding:0;margin:0}.edd_download_purchase_form .edd_price_options span{display:inline;padding:0;margin:0}.edd_download_purchase_form .edd_price_options .edd_download_quantity_wrapper{padding-left:18px}.edd_download_purchase_form .edd_price_options .edd_download_quantity_wrapper *{font-size:80%}.edd_download_purchase_form .edd_price_options input.edd-item-quantity{display:inline;width:50px;max-width:90%}#edd-purchase-button,.edd-submit,input[type=submit].edd-submit{display:inline-block;padding:6px 12px;margin:0;font-size:14px;font-weight:400;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.edd-submit.button:focus,input[type=submit].edd-submit:focus{outline:#333 dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.edd-submit.button:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.edd-submit.plain{padding:0;border:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.edd-submit.button,.edd-submit.button.gray,.edd-submit.button:visited{color:#333;background:#f0f0f0;border-color:#ccc}.edd-submit.button.gray:active,.edd-submit.button.gray:focus,.edd-submit.button.gray:hover,.edd-submit.button:active,.edd-submit.button:focus,.edd-submit.button:hover{color:#333;background:#ebebeb;border-color:#adadad}.edd-submit.button.gray:active{background-image:none}.edd-submit.button.white{color:#333;background:#fff;border-color:#ccc}.edd-submit.button.white:active,.edd-submit.button.white:focus,.edd-submit.button.white:hover{color:#333;background:#ebebeb;border-color:#adadad}.edd-submit.button.white:active{background-image:none}.edd-submit.button.blue{color:#fff;background:#428bca;border-color:#357ebd}.edd-submit.button.blue.active,.edd-submit.button.blue:focus,.edd-submit.button.blue:hover{color:#fff;background:#3276b1;border-color:#285e8e}.edd-submit.button.blue.active{background-image:none}.edd-submit.button.red{color:#fff;background:#d9534f;border-color:#d43f3a}.edd-submit.button.red:active,.edd-submit.button.red:focus,.edd-submit.button.red:hover{color:#fff;background:#d2322d;border-color:#ac2925}.edd-submit.button.red:active{background-image:none}.edd-submit.button.green{color:#fff;background:#5cb85c;border-color:#4cae4c}.edd-submit.button.green:active,.edd-submit.button.green:focus,.edd-submit.button.green:hover{color:#fff;background:#47a447;border-color:#398439}.edd-submit.button.green:active{background-image:none}.edd-submit.button.yellow{color:#fff;background:#f0ad4e;border-color:#eea236}.edd-submit.button.yellow:active,.edd-submit.button.yellow:focus,.edd-submit.button.yellow:hover{color:#fff;background:#ed9c28;border-color:#d58512}.edd-submit.button.yellow:active{background-image:none}.edd-submit.button.orange{color:#fff;background:#ed9c28;border-color:#e3921e}.edd-submit.button.orange:active,.edd-submit.button.orange:focus,.edd-submit.button.orange:hover{color:#fff;background:#e59016;border-color:#d58512}.edd-submit.button.orange:active{background-image:none}.edd-submit.button.dark-gray{color:#fff;background:#363636;border-color:#222}.edd-submit.button.dark-gray:active,.edd-submit.button.dark-gray:focus,.edd-submit.button.dark-gray:hover{color:#fff;background:#333;border-color:#adadad}.edd-submit.button.dark-gray:active{background-image:none}.edd_downloads_list:after{content:"";display:table;clear:both}.edd_download{float:left}.edd_download_columns_1 .edd_download{width:100%}.edd_download_columns_2 .edd_download{width:50%}.edd_download_columns_0 .edd_download,.edd_download_columns_3 .edd_download{width:33%}.edd_download_columns_4 .edd_download{width:25%}.edd_download_columns_5 .edd_download{width:20%}.edd_download_columns_6 .edd_download{width:16.6%}.edd_download_inner{padding:0 8px 8px;margin:0 0 10px}.edd_download_columns_2 .edd_download:nth-child(2n+1),.edd_download_columns_3 .edd_download:nth-child(3n+1),.edd_download_columns_4 .edd_download:nth-child(4n+1),.edd_download_columns_5 .edd_download:nth-child(5n+1),.edd_download_columns_6 .edd_download:nth-child(6n+1){clear:left}.edd_download_image{max-width:100%}.edd_download .edd_price{margin-bottom:10px}#edd_download_pagination{clear:both}.edd-hide-on-empty.cart-empty{display:none}edd-hide-on-empty.cart-not.empty{display:block}.edd-cart-ajax{margin:0 8px 0 4px;top:2px;background:0 0;border:none;padding:0}.edd-cart-number-of-items{font-style:italic;color:grey}.edd-cart-meta.edd_subtotal{font-weight:700;font-style:italic}.edd-cart-meta.edd_cart_tax{font-size:1em;font-style:italic}.edd-cart-meta.edd_cart_tax::before{font-style:normal}.edd-cart-meta.edd_total{font-weight:700}.edd-cart-meta{padding:2px 5px}.edd-cart-meta.edd_subtotal,.edd-cart-meta.edd_total{background-color:#f9f9f9}.edd_errors:not(.edd-alert){-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;border:1px solid #E6DB55;margin:0 0 21px;background:#FFFFE0;color:#333}.edd_error{padding:10px}p.edd_error{margin:0!important}.edd_success:not(.edd-alert){-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;border:1px solid #b3ce89;margin:20px 0;background:#d5eab3;color:#567622;padding:6px 8px;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}.edd-alert{-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;margin-bottom:20px;padding:10px;border:1px solid transparent;vertical-align:middle}.edd-alert p{padding:0}.edd-alert p:not(:last-child){margin-bottom:5px}.edd-alert p:last-child{margin-bottom:0}.edd-alert-error{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.edd-alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#3c763d}.edd-alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.edd-alert-warn{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}
templates/shortcode-download.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * A single download inside of the [downloads] shortcode.
4
  *
5
- * @since 2.9.0
6
  *
7
  * @package EDD
8
  * @category Template
2
  /**
3
  * A single download inside of the [downloads] shortcode.
4
  *
5
+ * @since 2.8.0
6
  *
7
  * @package EDD
8
  * @category Template
templates/shortcode-login.php CHANGED
@@ -26,7 +26,7 @@ if ( ! is_user_logged_in() ) :
26
  <input type="hidden" name="edd_redirect" value="<?php echo esc_url( $edd_login_redirect ); ?>"/>
27
  <input type="hidden" name="edd_login_nonce" value="<?php echo wp_create_nonce( 'edd-login-nonce' ); ?>"/>
28
  <input type="hidden" name="edd_action" value="user_login"/>
29
- <input id="edd_login_submit" type="submit" class="edd_submit edd-submit" value="<?php _e( 'Log In', 'easy-digital-downloads' ); ?>"/>
30
  </p>
31
  <p class="edd-lost-password">
32
  <a href="<?php echo wp_lostpassword_url(); ?>">
26
  <input type="hidden" name="edd_redirect" value="<?php echo esc_url( $edd_login_redirect ); ?>"/>
27
  <input type="hidden" name="edd_login_nonce" value="<?php echo wp_create_nonce( 'edd-login-nonce' ); ?>"/>
28
  <input type="hidden" name="edd_action" value="user_login"/>
29
+ <input id="edd_login_submit" type="submit" class="edd-submit" value="<?php _e( 'Log In', 'easy-digital-downloads' ); ?>"/>
30
  </p>
31
  <p class="edd-lost-password">
32
  <a href="<?php echo wp_lostpassword_url(); ?>">
templates/shortcode-register.php CHANGED
@@ -43,7 +43,7 @@ do_action( 'edd_print_errors' ); ?>
43
  <input type="hidden" name="edd_honeypot" value="" />
44
  <input type="hidden" name="edd_action" value="user_register" />
45
  <input type="hidden" name="edd_redirect" value="<?php echo esc_url( $edd_register_redirect ); ?>"/>
46
- <input class="button" name="edd_register_submit" type="submit" value="<?php esc_attr_e( 'Register', 'easy-digital-downloads' ); ?>" />
47
  </p>
48
 
49
  <?php do_action( 'edd_register_form_fields_after' ); ?>
43
  <input type="hidden" name="edd_honeypot" value="" />
44
  <input type="hidden" name="edd_action" value="user_register" />
45
  <input type="hidden" name="edd_redirect" value="<?php echo esc_url( $edd_register_redirect ); ?>"/>
46
+ <input class="edd-submit" name="edd_register_submit" type="submit" value="<?php esc_attr_e( 'Register', 'easy-digital-downloads' ); ?>" />
47
  </p>
48
 
49
  <?php do_action( 'edd_register_form_fields_after' ); ?>