Easy Digital Downloads - Version 2.9.21

Version Description

Download this release

Release Info

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

Code changes from version 2.9.20 to 2.9.21

assets/css/edd-admin.css CHANGED
@@ -1080,30 +1080,36 @@ td.edd_order_price {
1080
  /* Settings page styles
1081
  -------------------------------------------------------------- */
1082
 
1083
- [id*="edd-sendwp-"].button {
 
1084
  font-size: 16px;
1085
  height: auto;
1086
  padding: 8px 14px;
1087
- margin: 0 0 6px;
1088
  }
1089
- [id*="edd-sendwp-"].button .dashicons {
 
1090
  line-height: 29px;
1091
  margin-right: 8px;
1092
  }
1093
  [id*="edd-sendwp-"].button .edd-loading,
1094
- [id*="edd-sendwp-"].button .edd-loading:after {
 
 
1095
  border-radius: 50%;
1096
  display: inline-block;
1097
  width: 14px;
1098
  height: 14px;
1099
  }
1100
- [id*="edd-sendwp-"].button .edd-loading {
 
1101
  position: relative;
1102
  top: 3px;
1103
  margin-left: 4px;
1104
  box-shadow: 0 0 2px rgba(0,0,0,.2);
1105
  }
1106
- [id*="edd-sendwp-"].button .edd-loading {
 
1107
  -webkit-animation: edd-spinning 1.1s infinite linear;
1108
  animation: edd-spinning 1.1s infinite linear;
1109
  border-top: 2px solid rgba(255, 255, 255, 0.5);
@@ -1115,13 +1121,17 @@ td.edd_order_price {
1115
  -ms-transform: translateZ(0);
1116
  transform: translateZ(0);
1117
  }
1118
- #edd-sendwp-disconnect.button .edd-loading.dark {
 
1119
  border-top-color: rgba(0, 0, 0, 0.2);
1120
  border-right-color: rgba(0, 0, 0, 0.2);
1121
  border-bottom-color: rgba(0, 0, 0, 0.2);
1122
  border-left-color: #666;
1123
  box-shadow: none;
1124
  }
 
 
 
1125
  @-webkit-keyframes edd-spinning {
1126
  0% {
1127
  -webkit-transform: rotate(0deg);
1080
  /* Settings page styles
1081
  -------------------------------------------------------------- */
1082
 
1083
+ [id*="edd-sendwp-"].button,
1084
+ [id*="edd-jilt-"].button {
1085
  font-size: 16px;
1086
  height: auto;
1087
  padding: 8px 14px;
1088
+ margin: 6px 0 0;
1089
  }
1090
+ [id*="edd-sendwp-"].button .dashicons,
1091
+ [id*="edd-jilt-"].button .dashicons {
1092
  line-height: 29px;
1093
  margin-right: 8px;
1094
  }
1095
  [id*="edd-sendwp-"].button .edd-loading,
1096
+ [id*="edd-sendwp-"].button .edd-loading:after,
1097
+ [id*="edd-jilt-"].button .edd-loading,
1098
+ [id*="edd-jilt-"].button .edd-loading:after {
1099
  border-radius: 50%;
1100
  display: inline-block;
1101
  width: 14px;
1102
  height: 14px;
1103
  }
1104
+ [id*="edd-sendwp-"].button .edd-loading,
1105
+ [id*="edd-jilt-"].button .edd-loading {
1106
  position: relative;
1107
  top: 3px;
1108
  margin-left: 4px;
1109
  box-shadow: 0 0 2px rgba(0,0,0,.2);
1110
  }
1111
+ [id*="edd-sendwp-"].button .edd-loading,
1112
+ [id*="edd-jilt-"].button .edd-loading {
1113
  -webkit-animation: edd-spinning 1.1s infinite linear;
1114
  animation: edd-spinning 1.1s infinite linear;
1115
  border-top: 2px solid rgba(255, 255, 255, 0.5);
1121
  -ms-transform: translateZ(0);
1122
  transform: translateZ(0);
1123
  }
1124
+ #edd-sendwp-disconnect.button .edd-loading.dark,
1125
+ #edd-jilt-disconnect.button .edd-loading.dark {
1126
  border-top-color: rgba(0, 0, 0, 0.2);
1127
  border-right-color: rgba(0, 0, 0, 0.2);
1128
  border-bottom-color: rgba(0, 0, 0, 0.2);
1129
  border-left-color: #666;
1130
  box-shadow: none;
1131
  }
1132
+ .jilt-notice {
1133
+ position: relative;
1134
+ }
1135
  @-webkit-keyframes edd-spinning {
1136
  0% {
1137
  -webkit-transform: rotate(0deg);
assets/css/edd-admin.min.css CHANGED
@@ -1 +1 @@
1
- .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{position:absolute;background:#333!important;border-width:1px!important;border-radius:3px!important;box-shadow:1px 1px 2px 1px rgba(214,214,214,.5)!important;color:#dedede!important;max-width:300px!important;padding:7px!important;text-rendering:optimizeLegibility;text-shadow:none!important;z-index:9999!important}.download_page_edd-settings .edd-settings-payment-icon-wrapper{margin-right:10px;line-height:16px;height:16px;display:table}#edd-add-ons h2.nav-tab-wrapper{position:relative}.edd-tab-span{top:-6px;right:0;position:absolute}.edd-add-ons-footer{padding-top:10px}#edd-add-ons h2{margin:0 0 15px}.edd-add-ons-view-wrapper{height:50px}#edd-add-ons h2 .button-primary{position:absolute}#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-add-ons .edd-extension .wp-post-image{width:100%;height:auto;vertical-align:bottom}#edd-products{height:100px;min-width:200px}#edd-add-discount input[type=text],#edd-edit-discount input[type=text]{width:300px}#edd-add-discount input.edd-price-field,#edd-edit-discount input.edd-price-field{padding:3px 5px;width:75px}.download_page_edd-addons .wrap .wp-heading-inline,.edit-php.post-type-download .wrap .wp-heading-inline{display:none}.download_page_edd-addons .wrap>.page-title-action,.edit-php.post-type-download .wrap>.page-title-action{display:none}.download_page_edd-addons .wrap .nav-tab-wrapper .page-title-action,.edit-php.post-type-download .wrap .nav-tab-wrapper .page-title-action{top:7px;margin-left:5px}#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}#edd-payment-filters p{color:#777}#edd-payment-date-filters input{vertical-align:middle}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;vertical-align:middle}.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{width:80px}#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{color:#777}.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-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-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-bundled-product-row .edd-bundled-product-actions{float:right}.edd_repeatable_upload_wrapper .edd_repeatable_upload_field_container{position:relative}.edd_upload_file{background:#fff;display:block;padding:2px 8px 2px;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 0;text-indent:-9999px;width:10px;height:10px}.edd_remove_repeatable:active,.edd_remove_repeatable:focus,.edd_remove_repeatable:hover{background-position:-10px 0!important}#edd-edit-order-form .column{width:32%}.edd-edit-purchase-element[class*=columns-] ul li{padding-right:1%}#edd-edit-order-form .column:nth-child(2n+1),#edd-edit-order-form .columns-4 .column:nth-child(2n+1),#edd-edit-order-form .columns-5 .column:nth-child(3n+1){margin-right:0}#edd-edit-order-form input.large-text{width:90%}.edd-edit-purchase-element ul li.download{width:35%}.edd-edit-purchase-element ul li.item_price{width:15%}.edd-edit-purchase-element ul li.item_price.item_quantity{width:25%}.edd-edit-purchase-element ul li.item_tax{width:15%}.edd-edit-purchase-element ul li.price{width:20%}.edd-admin-box .label{font-weight:600}.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-admin-box-inside .strong{font-weight:600}.edd-payment-fees .fee-label{color:#666;font-weight:400}.edd-admin-box .right{float:right}.rtl .edd-admin-box .right{float:left;margin-left:10px}#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-customer-details .actions{float:right}.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-order-recalc-total{float:right}#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:normal 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_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 0}.edd_dashboard_widget .edd_dashboard_widget_subheading+.table{margin:8px 0 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;position:relative;width:100%}.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 5px;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%}[id*=edd-sendwp-].button{font-size:16px;height:auto;padding:8px 14px;margin:0 0 6px}[id*=edd-sendwp-].button .dashicons{line-height:29px;margin-right:8px}[id*=edd-sendwp-].button .edd-loading,[id*=edd-sendwp-].button .edd-loading:after{border-radius:50%;display:inline-block;width:14px;height:14px}[id*=edd-sendwp-].button .edd-loading{position:relative;top:3px;margin-left:4px;box-shadow:0 0 2px rgba(0,0,0,.2)}[id*=edd-sendwp-].button .edd-loading{-webkit-animation:edd-spinning 1.1s infinite linear;animation:edd-spinning 1.1s infinite linear;border-top:2px solid rgba(255,255,255,.5);border-right:2px solid rgba(255,255,255,.5);border-bottom:2px solid rgba(255,255,255,.5);border-left:2px solid #fff;font-size:14px;-ms-transform:translateZ(0);transform:translateZ(0)}#edd-sendwp-disconnect.button .edd-loading.dark{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:#666;box-shadow:none}@-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_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[class*=edd-license-] a:hover{text-decoration:none}.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 .edd-license-data.edd-license-expired a:hover,.wrap-licenses .edd-license-data.license-expires-soon-notice a:hover{text-decoration:none}.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;border-top-left-radius:3px;-webkit-border-top-right-radius:3px;border-top-right-radius:3px;-webkit-border-bottom-left-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;-webkit-box-shadow:1px 1px 2px rgba(0,0,0,.1);box-shadow:1px 1px 2px rgba(0,0,0,.1)}.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}}@media screen and (max-width:600px){.wrap-licenses .form-table tr{width:100%;min-height:230px}#edd-edit-order-form input.large-text{width:100%}}#edd-item-wrapper{background:#f5f5f5;border:1px solid #e5e5e5;webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);max-width:830px}#edd-item-wrapper:after{content:"";display:block;clear:both;visibility:hidden;font-size:0;height:0}#edd-item-tab-wrapper{float:left;width:18%;z-index:1}#edd-item-tab-wrapper-list{background:#fff;margin:0}#edd-item-tab-wrapper-list li{display:block;background-color:#eaeaea;color:#444;font-size:12px;border-bottom:1px solid #e5e5e5;margin-bottom:0;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;word-wrap:break-word}#edd-item-tab-wrapper-list li a{display:block;padding:8px 10px 8px 6px}#edd-item-tab-wrapper-list li.active{display:block;background-color:#fff;padding:8px 10px 8px 6px}#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{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-id{font-size:24px;font-weight:600}#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;text-decoration:none}.customer-info .customer-name{font-size:24px;font-weight:600}.customer-edit-link a,.disconnect-user a{font-size:12px;font-weight:400;text-decoration:none}#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 a{text-decoration:none}#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{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}.delete-customer{text-align:center}#edd-item-card-wrapper .notice-container{padding-left:20px;padding-right:20px;margin-left:-20px;margin-right:-20px}#edd-item-card-wrapper .add-customer-email-wrapper>#add-customer-email{vertical-align:middle}@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 0}#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-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}.customer-info .customer-name{font-size:16px}#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}#edd-item-card-wrapper .customer-id{font-size:16px}}@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 0}.edd-repeatable-row-actions,.edd-repeatable-row-title{text-align:left;width:100%}.edd-repeatable-row-title{padding-bottom:0}.edd-bundled-product-item-reorder,.edd-bundled-product-row .edd-bundled-product-item,.edd-bundled-product-row .edd-bundled-product-price-assignment,.edd-file-assignment,.edd-file-name,.edd-file-url,.edd-option-name,.edd-option-price,.edd_repeatable_default{float:none;text-align:left;width:100%!important;margin:10px 0}.edd-bundled-product-row .edd-bundled-product-actions{float:none}.edd-bundled-product-row .edd-bundled-product-item-reorder .edd-product-file-reorder{padding:0}#edd-payment-filters span{display:block;margin:2px 0}#edd-payment-filters a,.download_page_edd-reports .button{text-align:center}#edd-payment-date-filters span{display:block}#edd-payment-date-filters span>input{float:right}#edd-add-discount select[multiple] option,#edd-edit-discount select[multiple] option{height:20px}#edd-add-discount input[type=text],#edd-edit-discount input[type=text],#edd-payment-filters a,#edd-payment-filters input:not([type=radio]),#edd-payment-filters select,#system-info-textarea,.download_page_edd-reports .inside .button,.download_page_edd-reports .inside input[type=submit],.download_page_edd-reports .inside input[type=text],.download_page_edd-reports .inside select,.download_page_edd-settings .inside input[type=button],.download_page_edd-tools .inside input[type=submit],.download_page_edd-tools .inside input[type=text],.download_page_edd-tools .inside select{width:100%}#edd-add-discount select[multiple],#edd-edit-discount select[multiple],.download_page_edd-tools select[multiple]{height:200px!important}.download_page_edd-settings input[type=checkbox]{margin:2px 0}.post-type-download input[type=checkbox]{margin-left:2px}}.recount-stats-controls form{display:inline}.edd-recount-stats-descriptions span{display:none;line-height:24px}#edd-debug-log p.submit{margin:20px 0 0;padding:0}#edd-debug-log .edd-inline-button{margin-left:5px}.edd-settings-sidebar{padding-top:27px}.edd-settings-sidebar-content{background-color:#fff;text-align:center;border:1px solid #ddd;box-sizing:border-box;max-width:300px}.edd-settings-sidebar-content p{font-size:14px;line-height:1.5;margin-top:0}.edd-sidebar-header-section{background-color:#35495c;line-height:1;padding:26px 20px 24px;border-bottom:3px dashed #fafafa}.edd-sidebar-description-section{background-color:#fafafa;padding:16px 20px;border-bottom:1px solid #ddd}.edd-sidebar-description-section .edd-sidebar-description{margin:0}.edd-sidebar-coupon-section{font-size:14px;padding:16px 20px}.edd-sidebar-coupon-section label{display:block;line-height:1.4;margin-bottom:6px}.edd-sidebar-coupon-section label strong{color:#253b51;font-weight:700}.edd-sidebar-coupon-section input{background:#f4f7fa;font-size:22px;font-weight:600;text-align:center;padding:10px;border:2px dashed #2794da;border-radius:4px;margin-bottom:16px;box-shadow:none;width:100%}.edd-sidebar-coupon-section input:focus{border:2px dashed #2794da;box-shadow:none}.edd-settings-sidebar-content .edd-coupon-note{color:#6c7883;font-size:13px;font-style:italic;margin:0}.edd-settings-sidebar-content .edd-coupon-note a{color:#253b51}.edd-settings-sidebar-content .edd-coupon-note a:hover{text-decoration:none}.edd-sidebar-footer-section{background-color:#fafafa;padding:16px 20px;border-top:1px solid #ddd}.edd-sidebar-footer-section .edd-cta-button{display:block;background-color:#2794da;color:#fff;text-decoration:none;font-size:20px;font-weight:700;text-transform:uppercase;padding:17px 10px;border:none;border-radius:4px;width:100%;box-sizing:border-box;box-shadow:none;transition:background-color .2s}.edd-sidebar-footer-section .edd-cta-button:hover{background-color:#2386c5}@media all and (min-width:1080px){.edd-has-sidebar .edd-settings-content{float:left;width:67%}.edd-has-sidebar .edd-settings-sidebar{float:right;width:31%}}@media all and (min-width:1240px){.edd-has-sidebar .edd-settings-content{width:74%}.edd-has-sidebar .edd-settings-sidebar{width:23%}}.taxes-tab .edd-has-sidebar .edd-settings-content,.taxes-tab .edd-has-sidebar .edd-settings-sidebar{float:none;width:100%}.bfcm-promo-img-container{background-color:#35495c;width:100%;height:160px}.bfcm-code{color:#2794da;font-weight:700}.sale-ends{position:absolute;bottom:9px;right:14px;display:inline-block;color:#6c7883;font-size:12px;text-align:right;font-style:italic;width:150px}
1
+ .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{position:absolute;background:#333!important;border-width:1px!important;border-radius:3px!important;box-shadow:1px 1px 2px 1px rgba(214,214,214,.5)!important;color:#dedede!important;max-width:300px!important;padding:7px!important;text-rendering:optimizeLegibility;text-shadow:none!important;z-index:9999!important}.download_page_edd-settings .edd-settings-payment-icon-wrapper{margin-right:10px;line-height:16px;height:16px;display:table}#edd-add-ons h2.nav-tab-wrapper{position:relative}.edd-tab-span{top:-6px;right:0;position:absolute}.edd-add-ons-footer{padding-top:10px}#edd-add-ons h2{margin:0 0 15px}.edd-add-ons-view-wrapper{height:50px}#edd-add-ons h2 .button-primary{position:absolute}#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-add-ons .edd-extension .wp-post-image{width:100%;height:auto;vertical-align:bottom}#edd-products{height:100px;min-width:200px}#edd-add-discount input[type=text],#edd-edit-discount input[type=text]{width:300px}#edd-add-discount input.edd-price-field,#edd-edit-discount input.edd-price-field{padding:3px 5px;width:75px}.download_page_edd-addons .wrap .wp-heading-inline,.edit-php.post-type-download .wrap .wp-heading-inline{display:none}.download_page_edd-addons .wrap>.page-title-action,.edit-php.post-type-download .wrap>.page-title-action{display:none}.download_page_edd-addons .wrap .nav-tab-wrapper .page-title-action,.edit-php.post-type-download .wrap .nav-tab-wrapper .page-title-action{top:7px;margin-left:5px}#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}#edd-payment-filters p{color:#777}#edd-payment-date-filters input{vertical-align:middle}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;vertical-align:middle}.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{width:80px}#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{color:#777}.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-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-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-bundled-product-row .edd-bundled-product-actions{float:right}.edd_repeatable_upload_wrapper .edd_repeatable_upload_field_container{position:relative}.edd_upload_file{background:#fff;display:block;padding:2px 8px 2px;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 0;text-indent:-9999px;width:10px;height:10px}.edd_remove_repeatable:active,.edd_remove_repeatable:focus,.edd_remove_repeatable:hover{background-position:-10px 0!important}#edd-edit-order-form .column{width:32%}.edd-edit-purchase-element[class*=columns-] ul li{padding-right:1%}#edd-edit-order-form .column:nth-child(2n+1),#edd-edit-order-form .columns-4 .column:nth-child(2n+1),#edd-edit-order-form .columns-5 .column:nth-child(3n+1){margin-right:0}#edd-edit-order-form input.large-text{width:90%}.edd-edit-purchase-element ul li.download{width:35%}.edd-edit-purchase-element ul li.item_price{width:15%}.edd-edit-purchase-element ul li.item_price.item_quantity{width:25%}.edd-edit-purchase-element ul li.item_tax{width:15%}.edd-edit-purchase-element ul li.price{width:20%}.edd-admin-box .label{font-weight:600}.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-admin-box-inside .strong{font-weight:600}.edd-payment-fees .fee-label{color:#666;font-weight:400}.edd-admin-box .right{float:right}.rtl .edd-admin-box .right{float:left;margin-left:10px}#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-customer-details .actions{float:right}.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-order-recalc-total{float:right}#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:normal 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_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 0}.edd_dashboard_widget .edd_dashboard_widget_subheading+.table{margin:8px 0 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;position:relative;width:100%}.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 5px;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%}[id*=edd-jilt-].button,[id*=edd-sendwp-].button{font-size:16px;height:auto;padding:8px 14px;margin:6px 0 0}[id*=edd-jilt-].button .dashicons,[id*=edd-sendwp-].button .dashicons{line-height:29px;margin-right:8px}[id*=edd-jilt-].button .edd-loading,[id*=edd-jilt-].button .edd-loading:after,[id*=edd-sendwp-].button .edd-loading,[id*=edd-sendwp-].button .edd-loading:after{border-radius:50%;display:inline-block;width:14px;height:14px}[id*=edd-jilt-].button .edd-loading,[id*=edd-sendwp-].button .edd-loading{position:relative;top:3px;margin-left:4px;box-shadow:0 0 2px rgba(0,0,0,.2)}[id*=edd-jilt-].button .edd-loading,[id*=edd-sendwp-].button .edd-loading{-webkit-animation:edd-spinning 1.1s infinite linear;animation:edd-spinning 1.1s infinite linear;border-top:2px solid rgba(255,255,255,.5);border-right:2px solid rgba(255,255,255,.5);border-bottom:2px solid rgba(255,255,255,.5);border-left:2px solid #fff;font-size:14px;-ms-transform:translateZ(0);transform:translateZ(0)}#edd-jilt-disconnect.button .edd-loading.dark,#edd-sendwp-disconnect.button .edd-loading.dark{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:#666;box-shadow:none}.jilt-notice{position:relative}@-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_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[class*=edd-license-] a:hover{text-decoration:none}.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 .edd-license-data.edd-license-expired a:hover,.wrap-licenses .edd-license-data.license-expires-soon-notice a:hover{text-decoration:none}.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;border-top-left-radius:3px;-webkit-border-top-right-radius:3px;border-top-right-radius:3px;-webkit-border-bottom-left-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;-webkit-box-shadow:1px 1px 2px rgba(0,0,0,.1);box-shadow:1px 1px 2px rgba(0,0,0,.1)}.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}}@media screen and (max-width:600px){.wrap-licenses .form-table tr{width:100%;min-height:230px}#edd-edit-order-form input.large-text{width:100%}}#edd-item-wrapper{background:#f5f5f5;border:1px solid #e5e5e5;webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);max-width:830px}#edd-item-wrapper:after{content:"";display:block;clear:both;visibility:hidden;font-size:0;height:0}#edd-item-tab-wrapper{float:left;width:18%;z-index:1}#edd-item-tab-wrapper-list{background:#fff;margin:0}#edd-item-tab-wrapper-list li{display:block;background-color:#eaeaea;color:#444;font-size:12px;border-bottom:1px solid #e5e5e5;margin-bottom:0;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;word-wrap:break-word}#edd-item-tab-wrapper-list li a{display:block;padding:8px 10px 8px 6px}#edd-item-tab-wrapper-list li.active{display:block;background-color:#fff;padding:8px 10px 8px 6px}#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{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-id{font-size:24px;font-weight:600}#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;text-decoration:none}.customer-info .customer-name{font-size:24px;font-weight:600}.customer-edit-link a,.disconnect-user a{font-size:12px;font-weight:400;text-decoration:none}#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 a{text-decoration:none}#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{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}.delete-customer{text-align:center}#edd-item-card-wrapper .notice-container{padding-left:20px;padding-right:20px;margin-left:-20px;margin-right:-20px}#edd-item-card-wrapper .add-customer-email-wrapper>#add-customer-email{vertical-align:middle}@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 0}#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-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}.customer-info .customer-name{font-size:16px}#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}#edd-item-card-wrapper .customer-id{font-size:16px}}@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 0}.edd-repeatable-row-actions,.edd-repeatable-row-title{text-align:left;width:100%}.edd-repeatable-row-title{padding-bottom:0}.edd-bundled-product-item-reorder,.edd-bundled-product-row .edd-bundled-product-item,.edd-bundled-product-row .edd-bundled-product-price-assignment,.edd-file-assignment,.edd-file-name,.edd-file-url,.edd-option-name,.edd-option-price,.edd_repeatable_default{float:none;text-align:left;width:100%!important;margin:10px 0}.edd-bundled-product-row .edd-bundled-product-actions{float:none}.edd-bundled-product-row .edd-bundled-product-item-reorder .edd-product-file-reorder{padding:0}#edd-payment-filters span{display:block;margin:2px 0}#edd-payment-filters a,.download_page_edd-reports .button{text-align:center}#edd-payment-date-filters span{display:block}#edd-payment-date-filters span>input{float:right}#edd-add-discount select[multiple] option,#edd-edit-discount select[multiple] option{height:20px}#edd-add-discount input[type=text],#edd-edit-discount input[type=text],#edd-payment-filters a,#edd-payment-filters input:not([type=radio]),#edd-payment-filters select,#system-info-textarea,.download_page_edd-reports .inside .button,.download_page_edd-reports .inside input[type=submit],.download_page_edd-reports .inside input[type=text],.download_page_edd-reports .inside select,.download_page_edd-settings .inside input[type=button],.download_page_edd-tools .inside input[type=submit],.download_page_edd-tools .inside input[type=text],.download_page_edd-tools .inside select{width:100%}#edd-add-discount select[multiple],#edd-edit-discount select[multiple],.download_page_edd-tools select[multiple]{height:200px!important}.download_page_edd-settings input[type=checkbox]{margin:2px 0}.post-type-download input[type=checkbox]{margin-left:2px}}.recount-stats-controls form{display:inline}.edd-recount-stats-descriptions span{display:none;line-height:24px}#edd-debug-log p.submit{margin:20px 0 0;padding:0}#edd-debug-log .edd-inline-button{margin-left:5px}.edd-settings-sidebar{padding-top:27px}.edd-settings-sidebar-content{background-color:#fff;text-align:center;border:1px solid #ddd;box-sizing:border-box;max-width:300px}.edd-settings-sidebar-content p{font-size:14px;line-height:1.5;margin-top:0}.edd-sidebar-header-section{background-color:#35495c;line-height:1;padding:26px 20px 24px;border-bottom:3px dashed #fafafa}.edd-sidebar-description-section{background-color:#fafafa;padding:16px 20px;border-bottom:1px solid #ddd}.edd-sidebar-description-section .edd-sidebar-description{margin:0}.edd-sidebar-coupon-section{font-size:14px;padding:16px 20px}.edd-sidebar-coupon-section label{display:block;line-height:1.4;margin-bottom:6px}.edd-sidebar-coupon-section label strong{color:#253b51;font-weight:700}.edd-sidebar-coupon-section input{background:#f4f7fa;font-size:22px;font-weight:600;text-align:center;padding:10px;border:2px dashed #2794da;border-radius:4px;margin-bottom:16px;box-shadow:none;width:100%}.edd-sidebar-coupon-section input:focus{border:2px dashed #2794da;box-shadow:none}.edd-settings-sidebar-content .edd-coupon-note{color:#6c7883;font-size:13px;font-style:italic;margin:0}.edd-settings-sidebar-content .edd-coupon-note a{color:#253b51}.edd-settings-sidebar-content .edd-coupon-note a:hover{text-decoration:none}.edd-sidebar-footer-section{background-color:#fafafa;padding:16px 20px;border-top:1px solid #ddd}.edd-sidebar-footer-section .edd-cta-button{display:block;background-color:#2794da;color:#fff;text-decoration:none;font-size:20px;font-weight:700;text-transform:uppercase;padding:17px 10px;border:none;border-radius:4px;width:100%;box-sizing:border-box;box-shadow:none;transition:background-color .2s}.edd-sidebar-footer-section .edd-cta-button:hover{background-color:#2386c5}@media all and (min-width:1080px){.edd-has-sidebar .edd-settings-content{float:left;width:67%}.edd-has-sidebar .edd-settings-sidebar{float:right;width:31%}}@media all and (min-width:1240px){.edd-has-sidebar .edd-settings-content{width:74%}.edd-has-sidebar .edd-settings-sidebar{width:23%}}.taxes-tab .edd-has-sidebar .edd-settings-content,.taxes-tab .edd-has-sidebar .edd-settings-sidebar{float:none;width:100%}.bfcm-promo-img-container{background-color:#35495c;width:100%;height:160px}.bfcm-code{color:#2794da;font-weight:700}.sale-ends{position:absolute;bottom:9px;right:14px;display:inline-block;color:#6c7883;font-size:12px;text-align:right;font-style:italic;width:150px}
assets/js/admin-scripts.js CHANGED
@@ -1219,7 +1219,7 @@ jQuery(document).ready(function ($) {
1219
  $('#edd-sendwp-connect').on('click', function(e) {
1220
 
1221
  e.preventDefault();
1222
- $(this).html( '<span class="dashicons dashicons-email"></span>' + edd_vars.wait + ' <span class="edd-loading"></span>' );
1223
  document.body.style.cursor = 'wait';
1224
  easy_digital_downloads_sendwp_remote_install();
1225
 
@@ -1233,6 +1233,22 @@ jQuery(document).ready(function ($) {
1233
 
1234
  });
1235
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1236
  },
1237
 
1238
  misc : function() {
@@ -2233,4 +2249,64 @@ function easy_digital_downloads_sendwp_register_client(register_url, client_name
2233
 
2234
  document.body.appendChild(form);
2235
  form.submit();
2236
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1219
  $('#edd-sendwp-connect').on('click', function(e) {
1220
 
1221
  e.preventDefault();
1222
+ $(this).html( edd_vars.wait + ' <span class="edd-loading"></span>' );
1223
  document.body.style.cursor = 'wait';
1224
  easy_digital_downloads_sendwp_remote_install();
1225
 
1233
 
1234
  });
1235
 
1236
+ $('#edd-jilt-connect').on('click', function(e) {
1237
+
1238
+ e.preventDefault();
1239
+ $(this).html( edd_vars.wait + ' <span class="edd-loading"></span>' );
1240
+ document.body.style.cursor = 'wait';
1241
+ easy_digital_downloads_jilt_remote_install();
1242
+ });
1243
+
1244
+ $('#edd-jilt-disconnect').on('click', function(e) {
1245
+
1246
+ e.preventDefault();
1247
+ $(this).html( edd_vars.wait + ' <span class="edd-loading dark"></span>' );
1248
+ document.body.style.cursor = 'wait';
1249
+ easy_digital_downloads_jilt_disconnect();
1250
+ });
1251
+
1252
  },
1253
 
1254
  misc : function() {
2249
 
2250
  document.body.appendChild(form);
2251
  form.submit();
2252
+ }
2253
+
2254
+ function easy_digital_downloads_jilt_remote_install() {
2255
+
2256
+ var data = {
2257
+ 'action': 'edd_jilt_remote_install',
2258
+ };
2259
+
2260
+ jQuery.post( ajaxurl, data, function( response ) {
2261
+
2262
+ if( ! response.success ) {
2263
+
2264
+ if( confirm( response.data.error ) ) {
2265
+ location.reload();
2266
+ return;
2267
+ }
2268
+ }
2269
+
2270
+ easy_digital_downloads_jilt_connect();
2271
+ });
2272
+ }
2273
+
2274
+ function easy_digital_downloads_jilt_connect() {
2275
+
2276
+ var data = {
2277
+ 'action': 'edd_jilt_connect',
2278
+ };
2279
+
2280
+ jQuery.post( ajaxurl, data, function( response ) {
2281
+
2282
+ if( ! response.success ) {
2283
+
2284
+ if( confirm( response.data.error ) ) {
2285
+ location.reload();
2286
+ return;
2287
+ }
2288
+ }
2289
+
2290
+ if ( response.data.connect_url !== '' ) {
2291
+
2292
+ location.assign( response.data.connect_url );
2293
+ return;
2294
+ }
2295
+ });
2296
+ }
2297
+
2298
+ function easy_digital_downloads_jilt_disconnect() {
2299
+
2300
+ var data = {
2301
+ 'action': 'edd_jilt_disconnect',
2302
+ };
2303
+
2304
+ jQuery.post( ajaxurl, data, function( response ) {
2305
+
2306
+ if ( ! response.success ) {
2307
+ confirm( response.data.error );
2308
+ }
2309
+
2310
+ location.reload();
2311
+ });
2312
+ }
assets/js/admin-scripts.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready(function($){edd_attach_tooltips($(".edd-help-tip"));var EDD_Download_Configuration={init:function(){this.add(),this.move(),this.remove(),this.type(),this.prices(),this.files(),this.updatePrices()},clone_repeatable:function(row){var key=highest=1;return row.parent().find(".edd_repeatable_row").each(function(){var current=$(this).data("key");parseInt(current)>highest&&(highest=current)}),key=highest+=1,clone=row.clone(),clone.removeClass("edd_add_blank"),clone.attr("data-key",key),clone.find("input, select, textarea").val("").each(function(){var name=$(this).attr("name"),id=$(this).attr("id");name&&(name=name.replace(/\[(\d+)\]/,"["+parseInt(key)+"]"),$(this).attr("name",name)),$(this).attr("data-key",key),void 0!==id&&(id=id.replace(/(\d+)/,parseInt(key)),$(this).attr("id",id))}),clone.find("select").each(function(){$(this).val(row.find('select[name="'+$(this).attr("name")+'"]').val())}),clone.find('input[type="checkbox"]').each(function(){$(this).is(":checked")&&$(this).prop("checked",!1),$(this).val(1)}),clone.find("span.edd_price_id").each(function(){$(this).text(parseInt(key))}),clone.find("span.edd_file_id").each(function(){$(this).text(parseInt(key))}),clone.find(".edd_repeatable_default_input").each(function(){$(this).val(parseInt(key)).removeAttr("checked")}),clone.find(".edd_repeatable_condition_field").each(function(){$(this).find("option:eq(0)").prop("selected","selected")}),clone.find(".search-choice").remove(),clone.find(".chosen-container").remove(),edd_attach_tooltips(clone.find(".edd-help-tip")),clone},add:function(){$(document.body).on("click",".submit .edd_add_repeatable",function(e){e.preventDefault();var row=$(this).parent().parent().prev(".edd_repeatable_row"),clone=EDD_Download_Configuration.clone_repeatable(row);clone.insertAfter(row).find("input, textarea, select").filter(":visible").eq(0).focus(),clone.find(".edd-select-chosen").chosen({inherit_select_classes:!0,placeholder_text_single:edd_vars.one_option,placeholder_text_multiple:edd_vars.one_or_more_option}),clone.find(".edd-select-chosen").css("width","100%"),clone.find(".edd-select-chosen .chosen-search input").attr("placeholder",edd_vars.search_placeholder)})},move:function(){$(".edd_repeatable_table .edd-repeatables-wrap").sortable({handle:".edd-draghandle-anchor",items:".edd_repeatable_row",opacity:.6,cursor:"move",axis:"y",update:function(){var count=0;$(this).find(".edd_repeatable_row").each(function(){$(this).find("input.edd_repeatable_index").each(function(){$(this).val(count)}),count++})}})},remove:function(){$(document.body).on("click",".edd-remove-row, .edd_remove_repeatable",function(e){e.preventDefault();var firstFocusable,row=$(this).parents(".edd_repeatable_row"),count=row.parent().find(".edd_repeatable_row").length,type=$(this).data("type"),repeatable="div.edd_repeatable_"+type+"s";if(firstFocusable=($(this).is(".ui-sortable .edd_repeatable_row:first-child .edd-remove-row, .ui-sortable .edd_repeatable_row:first-child .edd_remove_repeatable")?row.next(".edd_repeatable_row"):row.prev(".edd_repeatable_row")).find("select, input, textarea, button").filter(":visible").eq(0),"price"===type){var price_row_id=row.data("key");$('.edd_repeatable_condition_field option[value="'+price_row_id+'"]').remove()}if(1<count)$("input, select",row).val(""),row.fadeOut("fast").remove(),firstFocusable.focus();else switch(type){case"price":alert(edd_vars.one_price_min);break;case"file":$("input, select",row).val("");break;default:alert(edd_vars.one_field_min)}$(repeatable).each(function(rowIndex){$(this).find("input, select").each(function(){var name=$(this).attr("name");name=name.replace(/\[(\d+)\]/,"["+rowIndex+"]"),$(this).attr("name",name).attr("id",name)})})})},type:function(){$(document.body).on("change","#_edd_product_type",function(e){var edd_products=$("#edd_products"),edd_download_files=$("#edd_download_files"),edd_download_limit_wrap=$("#edd_download_limit_wrap");"bundle"===$(this).val()?(edd_products.show(),edd_download_files.hide(),edd_download_limit_wrap.hide()):(edd_products.hide(),edd_download_files.show(),edd_download_limit_wrap.show())})},prices:function(){$(document.body).on("change","#edd_variable_pricing",function(e){var checked=$(this).is(":checked"),single=$("#edd_regular_price_field"),variable=$("#edd_variable_price_fields, .edd_repeatable_table .pricing"),bundleRow=$(".edd-bundled-product-row, .edd-repeatable-row-standard-fields");checked?(single.hide(),variable.show(),bundleRow.addClass("has-variable-pricing")):(single.show(),variable.hide(),bundleRow.removeClass("has-variable-pricing"))})},files:function(){var file_frame;window.formfield="",$(document.body).on("click",".edd_upload_file_button",function(e){e.preventDefault();var button=$(this);window.formfield=$(this).closest(".edd_repeatable_upload_wrapper"),file_frame||((file_frame=wp.media.frames.file_frame=wp.media({frame:"post",state:"insert",title:button.data("uploader-title"),button:{text:button.data("uploader-button-text")},multiple:"0"!=$(this).data("multiple")})).on("menu:render:default",function(view){view.unset("library-separator"),view.unset("gallery"),view.unset("featured-image"),view.unset("embed"),view.set({})}),file_frame.on("insert",function(){file_frame.state().get("selection").each(function(attachment,index){var selectedSize="image"===(attachment=attachment.toJSON()).type&&$(".attachment-display-settings .size option:selected").val(),selectedURL=attachment.url,selectedName=0<attachment.title.length?attachment.title:attachment.filename;if(selectedSize&&void 0!==attachment.sizes[selectedSize]&&(selectedURL=attachment.sizes[selectedSize].url),"image"===attachment.type&&(selectedName=selectedSize&&void 0!==attachment.sizes[selectedSize]?selectedName+"-"+attachment.sizes[selectedSize].width+"x"+attachment.sizes[selectedSize].height:selectedName+"-"+attachment.width+"x"+attachment.height),0===index)window.formfield.find(".edd_repeatable_attachment_id_field").val(attachment.id),window.formfield.find(".edd_repeatable_thumbnail_size_field").val(selectedSize),window.formfield.find(".edd_repeatable_upload_field").val(selectedURL),window.formfield.find(".edd_repeatable_name_field").val(selectedName);else{var row=window.formfield,clone=EDD_Download_Configuration.clone_repeatable(row);clone.find(".edd_repeatable_attachment_id_field").val(attachment.id),clone.find(".edd_repeatable_thumbnail_size_field").val(selectedSize),clone.find(".edd_repeatable_upload_field").val(selectedURL),clone.find(".edd_repeatable_name_field").val(selectedName),clone.insertAfter(row)}})})),file_frame.open()}),window.formfield=""},updatePrices:function(){$("#edd_price_fields").on("keyup",".edd_variable_prices_name",function(){var key=$(this).parents(".edd_repeatable_row").data("key"),name=$(this).val(),field_option=$(".edd_repeatable_condition_field option[value="+key+"]");0<field_option.length?field_option.text(name):$(".edd_repeatable_condition_field").append($("<option></option>").attr("value",key).text(name))})}};$(document.body).on("click",".toggle-custom-price-option-section",function(e){e.preventDefault();var show=$(this).html()==edd_vars.show_advanced_settings;show?$(this).html(edd_vars.hide_advanced_settings):$(this).html(edd_vars.show_advanced_settings);var header=$(this).parents(".edd-repeatable-row-header");header.siblings(".edd-custom-price-option-sections-wrap").slideToggle(),$(":input:not(input[type=button],input[type=submit],button):visible:first",show?header.siblings(".edd-custom-price-option-sections-wrap"):header.siblings(".edd-repeatable-row-standard-fields")).focus()}),EDD_Download_Configuration.init();var typingTimer,edd_datepicker=$(".edd_datepicker");if(0<edd_datepicker.length){edd_datepicker.datepicker({dateFormat:"mm/dd/yy"})}({init:function(){this.edit_address(),this.remove_download(),this.add_download(),this.change_customer(),this.new_customer(),this.edit_price(),this.recalculate_total(),this.variable_prices_check(),this.add_note(),this.remove_note(),this.resend_receipt(),this.copy_download_link()},edit_address:function(){$('select[name="edd-payment-address[0][country]"]').change(function(){var $this=$(this),data={action:"edd_get_shop_states",country:$this.val(),nonce:$this.data("nonce"),field_name:"edd-payment-address[0][state]"};return $.post(ajaxurl,data,function(response){var state_wrapper=$("#edd-order-address-state-wrap select, #edd-order-address-state-wrap input");$("#edd-order-address-state-wrap .chosen-container").remove(),"nostates"==response?state_wrapper.replaceWith('<input type="text" name="edd-payment-address[0][state]" value="" class="edd-edit-toggles medium-text"/>'):state_wrapper.replaceWith(response)}),!1})},remove_download:function(){$("#edd-purchased-files").on("click",".edd-order-remove-download",function(){if(1===$(document.body).find("#edd-purchased-files > .row:not(.header)").length)return alert(edd_vars.one_download_min),!1;if(confirm(edd_vars.delete_payment_download)){var key=$(this).data("key"),download_id=($(".edd-payment-id").val(),$('input[name="edd-payment-details-downloads['+key+'][id]"]').val()),price_id=$('input[name="edd-payment-details-downloads['+key+'][price_id]"]').val(),quantity=$('input[name="edd-payment-details-downloads['+key+'][quantity]"]').val(),amount=$('input[name="edd-payment-details-downloads['+key+'][amount]"]').val();if($('input[name="edd-payment-details-downloads['+key+'][tax]"]'))var fees=$('input[name="edd-payment-details-downloads['+key+'][tax]"]').val();if($('input[name="edd-payment-details-downloads['+key+'][fees]"]'))fees=$.parseJSON($('input[name="edd-payment-details-downloads['+key+'][fees]"]').val());var currently_removed=$('input[name="edd-payment-removed"]').val();(currently_removed=$.parseJSON(currently_removed)).length<1&&(currently_removed={});var removed_item=[{id:download_id,price_id:price_id,quantity:quantity,amount:amount,cart_index:key}];currently_removed[key]=removed_item,$('input[name="edd-payment-removed"]').val(JSON.stringify(currently_removed)),$(this).parent().parent().remove(),fees&&fees.length&&$.each(fees,function(key,value){$('*li[data-fee-id="'+value+'"]').remove()}),$("#edd-payment-downloads-changed").val(1),$(".edd-order-payment-recalc-totals").show()}return!1})},change_customer:function(){$("#edd-customer-details").on("click",".edd-payment-change-customer, .edd-payment-change-customer-cancel",function(e){e.preventDefault();var change_customer=$(this).hasClass("edd-payment-change-customer"),cancel=$(this).hasClass("edd-payment-change-customer-cancel");change_customer?($(".customer-info").hide(),$(".change-customer").show(),$(".edd-payment-change-customer-input").css("width","auto")):cancel&&($(".customer-info").show(),$(".change-customer").hide())})},new_customer:function(){$("#edd-customer-details").on("click",".edd-payment-new-customer, .edd-payment-new-customer-cancel",function(e){e.preventDefault();var new_customer=$(this).hasClass("edd-payment-new-customer"),cancel=$(this).hasClass("edd-payment-new-customer-cancel");new_customer?($(".customer-info").hide(),$(".new-customer").show()):cancel&&($(".customer-info").show(),$(".new-customer").hide());new_customer=$("#edd-new-customer");$(".new-customer").is(":visible")?new_customer.val(1):new_customer.val(0)})},add_download:function(){$(".edd-edit-purchase-element").on("click","#edd-order-add-download",function(e){e.preventDefault();var order_download_select=$("#edd_order_download_select"),order_download_quantity=$("#edd-order-download-quantity"),order_download_price=$("#edd-order-download-price"),order_download_tax=$("#edd-order-download-tax"),selected_price_option=$(".edd_price_options_select option:selected"),download_id=order_download_select.val(),download_title=order_download_select.find(":selected").text(),quantity=order_download_quantity.val(),item_price=order_download_price.val(),item_tax=order_download_tax.val(),price_id=selected_price_option.val(),price_name=selected_price_option.text();if(download_id<1)return!1;if(item_price||(item_price=0),item_price=parseFloat(item_price),isNaN(item_price))return alert(edd_vars.numeric_item_price),!1;if(item_tax=parseFloat(item_tax),isNaN(item_tax))return alert(edd_vars.numeric_item_tax),!1;if(isNaN(parseInt(quantity)))return alert(edd_vars.numeric_quantity),!1;price_name&&(download_title=download_title+" - "+price_name);var count=$("#edd-purchased-files div.row:not(.edd-purchased-files-header)").length;0==count&&alert(edd_vars.no_downloads_error);var clone=$("#edd-purchased-files div.row:not(.edd-purchased-files-header):last").clone();clone.find(".download span").html('<a href="post.php?post='+download_id+'&action=edit"></a>'),clone.find(".download span a").text(download_title),clone.find(".edd-payment-details-download-item-price").val(item_price.toFixed(edd_vars.currency_decimals)),clone.find(".edd-payment-details-download-item-tax").val(item_tax.toFixed(edd_vars.currency_decimals)),clone.find("input.edd-payment-details-download-id").val(download_id),clone.find("input.edd-payment-details-download-price-id").val(price_id);var item_total=item_price*quantity+item_tax;item_total=item_total.toFixed(edd_vars.currency_decimals),clone.find("span.edd-payment-details-download-amount").text(item_total),clone.find("input.edd-payment-details-download-amount").val(item_total),clone.find("input.edd-payment-details-download-quantity").val(quantity),clone.find("input.edd-payment-details-download-has-log").val(0),clone.find(".edd-copy-download-link-wrapper").remove(),clone.find("input").each(function(){var name=$(this).attr("name");name=name.replace(/\[(\d+)\]/,"["+parseInt(count)+"]"),$(this).attr("name",name).attr("id",name)}),clone.find("a.edd-order-remove-download").attr("data-key",parseInt(count)),$("#edd-payment-downloads-changed").val(1),$("#edd-purchased-files div.row .edd-purchased-download-title .deleted").length&&$("#edd-purchased-files div.row:last").remove(),$(clone).insertAfter("#edd-purchased-files div.row:last"),$(".edd-order-payment-recalc-totals").show(),$(".edd-add-download-field").val("")})},edit_price:function(){$(document.body).on("change keyup",".edd-payment-item-input",function(){var row=$(this).parents("ul.edd-purchased-files-list-wrapper");$(".edd-order-payment-recalc-totals").show();var quantity=row.find("input.edd-payment-details-download-quantity").val().replace(edd_vars.thousands_separator,""),item_price=row.find("input.edd-payment-details-download-item-price").val().replace(edd_vars.thousands_separator,""),item_tax=row.find("input.edd-payment-details-download-item-tax").val().replace(edd_vars.thousands_separator,"");if(item_price=parseFloat(item_price),isNaN(item_price))return alert(edd_vars.numeric_item_price),!1;item_tax=parseFloat(item_tax),isNaN(item_tax)&&(item_tax=0),isNaN(parseInt(quantity))&&(quantity=1);var item_total=item_price*quantity+item_tax;item_total=item_total.toFixed(edd_vars.currency_decimals),row.find("input.edd-payment-details-download-amount").val(item_total),row.find("span.edd-payment-details-download-amount").text(item_total)})},recalculate_total:function(){$("#edd-order-recalc-total").on("click",function(e){e.preventDefault();var total=0,tax=0,totals=$("#edd-purchased-files .row input.edd-payment-details-download-amount"),taxes=$("#edd-purchased-files .row input.edd-payment-details-download-item-tax");totals.length&&totals.each(function(){total+=parseFloat($(this).val())}),taxes.length&&taxes.each(function(){tax+=parseFloat($(this).val())}),$(".edd-payment-fees").length&&$(".edd-payment-fees span.fee-amount").each(function(){total+=parseFloat($(this).data("fee"))}),$("input[name=edd-payment-total]").val(total.toFixed(edd_vars.currency_decimals)),$("input[name=edd-payment-tax]").val(tax.toFixed(edd_vars.currency_decimals))})},variable_prices_check:function(){$(".edd-edit-purchase-element").on("change","select#edd_order_download_select",function(){var $this=$(this),download_id=$this.val();if(0<parseInt(download_id)){var postData={action:"edd_check_for_download_price_variations",download_id:download_id};$.ajax({type:"POST",data:postData,url:ajaxurl,success:function(response){$(".edd_price_options_select").remove(),$(response).insertAfter($this.next())}}).fail(function(data){window.console&&window.console.log&&console.log(data)})}})},add_note:function(){$("#edd-add-payment-note").on("click",function(e){e.preventDefault();var postData={action:"edd_insert_payment_note",payment_id:$(this).data("payment-id"),note:$("#edd-payment-note").val()};if(postData.note)$.ajax({type:"POST",data:postData,url:ajaxurl,success:function(response){$("#edd-payment-notes-inner").append(response),$(".edd-no-payment-notes").hide(),$("#edd-payment-note").val("")}}).fail(function(data){window.console&&window.console.log&&console.log(data)});else{var border_color=$("#edd-payment-note").css("border-color");$("#edd-payment-note").css("border-color","red"),setTimeout(function(){$("#edd-payment-note").css("border-color",border_color)},500)}})},remove_note:function(){$(document.body).on("click",".edd-delete-payment-note",function(e){if(e.preventDefault(),confirm(edd_vars.delete_payment_note)){var postData={action:"edd_delete_payment_note",payment_id:$(this).data("payment-id"),note_id:$(this).data("note-id")};return $.ajax({type:"POST",data:postData,url:ajaxurl,success:function(response){return $("#edd-payment-note-"+postData.note_id).remove(),$(".edd-payment-note").length||$(".edd-no-payment-notes").show(),!1}}).fail(function(data){window.console&&window.console.log&&console.log(data)}),!0}})},resend_receipt:function(){var emails_wrap=$(".edd-order-resend-receipt-addresses");$(document.body).on("click","#edd-select-receipt-email",function(e){e.preventDefault(),emails_wrap.slideDown()}),$(document.body).on("change",".edd-order-resend-receipt-email",function(){var href=$("#edd-select-receipt-email").prop("href")+"&email="+$(this).val();confirm(edd_vars.resend_receipt)&&(window.location=href)}),$(document.body).on("click","#edd-resend-receipt",function(e){return confirm(edd_vars.resend_receipt)})},copy_download_link:function(){$(document.body).on("click",".edd-copy-download-link",function(e){e.preventDefault();var $this=$(this),postData={action:"edd_get_file_download_link",payment_id:$('input[name="edd_payment_id"]').val(),download_id:$this.data("download-id"),price_id:$this.data("price-id")};$.ajax({type:"POST",data:postData,url:ajaxurl,success:function(link){return $("#edd-download-link").dialog({width:400}).html('<textarea rows="10" cols="40" id="edd-download-link-textarea">'+link+"</textarea>"),$("#edd-download-link-textarea").focus().select(),!1}}).fail(function(data){window.console&&window.console.log&&console.log(data)})})}}).init(),{init:function(){this.type_select(),this.product_requirements()},type_select:function(){$("#edd-edit-discount #edd-type, #edd-add-discount #edd-type").change(function(){var val=$(this).val();$(".edd-amount-description").hide(),$(".edd-amount-description."+val+"-discount").show()})},product_requirements:function(){$("#products").change(function(){var product_conditions=$("#edd-discount-product-conditions");$(this).val()?product_conditions.show():product_conditions.hide()})}}.init(),{init:function(){this.date_options(),this.customers_export()},date_options:function(){$("#edd-graphs-date-options").change(function(){var $this=$(this),date_range_options=$("#edd-date-range-options");"other"===$this.val()?date_range_options.show():date_range_options.hide()})},customers_export:function(){$("#edd_customer_export_download").change(function(){var $this=$(this),download_id=$("option:selected",$this).val(),customer_export_option=$("#edd_customer_export_option");if("0"===$this.val()?customer_export_option.show():customer_export_option.hide(),0!=parseInt(download_id)){var data={action:"edd_check_for_download_price_variations",download_id:download_id,all_prices:!0},price_options_select=$(".edd_price_options_select");$.post(ajaxurl,data,function(response){price_options_select.remove(),$("#edd_customer_export_download_chosen").after(response)})}else price_options_select.remove()})}}.init(),{init:function(){this.general(),this.taxes(),this.emails(),this.misc()},general:function(){var edd_color_picker=$(".edd-color-picker");if(edd_color_picker.length&&edd_color_picker.wpColorPicker(),"undefined"==typeof wp||"1"!==edd_vars.new_media_ui){var edd_settings_upload_button=$(".edd_settings_upload_button");0<edd_settings_upload_button.length&&(window.formfield="",$(document.body).on("click",edd_settings_upload_button,function(e){e.preventDefault(),window.formfield=$(this).parent().prev(),window.tbframe_interval=setInterval(function(){jQuery("#TB_iframeContent").contents().find(".savesend .button").val(edd_vars.use_this_file).end().find("#insert-gallery, .wp-post-thumbnail").hide()},2e3),tb_show(edd_vars.add_new_download,"media-upload.php?TB_iframe=true")}),window.edd_send_to_editor=window.send_to_editor,window.send_to_editor=function(html){window.formfield?(imgurl=$("a","<div>"+html+"</div>").attr("href"),window.formfield.val(imgurl),window.clearInterval(window.tbframe_interval),tb_remove()):window.edd_send_to_editor(html),window.send_to_editor=window.edd_send_to_editor,window.formfield="",window.imagefield=!1})}else{var file_frame;window.formfield="",$(document.body).on("click",".edd_settings_upload_button",function(e){e.preventDefault();var button=$(this);window.formfield=$(this).parent().prev(),file_frame||((file_frame=wp.media.frames.file_frame=wp.media({frame:"post",state:"insert",title:button.data("uploader_title"),button:{text:button.data("uploader_button_text")},multiple:!1})).on("menu:render:default",function(view){view.unset("library-separator"),view.unset("gallery"),view.unset("featured-image"),view.unset("embed"),view.set({})}),file_frame.on("insert",function(){file_frame.state().get("selection").each(function(attachment,index){attachment=attachment.toJSON(),window.formfield.val(attachment.url)})})),file_frame.open()}),window.formfield=""}},taxes:function(){var no_states=$("select.edd-no-states");no_states.length&&no_states.closest("tr").addClass("hidden"),$('select[name="edd_settings[base_country]"]').change(function(){var $this=$(this),$tr=$this.closest("tr"),data={action:"edd_get_shop_states",country:$this.val(),nonce:$this.data("nonce"),field_name:"edd_settings[base_state]"};return $.post(ajaxurl,data,function(response){"nostates"==response?$tr.next().addClass("hidden"):($tr.next().removeClass("hidden"),$tr.next().find("select").replaceWith(response))}),!1}),$(document.body).on("change","#edd_tax_rates select.edd-tax-country",function(){var $this=$(this),data={action:"edd_get_shop_states",country:$this.val(),nonce:$this.data("nonce"),field_name:$this.attr("name").replace("country","state")};return $.post(ajaxurl,data,function(response){if("nostates"==response){var text_field='<input type="text" name="'+data.field_name+'" value=""/>';$this.parent().next().find("select").replaceWith(text_field)}else $this.parent().next().find("input,select").show(),$this.parent().next().find("input,select").replaceWith(response)}),!1}),$("#edd_add_tax_rate").on("click",function(){var row=$("#edd_tax_rates tr:last"),clone=row.clone(),count=row.parent().find("tr").length;return clone.find("td input").not(":input[type=checkbox]").val(""),clone.find('td [type="checkbox"]').attr("checked",!1),clone.find("input, select").each(function(){var name=$(this).attr("name");name=name.replace(/\[(\d+)\]/,"["+parseInt(count)+"]"),$(this).attr("name",name).attr("id",name)}),clone.find("label").each(function(){var name=$(this).attr("for");name=name.replace(/\[(\d+)\]/,"["+parseInt(count)+"]"),$(this).attr("for",name)}),clone.insertAfter(row),!1}),$(document.body).on("click","#edd_tax_rates .edd_remove_tax_rate",function(){confirm(edd_vars.delete_tax_rate)&&(2===$("#edd_tax_rates tr:visible").length?($("#edd_tax_rates select").val(""),$('#edd_tax_rates input[type="text"]').val(""),$('#edd_tax_rates input[type="number"]').val(""),$('#edd_tax_rates input[type="checkbox"]').attr("checked",!1)):$(this).closest("tr").remove(),$("#edd_tax_rates tr").each(function(rowIndex){$(this).children().find("input, select").each(function(){var name=$(this).attr("name");name=name.replace(/\[(\d+)\]/,"["+(rowIndex-1)+"]"),$(this).attr("name",name).attr("id",name)})}));return!1})},emails:function(){var email_preview_wrap=$("#email-preview-wrap");if(email_preview_wrap.length){var emailPreview=$("#email-preview");email_preview_wrap.colorbox({inline:!0,href:emailPreview,width:"80%",height:"auto"})}$("#edd-sendwp-connect").on("click",function(e){e.preventDefault(),$(this).html('<span class="dashicons dashicons-email"></span>'+edd_vars.wait+' <span class="edd-loading"></span>'),document.body.style.cursor="wait",easy_digital_downloads_sendwp_remote_install()}),$("#edd-sendwp-disconnect").on("click",function(e){e.preventDefault(),$(this).html(edd_vars.wait+' <span class="edd-loading dark"></span>'),document.body.style.cursor="wait",easy_digital_downloads_sendwp_disconnect()})},misc:function(){var downloadMethod=$('select[name="edd_settings[download_method]"]'),symlink=downloadMethod.parent().parent().next();"direct"==downloadMethod.val()&&(symlink.hide(),symlink.find("input").prop("checked",!1)),downloadMethod.on("change",function(){"direct"==$(this).val()?(symlink.hide(),symlink.find("input").prop("checked",!1)):symlink.show()})}}.init(),$(".download_page_edd-payment-history .row-actions .delete a, a.edd-delete-payment").on("click",function(){return!!confirm(edd_vars.delete_payment)}),$("body").on("click","#the-list .editinline",function(){var post_id=$(this).closest("tr").attr("id");post_id=post_id.replace("post-","");var regprice=$("#post-"+post_id).find(".column-price .downloadprice-"+post_id).val();regprice!=$("#post-"+post_id+".column-price .downloadprice-"+post_id).val()?$(".regprice","#edd-download-data").val(regprice).attr("disabled",!1):$(".regprice","#edd-download-data").val(edd_vars.quick_edit_warning).attr("disabled","disabled")}),$(document.body).on("click","#bulk_edit",function(){var $bulk_row=$("#bulk-edit"),$post_ids=new Array;$bulk_row.find("#bulk-titles").children().each(function(){$post_ids.push($(this).attr("id").replace(/^(ttle)/i,""))});var $price=$('#edd-download-data input[name="_edd_regprice"]').val(),data={action:"edd_save_bulk_edit",edd_bulk_nonce:$post_ids,post_ids:$post_ids,price:$price};$.post(ajaxurl,data)}),$(".edd-select-chosen").chosen({inherit_select_classes:!0,placeholder_text_single:edd_vars.one_option,placeholder_text_multiple:edd_vars.one_or_more_option}),$(".edd-select-chosen .chosen-search input").each(function(){var selectElem=$(this).parent().parent().parent().prev("select.edd-select-chosen"),placeholder=(selectElem.data("search-type"),selectElem.data("search-placeholder"));$(this).attr("placeholder",placeholder)}),$(".chosen-choices").on("click",function(){var placeholder=$(this).parent().prev().data("search-placeholder");void 0===placeholder&&(placeholder=edd_vars.type_to_search),$(this).children("li").children("input").attr("placeholder",placeholder)});$(document.body).on("keyup",".edd-select.chosen-container .chosen-search input, .edd-select.chosen-container .search-field input",function(e){var val=$(this).val(),container=$(this).closest(".edd-select-chosen"),select=(container.attr("id").replace("_chosen",""),container.prev()),no_bundles=container.hasClass("no-bundles"),variations=container.hasClass("variations"),lastKey=e.which,search_type="edd_download_search";if(container.prev().data("search-type")){if("no_ajax"==select.data("search-type"))return;search_type="edd_"+select.data("search-type")+"_search"}val.length<=3&&"edd_download_search"==search_type||16==lastKey||13==lastKey||91==lastKey||17==lastKey||37==lastKey||38==lastKey||39==lastKey||40==lastKey||(clearTimeout(typingTimer),typingTimer=setTimeout(function(){$.ajax({type:"GET",url:ajaxurl,data:{action:search_type,s:val,no_bundles:no_bundles,variations:variations},dataType:"json",beforeSend:function(){select.closest("ul.chosen-results").empty()},success:function(data){$("option:not(:selected)",select).remove(),$.each(data,function(key,item){$('option[value="'+item.id+'"]',select).length||select.prepend('<option value="'+item.id+'">'+item.name+"</option>")}),$(".edd-select-chosen").trigger("chosen:updated"),select.next().find("input").val(val)}}).fail(function(response){window.console&&window.console.log&&console.log(response)}).done(function(response){})},342))}),$("#post").on("click",".edd-thickbox",function(){$(".edd-select-chosen","#choose-download").css("width","100%")}),{init:function(){this.revoke_api_key(),this.regenerate_api_key(),this.create_api_key(),this.recount_stats()},revoke_api_key:function(){$(document.body).on("click",".edd-revoke-api-key",function(e){return confirm(edd_vars.revoke_api_key)})},regenerate_api_key:function(){$(document.body).on("click",".edd-regenerate-api-key",function(e){return confirm(edd_vars.regenerate_api_key)})},create_api_key:function(){$(document.body).on("submit","#api-key-generate-form",function(e){var input=$('input[type="text"][name="user_id"]');input.css("border-color","#ddd");var user_id=input.val();if(user_id.length<1||0==user_id)return input.css("border-color","#ff0000"),!1})},recount_stats:function(){$(document.body).on("change","#recount-stats-type",function(){var export_form=$("#edd-tools-recount-form"),selected_type=$("option:selected",this).data("type"),submit_button=$("#recount-stats-submit"),products=$("#tools-product-dropdown");if(export_form.find(".notice-wrap").remove(),submit_button.removeClass("button-disabled").attr("disabled",!1),products.hide(),$(".edd-recount-stats-descriptions span").hide(),"recount-download"===selected_type)products.show(),products.find(".edd-select-chosen").css("width","auto");else if("reset-stats"===selected_type){export_form.append('<div class="notice-wrap"></div>'),export_form.find(".notice-wrap").html('<div class="notice notice-warning"><p><input type="checkbox" id="confirm-reset" name="confirm_reset_store" value="1" /> <label for="confirm-reset">'+edd_vars.reset_stats_warn+"</label></p></div>"),$("#recount-stats-submit").addClass("button-disabled").attr("disabled","disabled")}else products.hide(),products.val(0);$("#"+selected_type).show()}),$(document.body).on("change","#confirm-reset",function(){$(this).is(":checked")?$("#recount-stats-submit").removeClass("button-disabled").removeAttr("disabled"):$("#recount-stats-submit").addClass("button-disabled").attr("disabled","disabled")}),$("#edd-tools-recount-form").submit(function(e){var selection=$("#recount-stats-type").val(),export_form=$(this),selected_type=$("option:selected",this).data("type");if("reset-stats"===selected_type){if($("#confirm-reset").is(":checked"))return!0;has_errors=!0}export_form.find(".notice-wrap").remove(),export_form.append('<div class="notice-wrap"></div>');var notice_wrap=export_form.find(".notice-wrap"),has_errors=!1;(null!==selection&&0!==selection||(notice_wrap.html('<div class="updated error"><p>'+edd_vars.batch_export_no_class+"</p></div>"),has_errors=!0),"recount-download"===selected_type)&&(0==$('select[name="download_id"]').val()&&(notice_wrap.html('<div class="updated error"><p>'+edd_vars.batch_export_no_reqs+"</p></div>"),has_errors=!0));if(has_errors)return export_form.find(".button-disabled").removeClass("button-disabled"),!1})}}.init(),{init:function(){this.submit(),this.dismiss_message()},submit:function(){var self=this;$(document.body).on("submit",".edd-export-form",function(e){e.preventDefault();var submitButton=$(this).find('input[type="submit"]');if(!submitButton.hasClass("button-disabled")){var data=$(this).serialize();submitButton.addClass("button-disabled"),$(this).find(".notice-wrap").remove(),$(this).append('<div class="notice-wrap"><span class="spinner is-active"></span><div class="edd-progress"><div></div></div></div>'),self.process_step(1,data,self)}})},process_step:function(step,data,self){$.ajax({type:"POST",url:ajaxurl,data:{form:data,action:"edd_do_ajax_export",step:step},dataType:"json",success:function(response){if("done"==response.step||response.error||response.success){var export_form=$(".edd-export-form").find(".edd-progress").parent().parent(),notice_wrap=export_form.find(".notice-wrap");if(export_form.find(".button-disabled").removeClass("button-disabled"),response.error){var error_message=response.message;notice_wrap.html('<div class="updated error"><p>'+error_message+"</p></div>")}else if(response.success){var success_message=response.message;notice_wrap.html('<div id="edd-batch-success" class="updated notice is-dismissible"><p>'+success_message+'<span class="notice-dismiss"></span></p></div>')}else notice_wrap.remove(),window.location=response.url}else $(".edd-progress div").animate({width:response.percentage+"%"},50,function(){}),self.process_step(parseInt(response.step),data,self)}}).fail(function(response){window.console&&window.console.log&&console.log(response)})},dismiss_message:function(){$(document.body).on("click","#edd-batch-success .notice-dismiss",function(){$("#edd-batch-success").parent().slideUp("fast")})}}.init();var EDD_Import={init:function(){this.submit()},submit:function(){$(".edd-import-form").ajaxForm({beforeSubmit:this.before_submit,success:this.success,complete:this.complete,dataType:"json",error:this.error})},before_submit:function(arr,$form,options){if($form.find(".notice-wrap").remove(),$form.append('<div class="notice-wrap"><span class="spinner is-active"></span><div class="edd-progress"><div></div></div></div>'),!(window.File&&window.FileReader&&window.FileList&&window.Blob)){var import_form=$(".edd-import-form").find(".edd-progress").parent().parent(),notice_wrap=import_form.find(".notice-wrap");return import_form.find(".button-disabled").removeClass("button-disabled"),notice_wrap.html('<div class="update error"><p>'+edd_vars.unsupported_browser+"</p></div>"),!1}},success:function(responseText,statusText,xhr,$form){},complete:function(xhr){var response=jQuery.parseJSON(xhr.responseText);if(response.success){var $form=$(".edd-import-form .notice-wrap").parent();$form.find(".edd-import-file-wrap,.notice-wrap").remove(),$form.find(".edd-import-options").slideDown();var select=$form.find("select.edd-import-csv-column"),options=(select.parents("tr").first(),""),columns=response.data.columns.sort(function(a,b){return a<b?-1:b<a?1:0});$.each(columns,function(key,value){options+='<option value="'+value+'">'+value+"</option>"}),select.append(options),select.on("change",function(){var $key=$(this).val();$key&&0!=response.data.first_row[$key]?$(this).parent().next().html(response.data.first_row[$key]):$(this).parent().next().html("")}),$.each(select,function(){$(this).val($(this).attr("data-field")).change()}),$(document.body).on("click",".edd-import-proceed",function(e){e.preventDefault(),$form.append('<div class="notice-wrap"><span class="spinner is-active"></span><div class="edd-progress"><div></div></div></div>'),response.data.mapping=$form.serialize(),EDD_Import.process_step(1,response.data,self)})}else EDD_Import.error(xhr)},error:function(xhr){var response=jQuery.parseJSON(xhr.responseText),import_form=$(".edd-import-form").find(".edd-progress").parent().parent(),notice_wrap=import_form.find(".notice-wrap");import_form.find(".button-disabled").removeClass("button-disabled"),response.data.error?notice_wrap.html('<div class="update error"><p>'+response.data.error+"</p></div>"):notice_wrap.remove()},process_step:function(step,import_data,self){$.ajax({type:"POST",url:ajaxurl,data:{form:import_data.form,nonce:import_data.nonce,class:import_data.class,upload:import_data.upload,mapping:import_data.mapping,action:"edd_do_ajax_import",step:step},dataType:"json",success:function(response){if("done"==response.data.step||response.data.error){var import_form=$(".edd-import-form").find(".edd-progress").parent().parent(),notice_wrap=import_form.find(".notice-wrap");import_form.find(".button-disabled").removeClass("button-disabled"),response.data.error?notice_wrap.html('<div class="update error"><p>'+response.data.error+"</p></div>"):(import_form.find(".edd-import-options").hide(),$("html, body").animate({scrollTop:import_form.parent().offset().top},500),notice_wrap.html('<div class="updated"><p>'+response.data.message+"</p></div>"))}else $(".edd-progress div").animate({width:response.data.percentage+"%"},50,function(){}),EDD_Import.process_step(parseInt(response.data.step),import_data,self)}}).fail(function(response){window.console&&window.console.log&&console.log(response)})}};EDD_Import.init();var EDD_Customer={vars:{customer_card_wrap_editable:$(".edd-customer-card-wrapper .editable"),customer_card_wrap_edit_item:$(".edd-customer-card-wrapper .edit-item"),user_id:$('input[name="customerinfo[user_id]"]'),state_input:$(':input[name="customerinfo[state]"]'),note:$("#customer-note")},init:function(){this.edit_customer(),this.add_email(),this.user_search(),this.remove_user(),this.cancel_edit(),this.change_country(),this.add_note(),this.delete_checked()},edit_customer:function(){$(document.body).on("click","#edit-customer",function(e){e.preventDefault(),EDD_Customer.vars.customer_card_wrap_editable.hide(),EDD_Customer.vars.customer_card_wrap_edit_item.fadeIn().css("display","block")})},add_email:function(){$(document.body).on("click","#add-customer-email",function(e){e.preventDefault();var button=$(this),wrapper=button.parent();wrapper.parent().find(".notice-container").remove(),wrapper.find(".spinner").css("visibility","visible"),button.attr("disabled",!0);var postData={edd_action:"customer-add-email",customer_id:wrapper.find('input[name="customer-id"]').val(),email:wrapper.find('input[name="additional-email"]').val(),primary:wrapper.find('input[name="make-additional-primary"]').is(":checked"),_wpnonce:wrapper.find('input[name="add_email_nonce"]').val()};$.post(ajaxurl,postData,function(response){!0===response.success?window.location.href=response.redirect:(button.attr("disabled",!1),wrapper.after('<div class="notice-container"><div class="notice notice-error inline"><p>'+response.message+"</p></div></div>"),wrapper.find(".spinner").css("visibility","hidden"))},"json")})},user_search:function(){$(document.body).on("click.eddSelectUser",".edd_user_search_results a",function(e){e.preventDefault();var user_id=$(this).data("userid");EDD_Customer.vars.user_id.val(user_id)})},remove_user:function(){$(document.body).on("click","#disconnect-customer",function(e){if(e.preventDefault(),confirm(edd_vars.disconnect_customer)){var postData={edd_action:"disconnect-userid",customer_id:$('input[name="customerinfo[id]"]').val(),_wpnonce:$("#edit-customer-info #_wpnonce").val()};$.post(ajaxurl,postData,function(response){window.location.href=window.location.href},"json")}})},cancel_edit:function(){$(document.body).on("click","#edd-edit-customer-cancel",function(e){e.preventDefault(),EDD_Customer.vars.customer_card_wrap_edit_item.hide(),EDD_Customer.vars.customer_card_wrap_editable.show(),$(".edd_user_search_results").html("")})},change_country:function(){$('select[name="customerinfo[country]"]').change(function(){var $this=$(this),data={action:"edd_get_shop_states",country:$this.val(),nonce:$this.data("nonce"),field_name:"customerinfo[state]"};return $.post(ajaxurl,data,function(response){"nostates"==response?EDD_Customer.vars.state_input.replaceWith('<input type="text" name="'+data.field_name+'" value="" class="edd-edit-toggles medium-text"/>'):EDD_Customer.vars.state_input.replaceWith(response)}),!1})},add_note:function(){$(document.body).on("click","#add-customer-note",function(e){e.preventDefault();var postData={edd_action:"add-customer-note",customer_id:$("#customer-id").val(),customer_note:EDD_Customer.vars.note.val(),add_customer_note_nonce:$("#add_customer_note_nonce").val()};if(postData.customer_note)$.ajax({type:"POST",data:postData,url:ajaxurl,success:function(response){$("#edd-customer-notes").prepend(response),$(".edd-no-customer-notes").hide(),EDD_Customer.vars.note.val("")}}).fail(function(data){window.console&&window.console.log&&console.log(data)});else{var border_color=EDD_Customer.vars.note.css("border-color");EDD_Customer.vars.note.css("border-color","red"),setTimeout(function(){EDD_Customer.vars.note.css("border-color",border_color)},500)}})},delete_checked:function(){$("#edd-customer-delete-confirm").change(function(){var records_input=$("#edd-customer-delete-records"),submit_button=$("#edd-delete-customer");$(this).prop("checked")?(records_input.attr("disabled",!1),submit_button.attr("disabled",!1)):(records_input.attr("disabled",!0),records_input.prop("checked",!1),submit_button.attr("disabled",!0))})}};EDD_Customer.init(),$(".edd-ajax-user-search").keyup(function(){var user_search=$(this).val(),exclude="";$(this).data("exclude")&&(exclude=$(this).data("exclude")),$(".edd-ajax").show();var data={action:"edd_search_users",user_name:user_search,exclude:exclude};document.body.style.cursor="wait",$.ajax({type:"POST",data:data,dataType:"json",url:ajaxurl,success:function(search_response){$(".edd-ajax").hide(),$(".edd_user_search_results").removeClass("hidden"),$(".edd_user_search_results span").html(""),$(search_response.results).appendTo(".edd_user_search_results span"),document.body.style.cursor="default"}})}),$(document.body).on("click.eddSelectUser",".edd_user_search_results span a",function(e){e.preventDefault();var login=$(this).data("login");$(".edd-ajax-user-search").val(login),$(".edd_user_search_results").addClass("hidden"),$(".edd_user_search_results span").html("")}),$(document.body).on("click.eddCancelUserSearch",".edd_user_search_results a.edd-ajax-user-cancel",function(e){e.preventDefault(),$(".edd-ajax-user-search").val(""),$(".edd_user_search_results").addClass("hidden"),$(".edd_user_search_results span").html("")}),$("#edd_dashboard_sales").length&&$.ajax({type:"GET",data:{action:"edd_load_dashboard_widget"},url:ajaxurl,success:function(response){$("#edd_dashboard_sales .inside").html(response)}}),$(document.body).on("keydown",".customer-note-input",function(e){13==e.keyCode&&(e.metaKey||e.ctrlKey)&&$("#add-customer-note").click()})});var eddFormatCurrency=function(value){var numeric=parseFloat(value),storeCurrency=edd_vars.currency,decimalPlaces=edd_vars.currency_decimals;return numeric.toLocaleString(storeCurrency,{style:"currency",currency:storeCurrency,minimumFractionDigits:decimalPlaces,maximumFractionDigits:decimalPlaces})},eddFormatNumber=function(value){var numeric=parseFloat(value),storeCurrency=edd_vars.currency;edd_vars.currency_decimals;return numeric.toLocaleString(storeCurrency,{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:0})},eddLabelFormatter=function(label,series){return'<div style="font-size:12px; text-align:center; padding:2px">'+label+"</div>"},eddLegendFormatterSales=function(label,series){var slug=label.toLowerCase().replace(/\s/g,"-"),color='<div class="edd-legend-color" style="background-color: '+series.color+'"></div>',value='<div class="edd-pie-legend-item">'+label+": "+Math.round(series.percent)+"% ("+eddFormatNumber(series.data[0][1])+")</div>",item='<div id="'+series.edd_vars.id+slug+'" class="edd-legend-item-wrapper">'+color+value+"</div>";return jQuery("#edd-pie-legend-"+series.edd_vars.id).append(item),item},eddLegendFormatterEarnings=function(label,series){var slug=label.toLowerCase().replace(/\s/g,"-"),color='<div class="edd-legend-color" style="background-color: '+series.color+'"></div>',value='<div class="edd-pie-legend-item">'+label+": "+Math.round(series.percent)+"% ("+eddFormatCurrency(series.data[0][1])+")</div>",item='<div id="'+series.edd_vars.id+slug+'" class="edd-legend-item-wrapper">'+color+value+"</div>";return jQuery("#edd-pie-legend-"+series.edd_vars.id).append(item),item};function edd_attach_tooltips(selector){selector.tooltip({content:function(){return jQuery(this).prop("title")},tooltipClass:"edd-ui-tooltip",position:{my:"center top",at:"center bottom+10",collision:"flipfit"},hide:{duration:200},show:{duration:200}})}function easy_digital_downloads_sendwp_remote_install(){jQuery.post(ajaxurl,{action:"edd_sendwp_remote_install"},function(response){response.success||!confirm(response.data.error)?easy_digital_downloads_sendwp_register_client(response.data.register_url,response.data.client_name,response.data.client_secret,response.data.client_redirect,response.data.partner_id):location.reload()})}function easy_digital_downloads_sendwp_disconnect(){jQuery.post(ajaxurl,{action:"edd_sendwp_disconnect"},function(response){location.reload()})}function easy_digital_downloads_sendwp_register_client(register_url,client_name,client_secret,client_redirect,partner_id){var form=document.createElement("form");function easy_digital_downloads_sendwp_append_form_input(name,value){var input=document.createElement("input");input.setAttribute("type","hidden"),input.setAttribute("name",name),input.setAttribute("value",value),form.appendChild(input)}form.setAttribute("method","POST"),form.setAttribute("action",register_url),easy_digital_downloads_sendwp_append_form_input("client_name",client_name),easy_digital_downloads_sendwp_append_form_input("client_secret",client_secret),easy_digital_downloads_sendwp_append_form_input("client_redirect",client_redirect),easy_digital_downloads_sendwp_append_form_input("partner_id",partner_id),document.body.appendChild(form),form.submit()}
1
+ jQuery(document).ready(function($){edd_attach_tooltips($(".edd-help-tip"));var EDD_Download_Configuration={init:function(){this.add(),this.move(),this.remove(),this.type(),this.prices(),this.files(),this.updatePrices()},clone_repeatable:function(row){var key=highest=1;return row.parent().find(".edd_repeatable_row").each(function(){var current=$(this).data("key");parseInt(current)>highest&&(highest=current)}),key=highest+=1,clone=row.clone(),clone.removeClass("edd_add_blank"),clone.attr("data-key",key),clone.find("input, select, textarea").val("").each(function(){var name=$(this).attr("name"),id=$(this).attr("id");name&&(name=name.replace(/\[(\d+)\]/,"["+parseInt(key)+"]"),$(this).attr("name",name)),$(this).attr("data-key",key),void 0!==id&&(id=id.replace(/(\d+)/,parseInt(key)),$(this).attr("id",id))}),clone.find("select").each(function(){$(this).val(row.find('select[name="'+$(this).attr("name")+'"]').val())}),clone.find('input[type="checkbox"]').each(function(){$(this).is(":checked")&&$(this).prop("checked",!1),$(this).val(1)}),clone.find("span.edd_price_id").each(function(){$(this).text(parseInt(key))}),clone.find("span.edd_file_id").each(function(){$(this).text(parseInt(key))}),clone.find(".edd_repeatable_default_input").each(function(){$(this).val(parseInt(key)).removeAttr("checked")}),clone.find(".edd_repeatable_condition_field").each(function(){$(this).find("option:eq(0)").prop("selected","selected")}),clone.find(".search-choice").remove(),clone.find(".chosen-container").remove(),edd_attach_tooltips(clone.find(".edd-help-tip")),clone},add:function(){$(document.body).on("click",".submit .edd_add_repeatable",function(e){e.preventDefault();var row=$(this).parent().parent().prev(".edd_repeatable_row"),clone=EDD_Download_Configuration.clone_repeatable(row);clone.insertAfter(row).find("input, textarea, select").filter(":visible").eq(0).focus(),clone.find(".edd-select-chosen").chosen({inherit_select_classes:!0,placeholder_text_single:edd_vars.one_option,placeholder_text_multiple:edd_vars.one_or_more_option}),clone.find(".edd-select-chosen").css("width","100%"),clone.find(".edd-select-chosen .chosen-search input").attr("placeholder",edd_vars.search_placeholder)})},move:function(){$(".edd_repeatable_table .edd-repeatables-wrap").sortable({handle:".edd-draghandle-anchor",items:".edd_repeatable_row",opacity:.6,cursor:"move",axis:"y",update:function(){var count=0;$(this).find(".edd_repeatable_row").each(function(){$(this).find("input.edd_repeatable_index").each(function(){$(this).val(count)}),count++})}})},remove:function(){$(document.body).on("click",".edd-remove-row, .edd_remove_repeatable",function(e){e.preventDefault();var firstFocusable,row=$(this).parents(".edd_repeatable_row"),count=row.parent().find(".edd_repeatable_row").length,type=$(this).data("type"),repeatable="div.edd_repeatable_"+type+"s";if(firstFocusable=($(this).is(".ui-sortable .edd_repeatable_row:first-child .edd-remove-row, .ui-sortable .edd_repeatable_row:first-child .edd_remove_repeatable")?row.next(".edd_repeatable_row"):row.prev(".edd_repeatable_row")).find("select, input, textarea, button").filter(":visible").eq(0),"price"===type){var price_row_id=row.data("key");$('.edd_repeatable_condition_field option[value="'+price_row_id+'"]').remove()}if(1<count)$("input, select",row).val(""),row.fadeOut("fast").remove(),firstFocusable.focus();else switch(type){case"price":alert(edd_vars.one_price_min);break;case"file":$("input, select",row).val("");break;default:alert(edd_vars.one_field_min)}$(repeatable).each(function(rowIndex){$(this).find("input, select").each(function(){var name=$(this).attr("name");name=name.replace(/\[(\d+)\]/,"["+rowIndex+"]"),$(this).attr("name",name).attr("id",name)})})})},type:function(){$(document.body).on("change","#_edd_product_type",function(e){var edd_products=$("#edd_products"),edd_download_files=$("#edd_download_files"),edd_download_limit_wrap=$("#edd_download_limit_wrap");"bundle"===$(this).val()?(edd_products.show(),edd_download_files.hide(),edd_download_limit_wrap.hide()):(edd_products.hide(),edd_download_files.show(),edd_download_limit_wrap.show())})},prices:function(){$(document.body).on("change","#edd_variable_pricing",function(e){var checked=$(this).is(":checked"),single=$("#edd_regular_price_field"),variable=$("#edd_variable_price_fields, .edd_repeatable_table .pricing"),bundleRow=$(".edd-bundled-product-row, .edd-repeatable-row-standard-fields");checked?(single.hide(),variable.show(),bundleRow.addClass("has-variable-pricing")):(single.show(),variable.hide(),bundleRow.removeClass("has-variable-pricing"))})},files:function(){var file_frame;window.formfield="",$(document.body).on("click",".edd_upload_file_button",function(e){e.preventDefault();var button=$(this);window.formfield=$(this).closest(".edd_repeatable_upload_wrapper"),file_frame||((file_frame=wp.media.frames.file_frame=wp.media({frame:"post",state:"insert",title:button.data("uploader-title"),button:{text:button.data("uploader-button-text")},multiple:"0"!=$(this).data("multiple")})).on("menu:render:default",function(view){view.unset("library-separator"),view.unset("gallery"),view.unset("featured-image"),view.unset("embed"),view.set({})}),file_frame.on("insert",function(){file_frame.state().get("selection").each(function(attachment,index){var selectedSize="image"===(attachment=attachment.toJSON()).type&&$(".attachment-display-settings .size option:selected").val(),selectedURL=attachment.url,selectedName=0<attachment.title.length?attachment.title:attachment.filename;if(selectedSize&&void 0!==attachment.sizes[selectedSize]&&(selectedURL=attachment.sizes[selectedSize].url),"image"===attachment.type&&(selectedName=selectedSize&&void 0!==attachment.sizes[selectedSize]?selectedName+"-"+attachment.sizes[selectedSize].width+"x"+attachment.sizes[selectedSize].height:selectedName+"-"+attachment.width+"x"+attachment.height),0===index)window.formfield.find(".edd_repeatable_attachment_id_field").val(attachment.id),window.formfield.find(".edd_repeatable_thumbnail_size_field").val(selectedSize),window.formfield.find(".edd_repeatable_upload_field").val(selectedURL),window.formfield.find(".edd_repeatable_name_field").val(selectedName);else{var row=window.formfield,clone=EDD_Download_Configuration.clone_repeatable(row);clone.find(".edd_repeatable_attachment_id_field").val(attachment.id),clone.find(".edd_repeatable_thumbnail_size_field").val(selectedSize),clone.find(".edd_repeatable_upload_field").val(selectedURL),clone.find(".edd_repeatable_name_field").val(selectedName),clone.insertAfter(row)}})})),file_frame.open()}),window.formfield=""},updatePrices:function(){$("#edd_price_fields").on("keyup",".edd_variable_prices_name",function(){var key=$(this).parents(".edd_repeatable_row").data("key"),name=$(this).val(),field_option=$(".edd_repeatable_condition_field option[value="+key+"]");0<field_option.length?field_option.text(name):$(".edd_repeatable_condition_field").append($("<option></option>").attr("value",key).text(name))})}};$(document.body).on("click",".toggle-custom-price-option-section",function(e){e.preventDefault();var show=$(this).html()==edd_vars.show_advanced_settings;show?$(this).html(edd_vars.hide_advanced_settings):$(this).html(edd_vars.show_advanced_settings);var header=$(this).parents(".edd-repeatable-row-header");header.siblings(".edd-custom-price-option-sections-wrap").slideToggle(),$(":input:not(input[type=button],input[type=submit],button):visible:first",show?header.siblings(".edd-custom-price-option-sections-wrap"):header.siblings(".edd-repeatable-row-standard-fields")).focus()}),EDD_Download_Configuration.init();var typingTimer,edd_datepicker=$(".edd_datepicker");if(0<edd_datepicker.length){edd_datepicker.datepicker({dateFormat:"mm/dd/yy"})}({init:function(){this.edit_address(),this.remove_download(),this.add_download(),this.change_customer(),this.new_customer(),this.edit_price(),this.recalculate_total(),this.variable_prices_check(),this.add_note(),this.remove_note(),this.resend_receipt(),this.copy_download_link()},edit_address:function(){$('select[name="edd-payment-address[0][country]"]').change(function(){var $this=$(this),data={action:"edd_get_shop_states",country:$this.val(),nonce:$this.data("nonce"),field_name:"edd-payment-address[0][state]"};return $.post(ajaxurl,data,function(response){var state_wrapper=$("#edd-order-address-state-wrap select, #edd-order-address-state-wrap input");$("#edd-order-address-state-wrap .chosen-container").remove(),"nostates"==response?state_wrapper.replaceWith('<input type="text" name="edd-payment-address[0][state]" value="" class="edd-edit-toggles medium-text"/>'):state_wrapper.replaceWith(response)}),!1})},remove_download:function(){$("#edd-purchased-files").on("click",".edd-order-remove-download",function(){if(1===$(document.body).find("#edd-purchased-files > .row:not(.header)").length)return alert(edd_vars.one_download_min),!1;if(confirm(edd_vars.delete_payment_download)){var key=$(this).data("key"),download_id=($(".edd-payment-id").val(),$('input[name="edd-payment-details-downloads['+key+'][id]"]').val()),price_id=$('input[name="edd-payment-details-downloads['+key+'][price_id]"]').val(),quantity=$('input[name="edd-payment-details-downloads['+key+'][quantity]"]').val(),amount=$('input[name="edd-payment-details-downloads['+key+'][amount]"]').val();if($('input[name="edd-payment-details-downloads['+key+'][tax]"]'))var fees=$('input[name="edd-payment-details-downloads['+key+'][tax]"]').val();if($('input[name="edd-payment-details-downloads['+key+'][fees]"]'))fees=$.parseJSON($('input[name="edd-payment-details-downloads['+key+'][fees]"]').val());var currently_removed=$('input[name="edd-payment-removed"]').val();(currently_removed=$.parseJSON(currently_removed)).length<1&&(currently_removed={});var removed_item=[{id:download_id,price_id:price_id,quantity:quantity,amount:amount,cart_index:key}];currently_removed[key]=removed_item,$('input[name="edd-payment-removed"]').val(JSON.stringify(currently_removed)),$(this).parent().parent().remove(),fees&&fees.length&&$.each(fees,function(key,value){$('*li[data-fee-id="'+value+'"]').remove()}),$("#edd-payment-downloads-changed").val(1),$(".edd-order-payment-recalc-totals").show()}return!1})},change_customer:function(){$("#edd-customer-details").on("click",".edd-payment-change-customer, .edd-payment-change-customer-cancel",function(e){e.preventDefault();var change_customer=$(this).hasClass("edd-payment-change-customer"),cancel=$(this).hasClass("edd-payment-change-customer-cancel");change_customer?($(".customer-info").hide(),$(".change-customer").show(),$(".edd-payment-change-customer-input").css("width","auto")):cancel&&($(".customer-info").show(),$(".change-customer").hide())})},new_customer:function(){$("#edd-customer-details").on("click",".edd-payment-new-customer, .edd-payment-new-customer-cancel",function(e){e.preventDefault();var new_customer=$(this).hasClass("edd-payment-new-customer"),cancel=$(this).hasClass("edd-payment-new-customer-cancel");new_customer?($(".customer-info").hide(),$(".new-customer").show()):cancel&&($(".customer-info").show(),$(".new-customer").hide());new_customer=$("#edd-new-customer");$(".new-customer").is(":visible")?new_customer.val(1):new_customer.val(0)})},add_download:function(){$(".edd-edit-purchase-element").on("click","#edd-order-add-download",function(e){e.preventDefault();var order_download_select=$("#edd_order_download_select"),order_download_quantity=$("#edd-order-download-quantity"),order_download_price=$("#edd-order-download-price"),order_download_tax=$("#edd-order-download-tax"),selected_price_option=$(".edd_price_options_select option:selected"),download_id=order_download_select.val(),download_title=order_download_select.find(":selected").text(),quantity=order_download_quantity.val(),item_price=order_download_price.val(),item_tax=order_download_tax.val(),price_id=selected_price_option.val(),price_name=selected_price_option.text();if(download_id<1)return!1;if(item_price||(item_price=0),item_price=parseFloat(item_price),isNaN(item_price))return alert(edd_vars.numeric_item_price),!1;if(item_tax=parseFloat(item_tax),isNaN(item_tax))return alert(edd_vars.numeric_item_tax),!1;if(isNaN(parseInt(quantity)))return alert(edd_vars.numeric_quantity),!1;price_name&&(download_title=download_title+" - "+price_name);var count=$("#edd-purchased-files div.row:not(.edd-purchased-files-header)").length;0==count&&alert(edd_vars.no_downloads_error);var clone=$("#edd-purchased-files div.row:not(.edd-purchased-files-header):last").clone();clone.find(".download span").html('<a href="post.php?post='+download_id+'&action=edit"></a>'),clone.find(".download span a").text(download_title),clone.find(".edd-payment-details-download-item-price").val(item_price.toFixed(edd_vars.currency_decimals)),clone.find(".edd-payment-details-download-item-tax").val(item_tax.toFixed(edd_vars.currency_decimals)),clone.find("input.edd-payment-details-download-id").val(download_id),clone.find("input.edd-payment-details-download-price-id").val(price_id);var item_total=item_price*quantity+item_tax;item_total=item_total.toFixed(edd_vars.currency_decimals),clone.find("span.edd-payment-details-download-amount").text(item_total),clone.find("input.edd-payment-details-download-amount").val(item_total),clone.find("input.edd-payment-details-download-quantity").val(quantity),clone.find("input.edd-payment-details-download-has-log").val(0),clone.find(".edd-copy-download-link-wrapper").remove(),clone.find("input").each(function(){var name=$(this).attr("name");name=name.replace(/\[(\d+)\]/,"["+parseInt(count)+"]"),$(this).attr("name",name).attr("id",name)}),clone.find("a.edd-order-remove-download").attr("data-key",parseInt(count)),$("#edd-payment-downloads-changed").val(1),$("#edd-purchased-files div.row .edd-purchased-download-title .deleted").length&&$("#edd-purchased-files div.row:last").remove(),$(clone).insertAfter("#edd-purchased-files div.row:last"),$(".edd-order-payment-recalc-totals").show(),$(".edd-add-download-field").val("")})},edit_price:function(){$(document.body).on("change keyup",".edd-payment-item-input",function(){var row=$(this).parents("ul.edd-purchased-files-list-wrapper");$(".edd-order-payment-recalc-totals").show();var quantity=row.find("input.edd-payment-details-download-quantity").val().replace(edd_vars.thousands_separator,""),item_price=row.find("input.edd-payment-details-download-item-price").val().replace(edd_vars.thousands_separator,""),item_tax=row.find("input.edd-payment-details-download-item-tax").val().replace(edd_vars.thousands_separator,"");if(item_price=parseFloat(item_price),isNaN(item_price))return alert(edd_vars.numeric_item_price),!1;item_tax=parseFloat(item_tax),isNaN(item_tax)&&(item_tax=0),isNaN(parseInt(quantity))&&(quantity=1);var item_total=item_price*quantity+item_tax;item_total=item_total.toFixed(edd_vars.currency_decimals),row.find("input.edd-payment-details-download-amount").val(item_total),row.find("span.edd-payment-details-download-amount").text(item_total)})},recalculate_total:function(){$("#edd-order-recalc-total").on("click",function(e){e.preventDefault();var total=0,tax=0,totals=$("#edd-purchased-files .row input.edd-payment-details-download-amount"),taxes=$("#edd-purchased-files .row input.edd-payment-details-download-item-tax");totals.length&&totals.each(function(){total+=parseFloat($(this).val())}),taxes.length&&taxes.each(function(){tax+=parseFloat($(this).val())}),$(".edd-payment-fees").length&&$(".edd-payment-fees span.fee-amount").each(function(){total+=parseFloat($(this).data("fee"))}),$("input[name=edd-payment-total]").val(total.toFixed(edd_vars.currency_decimals)),$("input[name=edd-payment-tax]").val(tax.toFixed(edd_vars.currency_decimals))})},variable_prices_check:function(){$(".edd-edit-purchase-element").on("change","select#edd_order_download_select",function(){var $this=$(this),download_id=$this.val();if(0<parseInt(download_id)){var postData={action:"edd_check_for_download_price_variations",download_id:download_id};$.ajax({type:"POST",data:postData,url:ajaxurl,success:function(response){$(".edd_price_options_select").remove(),$(response).insertAfter($this.next())}}).fail(function(data){window.console&&window.console.log&&console.log(data)})}})},add_note:function(){$("#edd-add-payment-note").on("click",function(e){e.preventDefault();var postData={action:"edd_insert_payment_note",payment_id:$(this).data("payment-id"),note:$("#edd-payment-note").val()};if(postData.note)$.ajax({type:"POST",data:postData,url:ajaxurl,success:function(response){$("#edd-payment-notes-inner").append(response),$(".edd-no-payment-notes").hide(),$("#edd-payment-note").val("")}}).fail(function(data){window.console&&window.console.log&&console.log(data)});else{var border_color=$("#edd-payment-note").css("border-color");$("#edd-payment-note").css("border-color","red"),setTimeout(function(){$("#edd-payment-note").css("border-color",border_color)},500)}})},remove_note:function(){$(document.body).on("click",".edd-delete-payment-note",function(e){if(e.preventDefault(),confirm(edd_vars.delete_payment_note)){var postData={action:"edd_delete_payment_note",payment_id:$(this).data("payment-id"),note_id:$(this).data("note-id")};return $.ajax({type:"POST",data:postData,url:ajaxurl,success:function(response){return $("#edd-payment-note-"+postData.note_id).remove(),$(".edd-payment-note").length||$(".edd-no-payment-notes").show(),!1}}).fail(function(data){window.console&&window.console.log&&console.log(data)}),!0}})},resend_receipt:function(){var emails_wrap=$(".edd-order-resend-receipt-addresses");$(document.body).on("click","#edd-select-receipt-email",function(e){e.preventDefault(),emails_wrap.slideDown()}),$(document.body).on("change",".edd-order-resend-receipt-email",function(){var href=$("#edd-select-receipt-email").prop("href")+"&email="+$(this).val();confirm(edd_vars.resend_receipt)&&(window.location=href)}),$(document.body).on("click","#edd-resend-receipt",function(e){return confirm(edd_vars.resend_receipt)})},copy_download_link:function(){$(document.body).on("click",".edd-copy-download-link",function(e){e.preventDefault();var $this=$(this),postData={action:"edd_get_file_download_link",payment_id:$('input[name="edd_payment_id"]').val(),download_id:$this.data("download-id"),price_id:$this.data("price-id")};$.ajax({type:"POST",data:postData,url:ajaxurl,success:function(link){return $("#edd-download-link").dialog({width:400}).html('<textarea rows="10" cols="40" id="edd-download-link-textarea">'+link+"</textarea>"),$("#edd-download-link-textarea").focus().select(),!1}}).fail(function(data){window.console&&window.console.log&&console.log(data)})})}}).init(),{init:function(){this.type_select(),this.product_requirements()},type_select:function(){$("#edd-edit-discount #edd-type, #edd-add-discount #edd-type").change(function(){var val=$(this).val();$(".edd-amount-description").hide(),$(".edd-amount-description."+val+"-discount").show()})},product_requirements:function(){$("#products").change(function(){var product_conditions=$("#edd-discount-product-conditions");$(this).val()?product_conditions.show():product_conditions.hide()})}}.init(),{init:function(){this.date_options(),this.customers_export()},date_options:function(){$("#edd-graphs-date-options").change(function(){var $this=$(this),date_range_options=$("#edd-date-range-options");"other"===$this.val()?date_range_options.show():date_range_options.hide()})},customers_export:function(){$("#edd_customer_export_download").change(function(){var $this=$(this),download_id=$("option:selected",$this).val(),customer_export_option=$("#edd_customer_export_option");if("0"===$this.val()?customer_export_option.show():customer_export_option.hide(),0!=parseInt(download_id)){var data={action:"edd_check_for_download_price_variations",download_id:download_id,all_prices:!0},price_options_select=$(".edd_price_options_select");$.post(ajaxurl,data,function(response){price_options_select.remove(),$("#edd_customer_export_download_chosen").after(response)})}else price_options_select.remove()})}}.init(),{init:function(){this.general(),this.taxes(),this.emails(),this.misc()},general:function(){var edd_color_picker=$(".edd-color-picker");if(edd_color_picker.length&&edd_color_picker.wpColorPicker(),"undefined"==typeof wp||"1"!==edd_vars.new_media_ui){var edd_settings_upload_button=$(".edd_settings_upload_button");0<edd_settings_upload_button.length&&(window.formfield="",$(document.body).on("click",edd_settings_upload_button,function(e){e.preventDefault(),window.formfield=$(this).parent().prev(),window.tbframe_interval=setInterval(function(){jQuery("#TB_iframeContent").contents().find(".savesend .button").val(edd_vars.use_this_file).end().find("#insert-gallery, .wp-post-thumbnail").hide()},2e3),tb_show(edd_vars.add_new_download,"media-upload.php?TB_iframe=true")}),window.edd_send_to_editor=window.send_to_editor,window.send_to_editor=function(html){window.formfield?(imgurl=$("a","<div>"+html+"</div>").attr("href"),window.formfield.val(imgurl),window.clearInterval(window.tbframe_interval),tb_remove()):window.edd_send_to_editor(html),window.send_to_editor=window.edd_send_to_editor,window.formfield="",window.imagefield=!1})}else{var file_frame;window.formfield="",$(document.body).on("click",".edd_settings_upload_button",function(e){e.preventDefault();var button=$(this);window.formfield=$(this).parent().prev(),file_frame||((file_frame=wp.media.frames.file_frame=wp.media({frame:"post",state:"insert",title:button.data("uploader_title"),button:{text:button.data("uploader_button_text")},multiple:!1})).on("menu:render:default",function(view){view.unset("library-separator"),view.unset("gallery"),view.unset("featured-image"),view.unset("embed"),view.set({})}),file_frame.on("insert",function(){file_frame.state().get("selection").each(function(attachment,index){attachment=attachment.toJSON(),window.formfield.val(attachment.url)})})),file_frame.open()}),window.formfield=""}},taxes:function(){var no_states=$("select.edd-no-states");no_states.length&&no_states.closest("tr").addClass("hidden"),$('select[name="edd_settings[base_country]"]').change(function(){var $this=$(this),$tr=$this.closest("tr"),data={action:"edd_get_shop_states",country:$this.val(),nonce:$this.data("nonce"),field_name:"edd_settings[base_state]"};return $.post(ajaxurl,data,function(response){"nostates"==response?$tr.next().addClass("hidden"):($tr.next().removeClass("hidden"),$tr.next().find("select").replaceWith(response))}),!1}),$(document.body).on("change","#edd_tax_rates select.edd-tax-country",function(){var $this=$(this),data={action:"edd_get_shop_states",country:$this.val(),nonce:$this.data("nonce"),field_name:$this.attr("name").replace("country","state")};return $.post(ajaxurl,data,function(response){if("nostates"==response){var text_field='<input type="text" name="'+data.field_name+'" value=""/>';$this.parent().next().find("select").replaceWith(text_field)}else $this.parent().next().find("input,select").show(),$this.parent().next().find("input,select").replaceWith(response)}),!1}),$("#edd_add_tax_rate").on("click",function(){var row=$("#edd_tax_rates tr:last"),clone=row.clone(),count=row.parent().find("tr").length;return clone.find("td input").not(":input[type=checkbox]").val(""),clone.find('td [type="checkbox"]').attr("checked",!1),clone.find("input, select").each(function(){var name=$(this).attr("name");name=name.replace(/\[(\d+)\]/,"["+parseInt(count)+"]"),$(this).attr("name",name).attr("id",name)}),clone.find("label").each(function(){var name=$(this).attr("for");name=name.replace(/\[(\d+)\]/,"["+parseInt(count)+"]"),$(this).attr("for",name)}),clone.insertAfter(row),!1}),$(document.body).on("click","#edd_tax_rates .edd_remove_tax_rate",function(){confirm(edd_vars.delete_tax_rate)&&(2===$("#edd_tax_rates tr:visible").length?($("#edd_tax_rates select").val(""),$('#edd_tax_rates input[type="text"]').val(""),$('#edd_tax_rates input[type="number"]').val(""),$('#edd_tax_rates input[type="checkbox"]').attr("checked",!1)):$(this).closest("tr").remove(),$("#edd_tax_rates tr").each(function(rowIndex){$(this).children().find("input, select").each(function(){var name=$(this).attr("name");name=name.replace(/\[(\d+)\]/,"["+(rowIndex-1)+"]"),$(this).attr("name",name).attr("id",name)})}));return!1})},emails:function(){var email_preview_wrap=$("#email-preview-wrap");if(email_preview_wrap.length){var emailPreview=$("#email-preview");email_preview_wrap.colorbox({inline:!0,href:emailPreview,width:"80%",height:"auto"})}$("#edd-sendwp-connect").on("click",function(e){e.preventDefault(),$(this).html(edd_vars.wait+' <span class="edd-loading"></span>'),document.body.style.cursor="wait",easy_digital_downloads_sendwp_remote_install()}),$("#edd-sendwp-disconnect").on("click",function(e){e.preventDefault(),$(this).html(edd_vars.wait+' <span class="edd-loading dark"></span>'),document.body.style.cursor="wait",easy_digital_downloads_sendwp_disconnect()}),$("#edd-jilt-connect").on("click",function(e){e.preventDefault(),$(this).html(edd_vars.wait+' <span class="edd-loading"></span>'),document.body.style.cursor="wait",easy_digital_downloads_jilt_remote_install()}),$("#edd-jilt-disconnect").on("click",function(e){e.preventDefault(),$(this).html(edd_vars.wait+' <span class="edd-loading dark"></span>'),document.body.style.cursor="wait",easy_digital_downloads_jilt_disconnect()})},misc:function(){var downloadMethod=$('select[name="edd_settings[download_method]"]'),symlink=downloadMethod.parent().parent().next();"direct"==downloadMethod.val()&&(symlink.hide(),symlink.find("input").prop("checked",!1)),downloadMethod.on("change",function(){"direct"==$(this).val()?(symlink.hide(),symlink.find("input").prop("checked",!1)):symlink.show()})}}.init(),$(".download_page_edd-payment-history .row-actions .delete a, a.edd-delete-payment").on("click",function(){return!!confirm(edd_vars.delete_payment)}),$("body").on("click","#the-list .editinline",function(){var post_id=$(this).closest("tr").attr("id");post_id=post_id.replace("post-","");var regprice=$("#post-"+post_id).find(".column-price .downloadprice-"+post_id).val();regprice!=$("#post-"+post_id+".column-price .downloadprice-"+post_id).val()?$(".regprice","#edd-download-data").val(regprice).attr("disabled",!1):$(".regprice","#edd-download-data").val(edd_vars.quick_edit_warning).attr("disabled","disabled")}),$(document.body).on("click","#bulk_edit",function(){var $bulk_row=$("#bulk-edit"),$post_ids=new Array;$bulk_row.find("#bulk-titles").children().each(function(){$post_ids.push($(this).attr("id").replace(/^(ttle)/i,""))});var $price=$('#edd-download-data input[name="_edd_regprice"]').val(),data={action:"edd_save_bulk_edit",edd_bulk_nonce:$post_ids,post_ids:$post_ids,price:$price};$.post(ajaxurl,data)}),$(".edd-select-chosen").chosen({inherit_select_classes:!0,placeholder_text_single:edd_vars.one_option,placeholder_text_multiple:edd_vars.one_or_more_option}),$(".edd-select-chosen .chosen-search input").each(function(){var selectElem=$(this).parent().parent().parent().prev("select.edd-select-chosen"),placeholder=(selectElem.data("search-type"),selectElem.data("search-placeholder"));$(this).attr("placeholder",placeholder)}),$(".chosen-choices").on("click",function(){var placeholder=$(this).parent().prev().data("search-placeholder");void 0===placeholder&&(placeholder=edd_vars.type_to_search),$(this).children("li").children("input").attr("placeholder",placeholder)});$(document.body).on("keyup",".edd-select.chosen-container .chosen-search input, .edd-select.chosen-container .search-field input",function(e){var val=$(this).val(),container=$(this).closest(".edd-select-chosen"),select=(container.attr("id").replace("_chosen",""),container.prev()),no_bundles=container.hasClass("no-bundles"),variations=container.hasClass("variations"),lastKey=e.which,search_type="edd_download_search";if(container.prev().data("search-type")){if("no_ajax"==select.data("search-type"))return;search_type="edd_"+select.data("search-type")+"_search"}val.length<=3&&"edd_download_search"==search_type||16==lastKey||13==lastKey||91==lastKey||17==lastKey||37==lastKey||38==lastKey||39==lastKey||40==lastKey||(clearTimeout(typingTimer),typingTimer=setTimeout(function(){$.ajax({type:"GET",url:ajaxurl,data:{action:search_type,s:val,no_bundles:no_bundles,variations:variations},dataType:"json",beforeSend:function(){select.closest("ul.chosen-results").empty()},success:function(data){$("option:not(:selected)",select).remove(),$.each(data,function(key,item){$('option[value="'+item.id+'"]',select).length||select.prepend('<option value="'+item.id+'">'+item.name+"</option>")}),$(".edd-select-chosen").trigger("chosen:updated"),select.next().find("input").val(val)}}).fail(function(response){window.console&&window.console.log&&console.log(response)}).done(function(response){})},342))}),$("#post").on("click",".edd-thickbox",function(){$(".edd-select-chosen","#choose-download").css("width","100%")}),{init:function(){this.revoke_api_key(),this.regenerate_api_key(),this.create_api_key(),this.recount_stats()},revoke_api_key:function(){$(document.body).on("click",".edd-revoke-api-key",function(e){return confirm(edd_vars.revoke_api_key)})},regenerate_api_key:function(){$(document.body).on("click",".edd-regenerate-api-key",function(e){return confirm(edd_vars.regenerate_api_key)})},create_api_key:function(){$(document.body).on("submit","#api-key-generate-form",function(e){var input=$('input[type="text"][name="user_id"]');input.css("border-color","#ddd");var user_id=input.val();if(user_id.length<1||0==user_id)return input.css("border-color","#ff0000"),!1})},recount_stats:function(){$(document.body).on("change","#recount-stats-type",function(){var export_form=$("#edd-tools-recount-form"),selected_type=$("option:selected",this).data("type"),submit_button=$("#recount-stats-submit"),products=$("#tools-product-dropdown");if(export_form.find(".notice-wrap").remove(),submit_button.removeClass("button-disabled").attr("disabled",!1),products.hide(),$(".edd-recount-stats-descriptions span").hide(),"recount-download"===selected_type)products.show(),products.find(".edd-select-chosen").css("width","auto");else if("reset-stats"===selected_type){export_form.append('<div class="notice-wrap"></div>'),export_form.find(".notice-wrap").html('<div class="notice notice-warning"><p><input type="checkbox" id="confirm-reset" name="confirm_reset_store" value="1" /> <label for="confirm-reset">'+edd_vars.reset_stats_warn+"</label></p></div>"),$("#recount-stats-submit").addClass("button-disabled").attr("disabled","disabled")}else products.hide(),products.val(0);$("#"+selected_type).show()}),$(document.body).on("change","#confirm-reset",function(){$(this).is(":checked")?$("#recount-stats-submit").removeClass("button-disabled").removeAttr("disabled"):$("#recount-stats-submit").addClass("button-disabled").attr("disabled","disabled")}),$("#edd-tools-recount-form").submit(function(e){var selection=$("#recount-stats-type").val(),export_form=$(this),selected_type=$("option:selected",this).data("type");if("reset-stats"===selected_type){if($("#confirm-reset").is(":checked"))return!0;has_errors=!0}export_form.find(".notice-wrap").remove(),export_form.append('<div class="notice-wrap"></div>');var notice_wrap=export_form.find(".notice-wrap"),has_errors=!1;(null!==selection&&0!==selection||(notice_wrap.html('<div class="updated error"><p>'+edd_vars.batch_export_no_class+"</p></div>"),has_errors=!0),"recount-download"===selected_type)&&(0==$('select[name="download_id"]').val()&&(notice_wrap.html('<div class="updated error"><p>'+edd_vars.batch_export_no_reqs+"</p></div>"),has_errors=!0));if(has_errors)return export_form.find(".button-disabled").removeClass("button-disabled"),!1})}}.init(),{init:function(){this.submit(),this.dismiss_message()},submit:function(){var self=this;$(document.body).on("submit",".edd-export-form",function(e){e.preventDefault();var submitButton=$(this).find('input[type="submit"]');if(!submitButton.hasClass("button-disabled")){var data=$(this).serialize();submitButton.addClass("button-disabled"),$(this).find(".notice-wrap").remove(),$(this).append('<div class="notice-wrap"><span class="spinner is-active"></span><div class="edd-progress"><div></div></div></div>'),self.process_step(1,data,self)}})},process_step:function(step,data,self){$.ajax({type:"POST",url:ajaxurl,data:{form:data,action:"edd_do_ajax_export",step:step},dataType:"json",success:function(response){if("done"==response.step||response.error||response.success){var export_form=$(".edd-export-form").find(".edd-progress").parent().parent(),notice_wrap=export_form.find(".notice-wrap");if(export_form.find(".button-disabled").removeClass("button-disabled"),response.error){var error_message=response.message;notice_wrap.html('<div class="updated error"><p>'+error_message+"</p></div>")}else if(response.success){var success_message=response.message;notice_wrap.html('<div id="edd-batch-success" class="updated notice is-dismissible"><p>'+success_message+'<span class="notice-dismiss"></span></p></div>')}else notice_wrap.remove(),window.location=response.url}else $(".edd-progress div").animate({width:response.percentage+"%"},50,function(){}),self.process_step(parseInt(response.step),data,self)}}).fail(function(response){window.console&&window.console.log&&console.log(response)})},dismiss_message:function(){$(document.body).on("click","#edd-batch-success .notice-dismiss",function(){$("#edd-batch-success").parent().slideUp("fast")})}}.init();var EDD_Import={init:function(){this.submit()},submit:function(){$(".edd-import-form").ajaxForm({beforeSubmit:this.before_submit,success:this.success,complete:this.complete,dataType:"json",error:this.error})},before_submit:function(arr,$form,options){if($form.find(".notice-wrap").remove(),$form.append('<div class="notice-wrap"><span class="spinner is-active"></span><div class="edd-progress"><div></div></div></div>'),!(window.File&&window.FileReader&&window.FileList&&window.Blob)){var import_form=$(".edd-import-form").find(".edd-progress").parent().parent(),notice_wrap=import_form.find(".notice-wrap");return import_form.find(".button-disabled").removeClass("button-disabled"),notice_wrap.html('<div class="update error"><p>'+edd_vars.unsupported_browser+"</p></div>"),!1}},success:function(responseText,statusText,xhr,$form){},complete:function(xhr){var response=jQuery.parseJSON(xhr.responseText);if(response.success){var $form=$(".edd-import-form .notice-wrap").parent();$form.find(".edd-import-file-wrap,.notice-wrap").remove(),$form.find(".edd-import-options").slideDown();var select=$form.find("select.edd-import-csv-column"),options=(select.parents("tr").first(),""),columns=response.data.columns.sort(function(a,b){return a<b?-1:b<a?1:0});$.each(columns,function(key,value){options+='<option value="'+value+'">'+value+"</option>"}),select.append(options),select.on("change",function(){var $key=$(this).val();$key&&0!=response.data.first_row[$key]?$(this).parent().next().html(response.data.first_row[$key]):$(this).parent().next().html("")}),$.each(select,function(){$(this).val($(this).attr("data-field")).change()}),$(document.body).on("click",".edd-import-proceed",function(e){e.preventDefault(),$form.append('<div class="notice-wrap"><span class="spinner is-active"></span><div class="edd-progress"><div></div></div></div>'),response.data.mapping=$form.serialize(),EDD_Import.process_step(1,response.data,self)})}else EDD_Import.error(xhr)},error:function(xhr){var response=jQuery.parseJSON(xhr.responseText),import_form=$(".edd-import-form").find(".edd-progress").parent().parent(),notice_wrap=import_form.find(".notice-wrap");import_form.find(".button-disabled").removeClass("button-disabled"),response.data.error?notice_wrap.html('<div class="update error"><p>'+response.data.error+"</p></div>"):notice_wrap.remove()},process_step:function(step,import_data,self){$.ajax({type:"POST",url:ajaxurl,data:{form:import_data.form,nonce:import_data.nonce,class:import_data.class,upload:import_data.upload,mapping:import_data.mapping,action:"edd_do_ajax_import",step:step},dataType:"json",success:function(response){if("done"==response.data.step||response.data.error){var import_form=$(".edd-import-form").find(".edd-progress").parent().parent(),notice_wrap=import_form.find(".notice-wrap");import_form.find(".button-disabled").removeClass("button-disabled"),response.data.error?notice_wrap.html('<div class="update error"><p>'+response.data.error+"</p></div>"):(import_form.find(".edd-import-options").hide(),$("html, body").animate({scrollTop:import_form.parent().offset().top},500),notice_wrap.html('<div class="updated"><p>'+response.data.message+"</p></div>"))}else $(".edd-progress div").animate({width:response.data.percentage+"%"},50,function(){}),EDD_Import.process_step(parseInt(response.data.step),import_data,self)}}).fail(function(response){window.console&&window.console.log&&console.log(response)})}};EDD_Import.init();var EDD_Customer={vars:{customer_card_wrap_editable:$(".edd-customer-card-wrapper .editable"),customer_card_wrap_edit_item:$(".edd-customer-card-wrapper .edit-item"),user_id:$('input[name="customerinfo[user_id]"]'),state_input:$(':input[name="customerinfo[state]"]'),note:$("#customer-note")},init:function(){this.edit_customer(),this.add_email(),this.user_search(),this.remove_user(),this.cancel_edit(),this.change_country(),this.add_note(),this.delete_checked()},edit_customer:function(){$(document.body).on("click","#edit-customer",function(e){e.preventDefault(),EDD_Customer.vars.customer_card_wrap_editable.hide(),EDD_Customer.vars.customer_card_wrap_edit_item.fadeIn().css("display","block")})},add_email:function(){$(document.body).on("click","#add-customer-email",function(e){e.preventDefault();var button=$(this),wrapper=button.parent();wrapper.parent().find(".notice-container").remove(),wrapper.find(".spinner").css("visibility","visible"),button.attr("disabled",!0);var postData={edd_action:"customer-add-email",customer_id:wrapper.find('input[name="customer-id"]').val(),email:wrapper.find('input[name="additional-email"]').val(),primary:wrapper.find('input[name="make-additional-primary"]').is(":checked"),_wpnonce:wrapper.find('input[name="add_email_nonce"]').val()};$.post(ajaxurl,postData,function(response){!0===response.success?window.location.href=response.redirect:(button.attr("disabled",!1),wrapper.after('<div class="notice-container"><div class="notice notice-error inline"><p>'+response.message+"</p></div></div>"),wrapper.find(".spinner").css("visibility","hidden"))},"json")})},user_search:function(){$(document.body).on("click.eddSelectUser",".edd_user_search_results a",function(e){e.preventDefault();var user_id=$(this).data("userid");EDD_Customer.vars.user_id.val(user_id)})},remove_user:function(){$(document.body).on("click","#disconnect-customer",function(e){if(e.preventDefault(),confirm(edd_vars.disconnect_customer)){var postData={edd_action:"disconnect-userid",customer_id:$('input[name="customerinfo[id]"]').val(),_wpnonce:$("#edit-customer-info #_wpnonce").val()};$.post(ajaxurl,postData,function(response){window.location.href=window.location.href},"json")}})},cancel_edit:function(){$(document.body).on("click","#edd-edit-customer-cancel",function(e){e.preventDefault(),EDD_Customer.vars.customer_card_wrap_edit_item.hide(),EDD_Customer.vars.customer_card_wrap_editable.show(),$(".edd_user_search_results").html("")})},change_country:function(){$('select[name="customerinfo[country]"]').change(function(){var $this=$(this),data={action:"edd_get_shop_states",country:$this.val(),nonce:$this.data("nonce"),field_name:"customerinfo[state]"};return $.post(ajaxurl,data,function(response){"nostates"==response?EDD_Customer.vars.state_input.replaceWith('<input type="text" name="'+data.field_name+'" value="" class="edd-edit-toggles medium-text"/>'):EDD_Customer.vars.state_input.replaceWith(response)}),!1})},add_note:function(){$(document.body).on("click","#add-customer-note",function(e){e.preventDefault();var postData={edd_action:"add-customer-note",customer_id:$("#customer-id").val(),customer_note:EDD_Customer.vars.note.val(),add_customer_note_nonce:$("#add_customer_note_nonce").val()};if(postData.customer_note)$.ajax({type:"POST",data:postData,url:ajaxurl,success:function(response){$("#edd-customer-notes").prepend(response),$(".edd-no-customer-notes").hide(),EDD_Customer.vars.note.val("")}}).fail(function(data){window.console&&window.console.log&&console.log(data)});else{var border_color=EDD_Customer.vars.note.css("border-color");EDD_Customer.vars.note.css("border-color","red"),setTimeout(function(){EDD_Customer.vars.note.css("border-color",border_color)},500)}})},delete_checked:function(){$("#edd-customer-delete-confirm").change(function(){var records_input=$("#edd-customer-delete-records"),submit_button=$("#edd-delete-customer");$(this).prop("checked")?(records_input.attr("disabled",!1),submit_button.attr("disabled",!1)):(records_input.attr("disabled",!0),records_input.prop("checked",!1),submit_button.attr("disabled",!0))})}};EDD_Customer.init(),$(".edd-ajax-user-search").keyup(function(){var user_search=$(this).val(),exclude="";$(this).data("exclude")&&(exclude=$(this).data("exclude")),$(".edd-ajax").show();var data={action:"edd_search_users",user_name:user_search,exclude:exclude};document.body.style.cursor="wait",$.ajax({type:"POST",data:data,dataType:"json",url:ajaxurl,success:function(search_response){$(".edd-ajax").hide(),$(".edd_user_search_results").removeClass("hidden"),$(".edd_user_search_results span").html(""),$(search_response.results).appendTo(".edd_user_search_results span"),document.body.style.cursor="default"}})}),$(document.body).on("click.eddSelectUser",".edd_user_search_results span a",function(e){e.preventDefault();var login=$(this).data("login");$(".edd-ajax-user-search").val(login),$(".edd_user_search_results").addClass("hidden"),$(".edd_user_search_results span").html("")}),$(document.body).on("click.eddCancelUserSearch",".edd_user_search_results a.edd-ajax-user-cancel",function(e){e.preventDefault(),$(".edd-ajax-user-search").val(""),$(".edd_user_search_results").addClass("hidden"),$(".edd_user_search_results span").html("")}),$("#edd_dashboard_sales").length&&$.ajax({type:"GET",data:{action:"edd_load_dashboard_widget"},url:ajaxurl,success:function(response){$("#edd_dashboard_sales .inside").html(response)}}),$(document.body).on("keydown",".customer-note-input",function(e){13==e.keyCode&&(e.metaKey||e.ctrlKey)&&$("#add-customer-note").click()})});var eddFormatCurrency=function(value){var numeric=parseFloat(value),storeCurrency=edd_vars.currency,decimalPlaces=edd_vars.currency_decimals;return numeric.toLocaleString(storeCurrency,{style:"currency",currency:storeCurrency,minimumFractionDigits:decimalPlaces,maximumFractionDigits:decimalPlaces})},eddFormatNumber=function(value){var numeric=parseFloat(value),storeCurrency=edd_vars.currency;edd_vars.currency_decimals;return numeric.toLocaleString(storeCurrency,{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:0})},eddLabelFormatter=function(label,series){return'<div style="font-size:12px; text-align:center; padding:2px">'+label+"</div>"},eddLegendFormatterSales=function(label,series){var slug=label.toLowerCase().replace(/\s/g,"-"),color='<div class="edd-legend-color" style="background-color: '+series.color+'"></div>',value='<div class="edd-pie-legend-item">'+label+": "+Math.round(series.percent)+"% ("+eddFormatNumber(series.data[0][1])+")</div>",item='<div id="'+series.edd_vars.id+slug+'" class="edd-legend-item-wrapper">'+color+value+"</div>";return jQuery("#edd-pie-legend-"+series.edd_vars.id).append(item),item},eddLegendFormatterEarnings=function(label,series){var slug=label.toLowerCase().replace(/\s/g,"-"),color='<div class="edd-legend-color" style="background-color: '+series.color+'"></div>',value='<div class="edd-pie-legend-item">'+label+": "+Math.round(series.percent)+"% ("+eddFormatCurrency(series.data[0][1])+")</div>",item='<div id="'+series.edd_vars.id+slug+'" class="edd-legend-item-wrapper">'+color+value+"</div>";return jQuery("#edd-pie-legend-"+series.edd_vars.id).append(item),item};function edd_attach_tooltips(selector){selector.tooltip({content:function(){return jQuery(this).prop("title")},tooltipClass:"edd-ui-tooltip",position:{my:"center top",at:"center bottom+10",collision:"flipfit"},hide:{duration:200},show:{duration:200}})}function easy_digital_downloads_sendwp_remote_install(){jQuery.post(ajaxurl,{action:"edd_sendwp_remote_install"},function(response){response.success||!confirm(response.data.error)?easy_digital_downloads_sendwp_register_client(response.data.register_url,response.data.client_name,response.data.client_secret,response.data.client_redirect,response.data.partner_id):location.reload()})}function easy_digital_downloads_sendwp_disconnect(){jQuery.post(ajaxurl,{action:"edd_sendwp_disconnect"},function(response){location.reload()})}function easy_digital_downloads_sendwp_register_client(register_url,client_name,client_secret,client_redirect,partner_id){var form=document.createElement("form");function easy_digital_downloads_sendwp_append_form_input(name,value){var input=document.createElement("input");input.setAttribute("type","hidden"),input.setAttribute("name",name),input.setAttribute("value",value),form.appendChild(input)}form.setAttribute("method","POST"),form.setAttribute("action",register_url),easy_digital_downloads_sendwp_append_form_input("client_name",client_name),easy_digital_downloads_sendwp_append_form_input("client_secret",client_secret),easy_digital_downloads_sendwp_append_form_input("client_redirect",client_redirect),easy_digital_downloads_sendwp_append_form_input("partner_id",partner_id),document.body.appendChild(form),form.submit()}function easy_digital_downloads_jilt_remote_install(){jQuery.post(ajaxurl,{action:"edd_jilt_remote_install"},function(response){response.success||!confirm(response.data.error)?easy_digital_downloads_jilt_connect():location.reload()})}function easy_digital_downloads_jilt_connect(){jQuery.post(ajaxurl,{action:"edd_jilt_connect"},function(response){response.success||!confirm(response.data.error)?""===response.data.connect_url||location.assign(response.data.connect_url):location.reload()})}function easy_digital_downloads_jilt_disconnect(){jQuery.post(ajaxurl,{action:"edd_jilt_disconnect"},function(response){response.success||confirm(response.data.error),location.reload()})}
easy-digital-downloads.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: The easiest way to sell digital products with WordPress.
6
  * Author: Easy Digital Downloads
7
  * Author URI: https://easydigitaldownloads.com
8
- * Version: 2.9.20
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.9.19' );
210
  }
211
 
212
  // Plugin Folder Path.
5
  * Description: The easiest way to sell digital products with WordPress.
6
  * Author: Easy Digital Downloads
7
  * Author URI: https://easydigitaldownloads.com
8
+ * Version: 2.9.21
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.9.21' );
210
  }
211
 
212
  // Plugin Folder Path.
includes/admin/settings/display-settings.php CHANGED
@@ -192,7 +192,7 @@ function edd_options_sidebar() {
192
  $active_section = array_key_exists( $active_section, edd_get_settings_tab_sections( $active_tab ) ) ? $active_section : 'main';
193
 
194
  // The coupon code we're promoting
195
- $coupon_code = 'BCFM2019';
196
 
197
  // Build the main URL for the promotion
198
  $args = array(
@@ -206,7 +206,7 @@ function edd_options_sidebar() {
206
  <div class="edd-settings-sidebar">
207
  <div class="edd-settings-sidebar-content">
208
  <div class="edd-sidebar-header-section">
209
- <img class="edd-bcfm-header" src="<?php echo esc_url( EDD_PLUGIN_URL . 'assets/images/promo/bfcm-header.svg' ); ?>">
210
  </div>
211
  <div class="edd-sidebar-description-section">
212
  <p class="edd-sidebar-description"><?php _e( 'Save 25% on all Easy Digital Downloads purchases <strong>this week</strong>, including renewals and upgrades!', 'easy-digital-downloads' ); ?></p>
192
  $active_section = array_key_exists( $active_section, edd_get_settings_tab_sections( $active_tab ) ) ? $active_section : 'main';
193
 
194
  // The coupon code we're promoting
195
+ $coupon_code = 'BFCM2019';
196
 
197
  // Build the main URL for the promotion
198
  $args = array(
206
  <div class="edd-settings-sidebar">
207
  <div class="edd-settings-sidebar-content">
208
  <div class="edd-sidebar-header-section">
209
+ <img class="edd-bfcm-header" src="<?php echo esc_url( EDD_PLUGIN_URL . 'assets/images/promo/bfcm-header.svg' ); ?>">
210
  </div>
211
  <div class="edd-sidebar-description-section">
212
  <p class="edd-sidebar-description"><?php _e( 'Save 25% on all Easy Digital Downloads purchases <strong>this week</strong>, including renewals and upgrades!', 'easy-digital-downloads' ); ?></p>
includes/admin/settings/register-settings.php CHANGED
@@ -502,6 +502,17 @@ function edd_get_registered_settings() {
502
  'desc' => '',
503
  'type' => 'hook',
504
  ),
 
 
 
 
 
 
 
 
 
 
 
505
  ),
506
  'purchase_receipts' => array(
507
  'purchase_receipt_email_settings' => array(
@@ -2167,6 +2178,8 @@ function edd_sendwp_callback($args) {
2167
 
2168
  ob_start();
2169
 
 
 
2170
  // Output the appropriate button and label based on connection status
2171
  if( $client_connected ) :
2172
  ?>
@@ -2181,17 +2194,78 @@ function edd_sendwp_callback($args) {
2181
  ?>
2182
 
2183
  <p>
2184
- <button type="button" id="edd-sendwp-connect" class="button button-primary"><span class="dashicons dashicons-email"></span><?php esc_html_e( 'Connect SendWP', 'easy-digital-downloads' ); ?>
2185
  </button>
2186
  </p>
2187
 
2188
  <?php
2189
- echo $args['desc'];
2190
  endif;
2191
 
2192
  echo ob_get_clean();
2193
  }
2194
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2195
  /**
2196
  * Tax Rates Callback
2197
  *
502
  'desc' => '',
503
  'type' => 'hook',
504
  ),
505
+ 'advanced_emails_header' => array(
506
+ 'id' => 'advanced_emails_header',
507
+ 'name' => '<strong>' . __( 'Advanced emails', 'easy-digital-downloads' ) . '</strong>',
508
+ 'type' => 'header',
509
+ ),
510
+ 'jilt' => array(
511
+ 'id' => 'jilt',
512
+ 'name' => __( 'Enhanced emails via Jilt', 'easy-digital-downloads' ),
513
+ 'desc' => '<p>' . __( 'Create beautiful transactional, automated, and marketing emails using a drag-and-drop editor with <a href="https://jilt.com/?utm_source=edd-core&utm_medium=referral&utm_campaign=edd-enhanced-emails" target="_blank" rel="noopener noreferrer">Jilt</a>.', 'easy-digital-downloads' ) . '</p><p>' . __( 'Learn more about free and paid plans in the <a href="https://docs.easydigitaldownloads.com/article/2199-jilt-overview" target="_blank" rel="noopener noreferrer">documentation</a>.', 'easy-digital-downloads' ) . '</p>',
514
+ 'type' => 'jilt',
515
+ ),
516
  ),
517
  'purchase_receipts' => array(
518
  'purchase_receipt_email_settings' => array(
2178
 
2179
  ob_start();
2180
 
2181
+ echo $args['desc'];
2182
+
2183
  // Output the appropriate button and label based on connection status
2184
  if( $client_connected ) :
2185
  ?>
2194
  ?>
2195
 
2196
  <p>
2197
+ <button type="button" id="edd-sendwp-connect" class="button button-primary"><?php esc_html_e( 'Connect SendWP', 'easy-digital-downloads' ); ?>
2198
  </button>
2199
  </p>
2200
 
2201
  <?php
 
2202
  endif;
2203
 
2204
  echo ob_get_clean();
2205
  }
2206
 
2207
+ /**
2208
+ * Jilt Callback
2209
+ *
2210
+ * Renders Jilt Settings
2211
+ *
2212
+ * @since n.n.n
2213
+ * @param array $args arguments passed by the setting.
2214
+ * @return void
2215
+ */
2216
+ function edd_jilt_callback( $args ) {
2217
+
2218
+ $activated = is_callable( 'edd_jilt' );
2219
+ $connected = $activated && edd_jilt()->get_integration()->is_jilt_connected();
2220
+ $connect_url = $activated ? edd_jilt()->get_connect_url() : '';
2221
+ $account_url = $connected ? edd_jilt()->get_integration()->get_jilt_app_url() : '';
2222
+
2223
+ echo wp_kses_post( $args['desc'] );
2224
+
2225
+ if ( $activated ) :
2226
+ ?>
2227
+
2228
+ <?php if ( $connected ) : ?>
2229
+
2230
+ <p>
2231
+ <button id="edd-jilt-disconnect" class="button"><?php esc_html_e( 'Disconnect Jilt', 'easy-digital-downloads' ); ?></button>
2232
+ </p>
2233
+
2234
+ <p>
2235
+ <?php
2236
+ wp_kses_post(
2237
+ sprintf(
2238
+ /* Translators: %1$s - <a> tag, %2$s - </a> tag */
2239
+ __( '%1$sClick here%2$s to visit your Jilt dashboard', 'easy-digital-downloads' ),
2240
+ '<a href="' . esc_url( $account_url ) . '" target="_blank">',
2241
+ '</a>'
2242
+ )
2243
+ );
2244
+ ?>
2245
+ </p>
2246
+
2247
+ <?php else : ?>
2248
+
2249
+ <p>
2250
+ <a id="edd-jilt-connect" class="button button-primary" href="<?php echo esc_url( $connect_url ); ?>">
2251
+ <?php esc_html_e( 'Connect to Jilt', 'easy-digital-downloads' ); ?>
2252
+ </a>
2253
+ </p>
2254
+
2255
+ <?php endif; ?>
2256
+
2257
+ <?php else : ?>
2258
+
2259
+ <p>
2260
+ <button id="edd-jilt-connect" class="button button-primary">
2261
+ <?php esc_html_e( 'Install Jilt', 'easy-digital-downloads' ); ?>
2262
+ </button>
2263
+ </p>
2264
+
2265
+ <?php
2266
+ endif;
2267
+ }
2268
+
2269
  /**
2270
  * Tax Rates Callback
2271
  *
includes/admin/tools/class-edd-tools-recount-all-stats.php CHANGED
@@ -94,6 +94,8 @@ class EDD_Tools_Recount_All_Stats extends EDD_Batch_Export {
94
 
95
  foreach ( $payments as $payment ) {
96
 
 
 
97
  // Prevent payments that have all ready been retrieved from a previous sales log from counting again.
98
  if ( in_array( $payment->ID, $processed_payments ) ) {
99
  continue;
@@ -120,16 +122,34 @@ class EDD_Tools_Recount_All_Stats extends EDD_Batch_Export {
120
  );
121
  }
122
 
123
- $amount = $item['price'];
124
- if ( ! empty( $item['fees'] ) ) {
125
- foreach ( $item['fees'] as $fee ) {
126
- // Only let negative fees affect earnings
127
- if ( $fee['amount'] > 0 ) {
128
- continue;
129
- }
 
 
 
 
 
 
 
130
 
131
- $amount += $fee['amount'];
 
 
 
 
 
 
 
 
 
 
132
  }
 
133
  }
134
 
135
  $totals[ $download_id ]['sales']++;
94
 
95
  foreach ( $payments as $payment ) {
96
 
97
+ $payment = new EDD_Payment( $payment->ID );
98
+
99
  // Prevent payments that have all ready been retrieved from a previous sales log from counting again.
100
  if ( in_array( $payment->ID, $processed_payments ) ) {
101
  continue;
122
  );
123
  }
124
 
125
+ /*
126
+ * Prior to version 2.9.9, there was a bug with item-specific earnings.
127
+ *
128
+ * To get around it, we will use alternate calculation logic if the payment was created before version 2.9.9 was released.
129
+ *
130
+ * This is not a perfect fix but is as close as we can get to accurate reporting.
131
+ *
132
+ * See https://github.com/easydigitaldownloads/easy-digital-downloads/issues/7507
133
+ */
134
+ if ( $payment->date > '2018-12-03' ) {
135
+
136
+ $amount = $item['price'];
137
+
138
+ } else {
139
 
140
+ $amount = $item['price'];
141
+
142
+ if ( ! empty( $item['fees'] ) ) {
143
+ foreach( $item['fees'] as $fee ) {
144
+ // Only let negative fees affect earnings
145
+ if ( $fee['amount'] > 0 ) {
146
+ continue;
147
+ }
148
+
149
+ $amount += $fee['amount'];
150
+ }
151
  }
152
+
153
  }
154
 
155
  $totals[ $download_id ]['sales']++;
includes/admin/tools/class-edd-tools-recount-download-stats.php CHANGED
@@ -91,6 +91,8 @@ class EDD_Tools_Recount_Download_Stats extends EDD_Batch_Export {
91
 
92
  foreach ( $payments as $payment ) {
93
 
 
 
94
  if ( ! in_array( $payment->post_status, $accepted_statuses ) ) {
95
  continue;
96
  }
@@ -105,17 +107,34 @@ class EDD_Tools_Recount_Download_Stats extends EDD_Batch_Export {
105
 
106
  $this->_log_ids_debug[] = $payment->ID;
107
 
108
- $amount = $item['price'];
 
 
 
 
 
 
 
 
 
109
 
110
- if ( ! empty( $item['fees'] ) ) {
111
- foreach( $item['fees'] as $fee ) {
112
- // Only let negative fees affect earnings
113
- if ( $fee['amount'] > 0 ) {
114
- continue;
115
- }
116
 
117
- $amount += $fee['amount'];
 
 
 
 
 
 
 
 
118
  }
 
119
  }
120
 
121
  $totals['sales']++;
91
 
92
  foreach ( $payments as $payment ) {
93
 
94
+ $payment = new EDD_Payment( $payment->ID );
95
+
96
  if ( ! in_array( $payment->post_status, $accepted_statuses ) ) {
97
  continue;
98
  }
107
 
108
  $this->_log_ids_debug[] = $payment->ID;
109
 
110
+ /*
111
+ * Prior to version 2.9.9, there was a bug with item-specific earnings.
112
+ *
113
+ * To get around it, we will use alternate calculation logic if the payment was created before version 2.9.9 was released.
114
+ *
115
+ * This is not a perfect fix but is as close as we can get to accurate reporting.
116
+ *
117
+ * See https://github.com/easydigitaldownloads/easy-digital-downloads/issues/7507
118
+ */
119
+ if ( $payment->date > '2018-12-03' ) {
120
 
121
+ $amount = $item['price'];
122
+
123
+ } else {
124
+
125
+ $amount = $item['price'];
 
126
 
127
+ if ( ! empty( $item['fees'] ) ) {
128
+ foreach( $item['fees'] as $fee ) {
129
+ // Only let negative fees affect earnings
130
+ if ( $fee['amount'] > 0 ) {
131
+ continue;
132
+ }
133
+
134
+ $amount += $fee['amount'];
135
+ }
136
  }
137
+
138
  }
139
 
140
  $totals['sales']++;
includes/download-functions.php CHANGED
@@ -917,32 +917,33 @@ function edd_set_file_download_limit_override( $download_id = 0, $payment_id = 0
917
  */
918
  function edd_is_file_at_download_limit( $download_id = 0, $payment_id = 0, $file_id = 0, $price_id = false ) {
919
 
920
- // Checks to see if at limit
921
- $logs = new EDD_Logging();
922
-
923
- $meta_query = array(
924
- 'relation' => 'AND',
925
- array(
926
- 'key' => '_edd_log_file_id',
927
- 'value' => (int) $file_id
928
- ),
929
- array(
930
- 'key' => '_edd_log_payment_id',
931
- 'value' => (int) $payment_id
932
- ),
933
- array(
934
- 'key' => '_edd_log_price_id',
935
- 'value' => (int) $price_id
936
- )
937
- );
938
-
939
- $ret = false;
940
- $download_count = $logs->get_log_count( $download_id, 'file_download', $meta_query );
941
-
942
  $download_limit = edd_get_file_download_limit( $download_id );
943
  $unlimited_purchase = edd_payment_has_unlimited_downloads( $payment_id );
944
 
945
  if ( ! empty( $download_limit ) && empty( $unlimited_purchase ) ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
946
  if ( $download_count >= $download_limit ) {
947
  $ret = true;
948
 
917
  */
918
  function edd_is_file_at_download_limit( $download_id = 0, $payment_id = 0, $file_id = 0, $price_id = false ) {
919
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
920
  $download_limit = edd_get_file_download_limit( $download_id );
921
  $unlimited_purchase = edd_payment_has_unlimited_downloads( $payment_id );
922
 
923
  if ( ! empty( $download_limit ) && empty( $unlimited_purchase ) ) {
924
+
925
+ // Checks to see if at limit
926
+ $logs = new EDD_Logging();
927
+
928
+ $meta_query = array(
929
+ 'relation' => 'AND',
930
+ array(
931
+ 'key' => '_edd_log_file_id',
932
+ 'value' => (int) $file_id
933
+ ),
934
+ array(
935
+ 'key' => '_edd_log_payment_id',
936
+ 'value' => (int) $payment_id
937
+ ),
938
+ array(
939
+ 'key' => '_edd_log_price_id',
940
+ 'value' => (int) $price_id
941
+ )
942
+ );
943
+
944
+ $ret = false;
945
+ $download_count = $logs->get_log_count( $download_id, 'file_download', $meta_query );
946
+
947
  if ( $download_count >= $download_limit ) {
948
  $ret = true;
949
 
includes/emails/functions.php CHANGED
@@ -312,7 +312,7 @@ function edd_sendwp_remote_install_handler () {
312
 
313
  if ( is_wp_error( $api ) ) {
314
  wp_send_json_error( array(
315
- 'error' => $install->get_error_message(),
316
  'debug' => $api
317
  ) );
318
  }
@@ -375,4 +375,193 @@ function edd_sendwp_disconnect () {
375
 
376
  wp_send_json_success();
377
  }
378
- add_action( 'wp_ajax_edd_sendwp_disconnect', 'edd_sendwp_disconnect' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
312
 
313
  if ( is_wp_error( $api ) ) {
314
  wp_send_json_error( array(
315
+ 'error' => $api->get_error_message(),
316
  'debug' => $api
317
  ) );
318
  }
375
 
376
  wp_send_json_success();
377
  }
378
+ add_action( 'wp_ajax_edd_sendwp_disconnect', 'edd_sendwp_disconnect' );
379
+
380
+ /**
381
+ * Handle installation and activation for Jilt via AJAX
382
+ *
383
+ * @since n.n.n
384
+ */
385
+ function edd_jilt_remote_install_handler() {
386
+
387
+ if ( ! current_user_can( 'manage_shop_settings' ) ) {
388
+ wp_send_json_error(
389
+ array(
390
+ 'error' => __( 'You do not have permission to do this.', 'easy-digital-downloads' ),
391
+ )
392
+ );
393
+ }
394
+
395
+ include_once ABSPATH . 'wp-admin/includes/plugin-install.php';
396
+ include_once ABSPATH . 'wp-admin/includes/file.php';
397
+ include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
398
+
399
+ $plugins = get_plugins();
400
+
401
+ if ( ! array_key_exists( 'jilt-for-edd/jilt-for-edd.php', $plugins ) ) {
402
+ /*
403
+ * Use the WordPress Plugins API to get the plugin download link.
404
+ */
405
+ $api = plugins_api(
406
+ 'plugin_information',
407
+ array(
408
+ 'slug' => 'jilt-for-edd',
409
+ )
410
+ );
411
+
412
+ if ( is_wp_error( $api ) ) {
413
+ wp_send_json_error(
414
+ array(
415
+ 'error' => $api->get_error_message(),
416
+ 'debug' => $api,
417
+ )
418
+ );
419
+ }
420
+
421
+ /*
422
+ * Use the AJAX Upgrader skin to quietly install the plugin.
423
+ */
424
+ $upgrader = new Plugin_Upgrader( new WP_Ajax_Upgrader_Skin() );
425
+ $install = $upgrader->install( $api->download_link );
426
+ if ( is_wp_error( $install ) ) {
427
+ wp_send_json_error(
428
+ array(
429
+ 'error' => $install->get_error_message(),
430
+ 'debug' => $api,
431
+ )
432
+ );
433
+ }
434
+
435
+ activate_plugin( $upgrader->plugin_info() );
436
+
437
+ } else {
438
+
439
+ activate_plugin( 'jilt-for-edd/jilt-for-edd.php' );
440
+ }
441
+
442
+ /*
443
+ * Final check to see if Jilt is available.
444
+ */
445
+ if ( ! class_exists( 'EDD_Jilt_Loader' ) ) {
446
+ wp_send_json_error(
447
+ array(
448
+ 'error' => __( 'Something went wrong. Jilt was not installed correctly.', 'easy-digital-downloads' ),
449
+ )
450
+ );
451
+ }
452
+
453
+ wp_send_json_success();
454
+ }
455
+ add_action( 'wp_ajax_edd_jilt_remote_install', 'edd_jilt_remote_install_handler' );
456
+
457
+ /**
458
+ * Handle connection for Jilt via AJAX
459
+ *
460
+ * @since n.n.n
461
+ */
462
+ function edd_jilt_connect_handler() {
463
+
464
+ if ( ! current_user_can( 'manage_shop_settings' ) ) {
465
+ wp_send_json_error(
466
+ array(
467
+ 'error' => __( 'You do not have permission to do this.', 'easy-digital-downloads' ),
468
+ )
469
+ );
470
+ }
471
+
472
+ if ( ! is_callable( 'edd_jilt' ) ) {
473
+ wp_send_json_error(
474
+ array(
475
+ 'error' => __( 'Something went wrong. Jilt was not installed correctly.', 'easy-digital-downloads' ),
476
+ )
477
+ );
478
+ }
479
+
480
+ wp_send_json_success( array( 'connect_url' => edd_jilt()->get_connect_url() ) );
481
+ }
482
+ add_action( 'wp_ajax_edd_jilt_connect', 'edd_jilt_connect_handler' );
483
+
484
+ /**
485
+ * Handle disconnection and deactivation for Jilt via AJAX
486
+ *
487
+ * @since n.n.n
488
+ */
489
+ function edd_jilt_disconnect_handler() {
490
+
491
+ if ( ! current_user_can( 'manage_shop_settings' ) ) {
492
+ wp_send_json_error(
493
+ array(
494
+ 'error' => __( 'You do not have permission to do this.', 'easy-digital-downloads' ),
495
+ )
496
+ );
497
+ }
498
+
499
+ if ( is_callable( 'edd_jilt' ) ) {
500
+
501
+ edd_jilt()->get_integration()->unlink_shop();
502
+ edd_jilt()->get_integration()->revoke_authorization();
503
+ edd_jilt()->get_integration()->clear_connection_data();
504
+ }
505
+
506
+ deactivate_plugins( 'jilt-for-edd/jilt-for-edd.php' );
507
+
508
+ wp_send_json_success();
509
+ }
510
+ add_action( 'wp_ajax_edd_jilt_disconnect', 'edd_jilt_disconnect_handler' );
511
+
512
+ /**
513
+ * Maybe adds a notice to abandoned payments if Jilt isn't installed.
514
+ *
515
+ * @since n.n.n
516
+ *
517
+ * @param int $payment_id The ID of the abandoned payment, for which a jilt notice is being thrown.
518
+ */
519
+ function maybe_add_jilt_notice_to_abandoned_payment( $payment_id ) {
520
+
521
+ if ( ! is_callable( 'edd_jilt' )
522
+ && ! is_plugin_active( 'recapture-for-edd/recapture.php' )
523
+ && 'abandoned' === edd_get_payment_status( $payment_id )
524
+ && ! get_user_meta( get_current_user_id(), '_edd_try_jilt_dismissed', true )
525
+ ) {
526
+ ?>
527
+ <div class="notice notice-warning jilt-notice">
528
+ <p>
529
+ <?php
530
+ echo wp_kses_post(
531
+ sprintf(
532
+ /* Translators: %1$s - <strong> tag, %2$s - </strong> tag, %3$s - <a> tag, %4$s - </a> tag */
533
+ __( '%1$sRecover abandoned purchases like this one.%2$s %3$sTry Jilt for free%4$s.', 'easy-digital-downloads' ),
534
+ '<strong>',
535
+ '</strong>',
536
+ '<a href="https://easydigitaldownloads.com/downloads/jilt" target="_blank">',
537
+ '</a>'
538
+ )
539
+ );
540
+ ?>
541
+ </p>
542
+ <?php
543
+ echo wp_kses_post(
544
+ sprintf(
545
+ /* Translators: %1$s - Opening anchor tag, %2$s - The url to dismiss the ajax notice, %3$s - Complete the opening of the anchor tag, %4$s - Open span tag, %4$s - Close span tag */
546
+ __( '%1$s %2$s %3$s %4$s Dismiss this notice. %5$s', 'easy-digital-downloads' ),
547
+ '<a href="',
548
+ esc_url(
549
+ add_query_arg(
550
+ array(
551
+ 'edd_action' => 'dismiss_notices',
552
+ 'edd_notice' => 'try_jilt',
553
+ )
554
+ )
555
+ ),
556
+ '" type="button" class="notice-dismiss">',
557
+ '<span class="screen-reader-text">',
558
+ '</span>
559
+ </a>'
560
+ )
561
+ );
562
+ ?>
563
+ </div>
564
+ <?php
565
+ }
566
+ }
567
+ add_action( 'edd_view_order_details_before', 'maybe_add_jilt_notice_to_abandoned_payment' );
includes/payments/actions.php CHANGED
@@ -66,18 +66,8 @@ function edd_complete_purchase( $payment_id, $new_status, $old_status ) {
66
 
67
  }
68
 
69
- $increase_earnings = $download['price'];
70
- if ( ! empty( $download['fees'] ) ) {
71
- foreach ( $download['fees'] as $fee ) {
72
- if ( $fee['amount'] > 0 ) {
73
- continue;
74
- }
75
- $increase_earnings += $fee['amount'];
76
- }
77
- }
78
-
79
  // Increase the earnings for this download ID
80
- edd_increase_earnings( $download['id'], $increase_earnings );
81
  edd_increase_purchase_count( $download['id'], $download['quantity'] );
82
 
83
  }
66
 
67
  }
68
 
 
 
 
 
 
 
 
 
 
 
69
  // Increase the earnings for this download ID
70
+ edd_increase_earnings( $download['id'], $download['price'] );
71
  edd_increase_purchase_count( $download['id'], $download['quantity'] );
72
 
73
  }
includes/payments/class-payment-stats.php CHANGED
@@ -177,27 +177,48 @@ class EDD_Payment_Stats extends EDD_Stats {
177
  $payment_ids = $wpdb->get_col( "SELECT DISTINCT meta_value FROM $wpdb->postmeta WHERE meta_key = '_edd_log_payment_id' AND post_id IN ($log_ids);" );
178
 
179
  foreach ( $payment_ids as $payment_id ) {
180
- $items = edd_get_payment_meta_cart_details( $payment_id );
 
 
181
 
182
  foreach ( $items as $cart_key => $item ) {
 
183
  if ( $item['id'] != $download_id ) {
184
  continue;
185
  }
186
 
187
- $earnings += $item['price'];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
188
 
189
- // Check if there are any item specific fees
190
- if ( ! empty( $item['fees'] ) ) {
191
- foreach ( $item['fees'] as $key => $fee ) {
192
- $earnings += $fee['amount'];
193
  }
194
- }
195
 
196
- $earnings = apply_filters( 'edd_payment_stats_item_earnings', $earnings, $payment_id, $cart_key, $item );
197
 
198
  if ( ! $include_taxes ) {
199
  $earnings -= edd_get_payment_item_tax( $payment_id, $cart_key );
200
  }
 
 
 
201
  }
202
  }
203
  }
177
  $payment_ids = $wpdb->get_col( "SELECT DISTINCT meta_value FROM $wpdb->postmeta WHERE meta_key = '_edd_log_payment_id' AND post_id IN ($log_ids);" );
178
 
179
  foreach ( $payment_ids as $payment_id ) {
180
+
181
+ $payment = new EDD_Payment( $payment_id );
182
+ $items = edd_get_payment_meta_cart_details( $payment_id );
183
 
184
  foreach ( $items as $cart_key => $item ) {
185
+
186
  if ( $item['id'] != $download_id ) {
187
  continue;
188
  }
189
 
190
+ /*
191
+ * Prior to version 2.9.9, there was a bug with item-specific earnings.
192
+ *
193
+ * To get around it, we will use alternate calculation logic if the payment was created before version 2.9.9 was released.
194
+ *
195
+ * This is not a perfect fix but is as close as we can get to accurate reporting.
196
+ *
197
+ * See https://github.com/easydigitaldownloads/easy-digital-downloads/issues/7507
198
+ */
199
+ if( $payment->date > '2018-12-03' ) {
200
+
201
+ $earnings += $item['price'];
202
+
203
+ } else {
204
+
205
+
206
+ $earnings += $item['item_price'];
207
 
208
+ if ( ! empty( $item['fees'] ) ) {
209
+ foreach ( $item['fees'] as $key => $fee ) {
210
+ $earnings += $fee['amount'];
211
+ }
212
  }
 
213
 
214
+ }
215
 
216
  if ( ! $include_taxes ) {
217
  $earnings -= edd_get_payment_item_tax( $payment_id, $cart_key );
218
  }
219
+
220
+ $earnings = apply_filters( 'edd_payment_stats_item_earnings', $earnings, $payment_id, $cart_key, $item );
221
+
222
  }
223
  }
224
  }
languages/easy-digital-downloads.pot CHANGED
@@ -1,14 +1,14 @@
1
- # Copyright (C) 2019 Easy Digital Downloads
2
  # This file is distributed under the same license as the Easy Digital Downloads package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Easy Digital Downloads 2.9.20\n"
6
  "Report-Msgid-Bugs-To: https://easydigitaldownloads.com/\n"
7
- "POT-Creation-Date: 2019-11-14 18:07:45+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2019-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: WP-Translations (http://wp-translations.org/)\n"
13
  "Language-Team: WP-Translations <wpt@wp-translations.org>\n"
14
  "Language: en_US\n"
@@ -72,9 +72,9 @@ msgstr ""
72
  #: includes/admin/reporting/export/class-batch-export.php:131
73
  #: includes/admin/reporting/export/export-actions.php:23
74
  #: includes/admin/reporting/reports.php:98
75
- #: includes/admin/tools/class-edd-tools-recount-all-stats.php:205
76
  #: includes/admin/tools/class-edd-tools-recount-customer-stats.php:191
77
- #: includes/admin/tools/class-edd-tools-recount-download-stats.php:223
78
  #: includes/admin/tools/class-edd-tools-recount-single-customer-stats.php:148
79
  #: includes/admin/tools/class-edd-tools-recount-store-earnings.php:153
80
  #: includes/admin/tools/class-edd-tools-reset-stats.php:179
@@ -93,7 +93,7 @@ msgstr ""
93
  #: includes/cart/class-edd-cart.php:1424 includes/cart/class-edd-cart.php:1438
94
  #: includes/class-edd-license-handler.php:309
95
  #: includes/deprecated-functions.php:517 includes/deprecated-functions.php:532
96
- #: includes/deprecated-functions.php:542 includes/download-functions.php:1259
97
  #: includes/emails/actions.php:53 includes/emails/template.php:243
98
  #: includes/error-tracking.php:40 includes/gateways/functions.php:221
99
  #: includes/gateways/manual.php:33 includes/gateways/paypal-standard.php:168
@@ -211,7 +211,7 @@ msgstr ""
211
 
212
  #: includes/admin/admin-pages.php:43 includes/admin/plugins.php:57
213
  #: includes/admin/settings/contextual-help.php:87
214
- #: includes/admin/settings/register-settings.php:1357
215
  msgid "Extensions"
216
  msgstr ""
217
 
@@ -450,7 +450,7 @@ msgstr ""
450
  #: includes/admin/discounts/class-discount-codes-table.php:267
451
  #: includes/admin/payments/class-payments-table.php:367
452
  #: includes/admin/payments/class-payments-table.php:435
453
- #: includes/admin/settings/register-settings.php:946
454
  #: includes/payments/functions.php:1616
455
  msgid "Delete"
456
  msgstr ""
@@ -658,7 +658,7 @@ msgid "City"
658
  msgstr ""
659
 
660
  #: includes/admin/customers/customers.php:269
661
- #: includes/admin/settings/register-settings.php:2214
662
  #: includes/admin/tools.php:695 includes/checkout/template.php:435
663
  #: templates/shortcode-profile-editor.php:171
664
  msgid "State / Province"
@@ -763,7 +763,7 @@ msgstr ""
763
  #: includes/admin/downloads/metabox.php:705
764
  #: includes/admin/downloads/metabox.php:830
765
  #: includes/admin/payments/view-order-details.php:523
766
- #: includes/admin/settings/register-settings.php:2217 includes/scripts.php:227
767
  #: templates/checkout_cart.php:57 templates/checkout_cart.php:75
768
  #: templates/shortcode-profile-editor.php:123
769
  msgid "Remove"
@@ -1272,13 +1272,13 @@ msgstr ""
1272
 
1273
  #: includes/admin/discounts/contextual-help.php:38
1274
  #: includes/admin/settings/contextual-help.php:42
1275
- #: includes/admin/settings/register-settings.php:1349
1276
- #: includes/admin/settings/register-settings.php:1405
1277
- #: includes/admin/settings/register-settings.php:1410
1278
- #: includes/admin/settings/register-settings.php:1414
1279
- #: includes/admin/settings/register-settings.php:1419
1280
- #: includes/admin/settings/register-settings.php:1422
1281
- #: includes/admin/settings/register-settings.php:1437
1282
  #: includes/admin/tools.php:68
1283
  msgid "General"
1284
  msgstr ""
@@ -1787,7 +1787,7 @@ msgid ""
1787
  msgstr ""
1788
 
1789
  #: includes/admin/downloads/metabox.php:1038
1790
- #: includes/admin/settings/register-settings.php:763
1791
  #: includes/admin/thickbox.php:59 includes/checkout/template.php:1005
1792
  #: includes/shortcodes.php:49 includes/template-functions.php:78
1793
  msgid "Purchase"
@@ -1828,13 +1828,13 @@ msgid ""
1828
  msgstr ""
1829
 
1830
  #: includes/admin/downloads/metabox.php:1112
1831
- #: includes/admin/settings/register-settings.php:777
1832
  #: includes/admin/thickbox.php:101
1833
  msgid "Add to Cart"
1834
  msgstr ""
1835
 
1836
  #: includes/admin/downloads/metabox.php:1113
1837
- #: includes/admin/settings/register-settings.php:791 includes/shortcodes.php:47
1838
  #: includes/template-functions.php:78
1839
  msgid "Buy Now"
1840
  msgstr ""
@@ -2284,7 +2284,7 @@ msgstr[0] ""
2284
  msgstr[1] ""
2285
 
2286
  #: includes/admin/payments/view-order-details.php:152
2287
- #: includes/admin/settings/register-settings.php:739
2288
  msgid "None"
2289
  msgstr ""
2290
 
@@ -2654,7 +2654,7 @@ msgstr ""
2654
 
2655
  #: includes/admin/reporting/class-export-payments.php:68
2656
  #: includes/admin/reporting/export/class-batch-export-payments.php:49
2657
- #: includes/admin/settings/register-settings.php:2213
2658
  #: includes/admin/tools.php:713 templates/shortcode-profile-editor.php:162
2659
  msgid "Country"
2660
  msgstr ""
@@ -2708,9 +2708,9 @@ msgstr ""
2708
 
2709
  #: includes/admin/reporting/class-export.php:164
2710
  #: includes/admin/reporting/export/class-batch-export.php:131
2711
- #: includes/admin/tools/class-edd-tools-recount-all-stats.php:205
2712
  #: includes/admin/tools/class-edd-tools-recount-customer-stats.php:191
2713
- #: includes/admin/tools/class-edd-tools-recount-download-stats.php:223
2714
  #: includes/admin/tools/class-edd-tools-recount-store-earnings.php:153
2715
  #: includes/admin/tools/class-edd-tools-reset-stats.php:179
2716
  msgid "You do not have permission to export data."
@@ -2870,7 +2870,7 @@ msgid "Files"
2870
  msgstr ""
2871
 
2872
  #: includes/admin/reporting/export/class-batch-export-downloads.php:53
2873
- #: includes/admin/settings/register-settings.php:815
2874
  #: includes/admin/tools.php:896
2875
  msgid "File Download Limit"
2876
  msgstr ""
@@ -2919,7 +2919,7 @@ msgstr ""
2919
 
2920
  #: includes/admin/reporting/export/class-batch-export-payments.php:62
2921
  #: includes/admin/settings/register-settings.php:355
2922
- #: includes/admin/settings/register-settings.php:1406
2923
  msgid "Currency"
2924
  msgstr ""
2925
 
@@ -3051,7 +3051,7 @@ msgid "Refresh Reports"
3051
  msgstr ""
3052
 
3053
  #: includes/admin/reporting/logs.php:144
3054
- #: includes/admin/settings/register-settings.php:1432
3055
  #: includes/privacy-functions.php:544
3056
  msgid "File Downloads"
3057
  msgstr ""
@@ -3082,7 +3082,7 @@ msgstr ""
3082
 
3083
  #: includes/admin/reporting/reports.php:59
3084
  #: includes/admin/settings/contextual-help.php:71
3085
- #: includes/admin/settings/register-settings.php:1353
3086
  msgid "Taxes"
3087
  msgstr ""
3088
 
@@ -3229,7 +3229,7 @@ msgstr ""
3229
 
3230
  #: includes/admin/settings/contextual-help.php:48
3231
  #: includes/admin/settings/register-settings.php:423
3232
- #: includes/admin/settings/register-settings.php:1350
3233
  msgid "Payment Gateways"
3234
  msgstr ""
3235
 
@@ -3258,7 +3258,7 @@ msgid ""
3258
  msgstr ""
3259
 
3260
  #: includes/admin/settings/contextual-help.php:57
3261
- #: includes/admin/settings/register-settings.php:1351
3262
  msgid "Emails"
3263
  msgstr ""
3264
 
@@ -3278,7 +3278,7 @@ msgid ""
3278
  msgstr ""
3279
 
3280
  #: includes/admin/settings/contextual-help.php:65
3281
- #: includes/admin/settings/register-settings.php:1352
3282
  msgid "Styles"
3283
  msgstr ""
3284
 
@@ -3361,7 +3361,7 @@ msgid ""
3361
  msgstr ""
3362
 
3363
  #: includes/admin/settings/contextual-help.php:93
3364
- #: includes/admin/settings/register-settings.php:1429
3365
  msgid "Miscellaneous"
3366
  msgstr ""
3367
 
@@ -3559,7 +3559,7 @@ msgid "The symbol (usually , or .) to separate decimal points."
3559
  msgstr ""
3560
 
3561
  #: includes/admin/settings/register-settings.php:391
3562
- #: includes/admin/settings/register-settings.php:1407
3563
  msgid "API"
3564
  msgstr ""
3565
 
@@ -3693,223 +3693,247 @@ msgid ""
3693
  "\"reply-to\" address."
3694
  msgstr ""
3695
 
3696
- #: includes/admin/settings/register-settings.php:515
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3697
  msgid "Purchase Email Subject"
3698
  msgstr ""
3699
 
3700
- #: includes/admin/settings/register-settings.php:516
3701
  msgid "Enter the subject line for the purchase receipt email."
3702
  msgstr ""
3703
 
3704
- #: includes/admin/settings/register-settings.php:518
3705
- #: includes/admin/settings/register-settings.php:525
3706
  #: includes/admin/settings/register-settings.php:529
 
 
3707
  #: includes/emails/functions.php:45 includes/emails/functions.php:49
3708
  #: includes/emails/functions.php:87 includes/emails/functions.php:91
3709
  #: includes/emails/template.php:141
3710
  msgid "Purchase Receipt"
3711
  msgstr ""
3712
 
3713
- #: includes/admin/settings/register-settings.php:522
3714
  msgid "Purchase Email Heading"
3715
  msgstr ""
3716
 
3717
- #: includes/admin/settings/register-settings.php:523
3718
  msgid "Enter the heading for the purchase receipt email."
3719
  msgstr ""
3720
 
3721
- #: includes/admin/settings/register-settings.php:530
3722
  msgid ""
3723
  "Enter the text that is sent as purchase receipt email to users after "
3724
  "completion of a successful purchase. HTML is accepted. Available template "
3725
  "tags:"
3726
  msgstr ""
3727
 
3728
- #: includes/admin/settings/register-settings.php:532
3729
  #: includes/emails/template.php:159
3730
  msgid "Dear"
3731
  msgstr ""
3732
 
3733
- #: includes/admin/settings/register-settings.php:532
3734
  #: includes/emails/template.php:160
3735
  msgid ""
3736
  "Thank you for your purchase. Please click on the link(s) below to download "
3737
  "your files."
3738
  msgstr ""
3739
 
3740
- #: includes/admin/settings/register-settings.php:538
3741
  msgid "Sale Notification Subject"
3742
  msgstr ""
3743
 
3744
- #: includes/admin/settings/register-settings.php:539
3745
  msgid "Enter the subject line for the sale notification email."
3746
  msgstr ""
3747
 
3748
- #: includes/admin/settings/register-settings.php:545
3749
  msgid "Sale Notification Heading"
3750
  msgstr ""
3751
 
3752
- #: includes/admin/settings/register-settings.php:546
3753
  msgid "Enter the heading for the sale notification email."
3754
  msgstr ""
3755
 
3756
- #: includes/admin/settings/register-settings.php:548
3757
  #: includes/emails/functions.php:140
3758
  msgid "New Sale!"
3759
  msgstr ""
3760
 
3761
- #: includes/admin/settings/register-settings.php:552
3762
  msgid "Sale Notification"
3763
  msgstr ""
3764
 
3765
- #: includes/admin/settings/register-settings.php:553
3766
  msgid ""
3767
  "Enter the text that is sent as sale notification email after completion of "
3768
  "a purchase. HTML is accepted. Available template tags:"
3769
  msgstr ""
3770
 
3771
- #: includes/admin/settings/register-settings.php:559
3772
  msgid "Sale Notification Emails"
3773
  msgstr ""
3774
 
3775
- #: includes/admin/settings/register-settings.php:560
3776
  msgid ""
3777
  "Enter the email address(es) that should receive a notification anytime a "
3778
  "sale is made, one per line."
3779
  msgstr ""
3780
 
3781
- #: includes/admin/settings/register-settings.php:566
3782
  msgid "Disable Admin Notifications"
3783
  msgstr ""
3784
 
3785
- #: includes/admin/settings/register-settings.php:567
3786
  msgid "Check this box if you do not want to receive sales notification emails."
3787
  msgstr ""
3788
 
3789
- #: includes/admin/settings/register-settings.php:579
3790
  msgid "Disable Styles"
3791
  msgstr ""
3792
 
3793
- #: includes/admin/settings/register-settings.php:580
3794
  msgid ""
3795
  "Check this to disable all included styling of buttons, checkout fields, and "
3796
  "all other elements."
3797
  msgstr ""
3798
 
3799
- #: includes/admin/settings/register-settings.php:582
3800
  msgid "Disabling Styles"
3801
  msgstr ""
3802
 
3803
- #: includes/admin/settings/register-settings.php:583
3804
  msgid ""
3805
  "If your theme has a complete custom CSS file for Easy Digital Downloads, "
3806
  "you may wish to disable our default styles. This is not recommended unless "
3807
  "you're sure your theme has a complete custom CSS."
3808
  msgstr ""
3809
 
3810
- #: includes/admin/settings/register-settings.php:587
3811
  msgid "Buttons"
3812
  msgstr ""
3813
 
3814
- #: includes/admin/settings/register-settings.php:588
3815
  msgid "Options for add to cart and purchase buttons"
3816
  msgstr ""
3817
 
3818
- #: includes/admin/settings/register-settings.php:593
3819
  msgid "Default Button Style"
3820
  msgstr ""
3821
 
3822
- #: includes/admin/settings/register-settings.php:594
3823
  msgid "Choose the style you want to use for the buttons."
3824
  msgstr ""
3825
 
3826
- #: includes/admin/settings/register-settings.php:600
3827
  msgid "Default Button Color"
3828
  msgstr ""
3829
 
3830
- #: includes/admin/settings/register-settings.php:601
3831
  msgid "Choose the color you want to use for the buttons."
3832
  msgstr ""
3833
 
3834
- #: includes/admin/settings/register-settings.php:614
3835
  msgid "Need help?"
3836
  msgstr ""
3837
 
3838
- #: includes/admin/settings/register-settings.php:615
3839
  msgid ""
3840
  "Visit the <a href=\"%s\" target=\"_blank\">Tax setup documentation</a> for "
3841
  "further information. If you need VAT support, there are options listed on "
3842
  "the documentation page."
3843
  msgstr ""
3844
 
3845
- #: includes/admin/settings/register-settings.php:620
3846
  msgid "Enable Taxes"
3847
  msgstr ""
3848
 
3849
- #: includes/admin/settings/register-settings.php:621
3850
  msgid "Check this to enable taxes on purchases."
3851
  msgstr ""
3852
 
3853
- #: includes/admin/settings/register-settings.php:623
3854
  msgid "Enabling Taxes"
3855
  msgstr ""
3856
 
3857
- #: includes/admin/settings/register-settings.php:624
3858
  msgid ""
3859
  "With taxes enabled, Easy Digital Downloads will use the rules below to "
3860
  "charge tax to customers. With taxes enabled, customers are required to "
3861
  "input their address on checkout so that taxes can be properly calculated."
3862
  msgstr ""
3863
 
3864
- #: includes/admin/settings/register-settings.php:628
3865
  msgid "Tax Rates"
3866
  msgstr ""
3867
 
3868
- #: includes/admin/settings/register-settings.php:629
3869
  msgid ""
3870
  "Add tax rates for specific regions. Enter a percentage, such as 6.5 for "
3871
  "6.5%."
3872
  msgstr ""
3873
 
3874
- #: includes/admin/settings/register-settings.php:634
3875
- #: includes/admin/settings/register-settings.php:638
3876
  msgid "Fallback Tax Rate"
3877
  msgstr ""
3878
 
3879
- #: includes/admin/settings/register-settings.php:635
3880
  msgid ""
3881
  "Customers not in a specific rate will be charged this tax rate. Enter a "
3882
  "percentage, such as 6.5 for 6.5%. "
3883
  msgstr ""
3884
 
3885
- #: includes/admin/settings/register-settings.php:639
3886
  msgid ""
3887
  "If the customer's address fails to meet the above tax rules, you can define "
3888
  "a `default` tax rate to be applied to all other customers. Enter a "
3889
  "percentage, such as 6.5 for 6.5%."
3890
  msgstr ""
3891
 
3892
- #: includes/admin/settings/register-settings.php:643
3893
  msgid "Prices entered with tax"
3894
  msgstr ""
3895
 
3896
- #: includes/admin/settings/register-settings.php:644
3897
  msgid "This option affects how you enter prices."
3898
  msgstr ""
3899
 
3900
- #: includes/admin/settings/register-settings.php:648
3901
  msgid "Yes, I will enter prices inclusive of tax"
3902
  msgstr ""
3903
 
3904
- #: includes/admin/settings/register-settings.php:649
3905
  msgid "No, I will enter prices exclusive of tax"
3906
  msgstr ""
3907
 
3908
- #: includes/admin/settings/register-settings.php:651
3909
  msgid "Prices Inclusive of Tax"
3910
  msgstr ""
3911
 
3912
- #: includes/admin/settings/register-settings.php:652
3913
  msgid ""
3914
  "When using prices inclusive of tax, you will be entering your prices as the "
3915
  "total amount you want a customer to pay for the download, including tax. "
@@ -3917,217 +3941,217 @@ msgid ""
3917
  "for the defined total price."
3918
  msgstr ""
3919
 
3920
- #: includes/admin/settings/register-settings.php:656
3921
  msgid "Display Tax Rate on Prices"
3922
  msgstr ""
3923
 
3924
- #: includes/admin/settings/register-settings.php:657
3925
  msgid "Some countries require a notice when product prices include tax."
3926
  msgstr ""
3927
 
3928
- #: includes/admin/settings/register-settings.php:662
3929
  msgid "Display during checkout"
3930
  msgstr ""
3931
 
3932
- #: includes/admin/settings/register-settings.php:663
3933
  msgid "Should prices on the checkout page be shown with or without tax?"
3934
  msgstr ""
3935
 
3936
- #: includes/admin/settings/register-settings.php:667
3937
  msgid "Including tax"
3938
  msgstr ""
3939
 
3940
- #: includes/admin/settings/register-settings.php:668
3941
  msgid "Excluding tax"
3942
  msgstr ""
3943
 
3944
- #: includes/admin/settings/register-settings.php:670
3945
  msgid "Taxes Displayed for Products on Checkout"
3946
  msgstr ""
3947
 
3948
- #: includes/admin/settings/register-settings.php:671
3949
  msgid ""
3950
  "This option will determine whether the product price displays with or "
3951
  "without tax on checkout."
3952
  msgstr ""
3953
 
3954
- #: includes/admin/settings/register-settings.php:689
3955
- #: includes/admin/settings/register-settings.php:692
3956
  msgid "Redirect to Checkout"
3957
  msgstr ""
3958
 
3959
- #: includes/admin/settings/register-settings.php:690
3960
  msgid "Immediately redirect to checkout after adding an item to the cart?"
3961
  msgstr ""
3962
 
3963
- #: includes/admin/settings/register-settings.php:693
3964
  msgid ""
3965
  "When enabled, once an item has been added to the cart, the customer will be "
3966
  "redirected directly to your checkout page. This is useful for stores that "
3967
  "sell single items."
3968
  msgstr ""
3969
 
3970
- #: includes/admin/settings/register-settings.php:697
3971
  msgid "Cart Item Quantities"
3972
  msgstr ""
3973
 
3974
- #: includes/admin/settings/register-settings.php:698
3975
  msgid ""
3976
  "Allow quantities to be adjusted when adding %s to the cart, and while "
3977
  "viewing the checkout cart."
3978
  msgstr ""
3979
 
3980
- #: includes/admin/settings/register-settings.php:703
3981
  msgid "Debug Mode"
3982
  msgstr ""
3983
 
3984
- #: includes/admin/settings/register-settings.php:704
3985
  msgid ""
3986
  "Check this box to enable debug mode. When enabled, debug messages will be "
3987
  "logged and shown in Downloads &rarr; Tools &rarr; Debug Log."
3988
  msgstr ""
3989
 
3990
- #: includes/admin/settings/register-settings.php:709
3991
  msgid "Remove Data on Uninstall?"
3992
  msgstr ""
3993
 
3994
- #: includes/admin/settings/register-settings.php:710
3995
  msgid ""
3996
  "Check this box if you would like EDD to completely remove all of its data "
3997
  "when the plugin is deleted."
3998
  msgstr ""
3999
 
4000
- #: includes/admin/settings/register-settings.php:717
4001
  msgid "Enforce SSL on Checkout"
4002
  msgstr ""
4003
 
4004
- #: includes/admin/settings/register-settings.php:718
4005
  msgid ""
4006
  "Check this to force users to be redirected to the secure checkout page. You "
4007
  "must have an SSL certificate installed to use this option."
4008
  msgstr ""
4009
 
4010
- #: includes/admin/settings/register-settings.php:723
4011
- #: includes/admin/settings/register-settings.php:726
4012
  msgid "Require Login"
4013
  msgstr ""
4014
 
4015
- #: includes/admin/settings/register-settings.php:724
4016
  msgid "Require that users be logged-in to purchase files."
4017
  msgstr ""
4018
 
4019
- #: includes/admin/settings/register-settings.php:727
4020
  msgid ""
4021
  "You can require that customers create and login to user accounts prior to "
4022
  "purchasing from your store by enabling this option. When unchecked, users "
4023
  "can purchase without being logged in by using their name and email address."
4024
  msgstr ""
4025
 
4026
- #: includes/admin/settings/register-settings.php:731
4027
  msgid "Show Register / Login Form?"
4028
  msgstr ""
4029
 
4030
- #: includes/admin/settings/register-settings.php:732
4031
  msgid ""
4032
  "Display the registration and login forms on the checkout page for "
4033
  "non-logged-in users."
4034
  msgstr ""
4035
 
4036
- #: includes/admin/settings/register-settings.php:736
4037
  msgid "Registration and Login Forms"
4038
  msgstr ""
4039
 
4040
- #: includes/admin/settings/register-settings.php:737
4041
  msgid "Registration Form Only"
4042
  msgstr ""
4043
 
4044
- #: includes/admin/settings/register-settings.php:738
4045
  msgid "Login Form Only"
4046
  msgstr ""
4047
 
4048
- #: includes/admin/settings/register-settings.php:744
4049
  msgid "Multiple Discounts"
4050
  msgstr ""
4051
 
4052
- #: includes/admin/settings/register-settings.php:745
4053
  msgid "Allow customers to use multiple discounts on the same purchase?"
4054
  msgstr ""
4055
 
4056
- #: includes/admin/settings/register-settings.php:750
4057
  msgid "Enable Cart Saving"
4058
  msgstr ""
4059
 
4060
- #: includes/admin/settings/register-settings.php:751
4061
  msgid "Check this to enable cart saving on the checkout."
4062
  msgstr ""
4063
 
4064
- #: includes/admin/settings/register-settings.php:753
4065
  msgid "Cart Saving"
4066
  msgstr ""
4067
 
4068
- #: includes/admin/settings/register-settings.php:754
4069
  msgid ""
4070
  "Cart saving allows shoppers to create a temporary link to their current "
4071
  "shopping cart so they can come back to it later, or share it with someone."
4072
  msgstr ""
4073
 
4074
- #: includes/admin/settings/register-settings.php:760
4075
  msgid "Complete Purchase Text"
4076
  msgstr ""
4077
 
4078
- #: includes/admin/settings/register-settings.php:761
4079
  msgid "The button label for completing a purchase."
4080
  msgstr ""
4081
 
4082
- #: includes/admin/settings/register-settings.php:767
4083
  msgid "Complete Free Purchase Text"
4084
  msgstr ""
4085
 
4086
- #: includes/admin/settings/register-settings.php:768
4087
  msgid "The button label for completing a free purchase."
4088
  msgstr ""
4089
 
4090
- #: includes/admin/settings/register-settings.php:770
4091
  #: includes/checkout/template.php:1008
4092
  msgid "Free Download"
4093
  msgstr ""
4094
 
4095
- #: includes/admin/settings/register-settings.php:774
4096
  msgid "Add to Cart Text"
4097
  msgstr ""
4098
 
4099
- #: includes/admin/settings/register-settings.php:775
4100
  msgid "Text shown on the Add to Cart Buttons."
4101
  msgstr ""
4102
 
4103
- #: includes/admin/settings/register-settings.php:781
4104
  msgid "Checkout Button Text"
4105
  msgstr ""
4106
 
4107
- #: includes/admin/settings/register-settings.php:782
4108
  msgid ""
4109
  "Text shown on the Add to Cart Button when the product is already in the "
4110
  "cart."
4111
  msgstr ""
4112
 
4113
- #: includes/admin/settings/register-settings.php:788
4114
  msgid "Buy Now Text"
4115
  msgstr ""
4116
 
4117
- #: includes/admin/settings/register-settings.php:789
4118
  msgid "Text shown on the Buy Now Buttons."
4119
  msgstr ""
4120
 
4121
- #: includes/admin/settings/register-settings.php:797
4122
- #: includes/admin/settings/register-settings.php:800
4123
  msgid "Download Method"
4124
  msgstr ""
4125
 
4126
- #: includes/admin/settings/register-settings.php:798
4127
  msgid "Select the file download method. Note, not all methods work on all servers."
4128
  msgstr ""
4129
 
4130
- #: includes/admin/settings/register-settings.php:801
4131
  msgid ""
4132
  "Due to its consistency in multiple platforms and better file protection, "
4133
  "'forced' is the default method. Because Easy Digital Downloads uses PHP to "
@@ -4138,35 +4162,35 @@ msgid ""
4138
  "method can help resolve this."
4139
  msgstr ""
4140
 
4141
- #: includes/admin/settings/register-settings.php:803
4142
  msgid "Forced"
4143
  msgstr ""
4144
 
4145
- #: includes/admin/settings/register-settings.php:804
4146
  msgid "Redirect"
4147
  msgstr ""
4148
 
4149
- #: includes/admin/settings/register-settings.php:809
4150
  msgid "Symlink File Downloads?"
4151
  msgstr ""
4152
 
4153
- #: includes/admin/settings/register-settings.php:810
4154
  msgid ""
4155
  "Check this if you are delivering really large files or having problems with "
4156
  "file downloads completing."
4157
  msgstr ""
4158
 
4159
- #: includes/admin/settings/register-settings.php:816
4160
  msgid ""
4161
  "The maximum number of times files can be downloaded for purchases. Can be "
4162
  "overwritten for each %s."
4163
  msgstr ""
4164
 
4165
- #: includes/admin/settings/register-settings.php:819
4166
  msgid "File Download Limits"
4167
  msgstr ""
4168
 
4169
- #: includes/admin/settings/register-settings.php:820
4170
  msgid ""
4171
  "Set the global default for the number of times a customer can download "
4172
  "items they purchase. Using a value of 0 is unlimited. This can be defined "
@@ -4174,18 +4198,18 @@ msgid ""
4174
  "individual purchase."
4175
  msgstr ""
4176
 
4177
- #: includes/admin/settings/register-settings.php:824
4178
- #: includes/admin/settings/register-settings.php:826
4179
  msgid "Download Link Expiration"
4180
  msgstr ""
4181
 
4182
- #: includes/admin/settings/register-settings.php:825
4183
  msgid ""
4184
  "How long should download links be valid for? Default is 24 hours from the "
4185
  "time they are generated. Enter a time in hours."
4186
  msgstr ""
4187
 
4188
- #: includes/admin/settings/register-settings.php:827
4189
  msgid ""
4190
  "When a customer receives a link to their downloads via email, in their "
4191
  "receipt, or in their purchase history, the link will only be valid for the "
@@ -4194,130 +4218,130 @@ msgid ""
4194
  "customer."
4195
  msgstr ""
4196
 
4197
- #: includes/admin/settings/register-settings.php:835
4198
  msgid "Disable Redownload?"
4199
  msgstr ""
4200
 
4201
- #: includes/admin/settings/register-settings.php:836
4202
  msgid ""
4203
  "Check this if you do not want to allow users to redownload items from their "
4204
  "purchase history."
4205
  msgstr ""
4206
 
4207
- #: includes/admin/settings/register-settings.php:843
4208
  msgid "Enable SKU Entry"
4209
  msgstr ""
4210
 
4211
- #: includes/admin/settings/register-settings.php:844
4212
  msgid ""
4213
  "Check this box to allow entry of product SKUs. SKUs will be shown on "
4214
  "purchase receipt and exported purchase histories."
4215
  msgstr ""
4216
 
4217
- #: includes/admin/settings/register-settings.php:849
4218
  msgid "Sequential Order Numbers"
4219
  msgstr ""
4220
 
4221
- #: includes/admin/settings/register-settings.php:850
4222
  msgid "Check this box to enable sequential order numbers."
4223
  msgstr ""
4224
 
4225
- #: includes/admin/settings/register-settings.php:855
4226
  msgid "Sequential Starting Number"
4227
  msgstr ""
4228
 
4229
- #: includes/admin/settings/register-settings.php:856
4230
  msgid "The number at which the sequence should begin."
4231
  msgstr ""
4232
 
4233
- #: includes/admin/settings/register-settings.php:863
4234
  msgid "Sequential Number Prefix"
4235
  msgstr ""
4236
 
4237
- #: includes/admin/settings/register-settings.php:864
4238
  msgid "A prefix to prepend to all sequential order numbers."
4239
  msgstr ""
4240
 
4241
- #: includes/admin/settings/register-settings.php:869
4242
  msgid "Sequential Number Postfix"
4243
  msgstr ""
4244
 
4245
- #: includes/admin/settings/register-settings.php:870
4246
  msgid "A postfix to append to all sequential order numbers."
4247
  msgstr ""
4248
 
4249
- #: includes/admin/settings/register-settings.php:877
4250
  msgid "Agree to Terms"
4251
  msgstr ""
4252
 
4253
- #: includes/admin/settings/register-settings.php:878
4254
  msgid ""
4255
  "Check this to show an agree to terms on checkout that users must agree to "
4256
  "before purchasing."
4257
  msgstr ""
4258
 
4259
- #: includes/admin/settings/register-settings.php:883
4260
  msgid "Agree to Terms Label"
4261
  msgstr ""
4262
 
4263
- #: includes/admin/settings/register-settings.php:884
4264
  msgid "Label shown next to the agree to terms checkbox."
4265
  msgstr ""
4266
 
4267
- #: includes/admin/settings/register-settings.php:890
4268
  msgid "Agreement Text"
4269
  msgstr ""
4270
 
4271
- #: includes/admin/settings/register-settings.php:891
4272
  msgid "If Agree to Terms is checked, enter the agreement terms here."
4273
  msgstr ""
4274
 
4275
- #: includes/admin/settings/register-settings.php:902
4276
  msgid "Agree to Privacy Policy"
4277
  msgstr ""
4278
 
4279
- #: includes/admin/settings/register-settings.php:903
4280
  msgid ""
4281
  "Check this to show an agree to Privacy Policy on checkout that users must "
4282
  "agree to before purchasing."
4283
  msgstr ""
4284
 
4285
- #: includes/admin/settings/register-settings.php:908
4286
  msgid "Agree to Privacy Policy Label"
4287
  msgstr ""
4288
 
4289
- #: includes/admin/settings/register-settings.php:909
4290
  msgid "Label shown next to the agree to Privacy Policy checkbox."
4291
  msgstr ""
4292
 
4293
- #: includes/admin/settings/register-settings.php:915
4294
  msgid "Show the Privacy Policy on checkout"
4295
  msgstr ""
4296
 
4297
- #: includes/admin/settings/register-settings.php:916
4298
  msgid "Display your Privacy Policy on checkout."
4299
  msgstr ""
4300
 
4301
- #: includes/admin/settings/register-settings.php:916
4302
  msgid "Set your Privacy Policy here"
4303
  msgstr ""
4304
 
4305
- #: includes/admin/settings/register-settings.php:929
4306
  msgid "Payment Status Actions"
4307
  msgstr ""
4308
 
4309
- #: includes/admin/settings/register-settings.php:931
4310
  msgid ""
4311
  "When a user requests to be anonymized or removed from a site, these are the "
4312
  "actions that will be taken on payments associated with their customer, by "
4313
  "status."
4314
  msgstr ""
4315
 
4316
- #: includes/admin/settings/register-settings.php:932
4317
  msgid "What settings should I use?"
4318
  msgstr ""
4319
 
4320
- #: includes/admin/settings/register-settings.php:933
4321
  msgid ""
4322
  "By default, Easy Digital Downloads sets suggested actions based on the "
4323
  "Payment Status. These are purely recommendations, and you may need to "
@@ -4325,222 +4349,239 @@ msgid ""
4325
  "leave these settings as is."
4326
  msgstr ""
4327
 
4328
- #: includes/admin/settings/register-settings.php:944
4329
  msgid "No Action"
4330
  msgstr ""
4331
 
4332
- #: includes/admin/settings/register-settings.php:945
4333
  msgid "Anonymize"
4334
  msgstr ""
4335
 
4336
- #: includes/admin/settings/register-settings.php:985
4337
  msgid "Buy Now Disabled"
4338
  msgstr ""
4339
 
4340
- #: includes/admin/settings/register-settings.php:986
4341
  msgid ""
4342
  "Buy Now buttons are only available for stores that have a single supported "
4343
  "gateway active and that do not use taxes."
4344
  msgstr ""
4345
 
4346
- #: includes/admin/settings/register-settings.php:1089
4347
  msgid "Settings updated."
4348
  msgstr ""
4349
 
4350
- #: includes/admin/settings/register-settings.php:1242
4351
  msgid "Error setting default gateway. No gateways are enabled."
4352
  msgstr ""
4353
 
4354
- #: includes/admin/settings/register-settings.php:1255
4355
  msgid "%s could not be set as the default gateway. It must first be enabled."
4356
  msgstr ""
4357
 
4358
- #: includes/admin/settings/register-settings.php:1354
4359
  msgid "Privacy"
4360
  msgstr ""
4361
 
4362
- #: includes/admin/settings/register-settings.php:1360
4363
  msgid "Licenses"
4364
  msgstr ""
4365
 
4366
- #: includes/admin/settings/register-settings.php:1363
4367
  msgid "Misc"
4368
  msgstr ""
4369
 
4370
- #: includes/admin/settings/register-settings.php:1411
4371
  #: includes/gateways/functions.php:25 includes/gateways/paypal-standard.php:33
4372
  msgid "PayPal Standard"
4373
  msgstr ""
4374
 
4375
- #: includes/admin/settings/register-settings.php:1415
4376
  msgid "Purchase Receipts"
4377
  msgstr ""
4378
 
4379
- #: includes/admin/settings/register-settings.php:1416
4380
  msgid "New Sale Notifications"
4381
  msgstr ""
4382
 
4383
- #: includes/admin/settings/register-settings.php:1425
4384
  msgid "Main"
4385
  msgstr ""
4386
 
4387
- #: includes/admin/settings/register-settings.php:1430 includes/install.php:92
4388
  #: templates/widget-cart-checkout.php:6 templates/widget-cart-empty.php:7
4389
  msgid "Checkout"
4390
  msgstr ""
4391
 
4392
- #: includes/admin/settings/register-settings.php:1431
4393
  msgid "Button Text"
4394
  msgstr ""
4395
 
4396
- #: includes/admin/settings/register-settings.php:1433
4397
  msgid "Accounting"
4398
  msgstr ""
4399
 
4400
- #: includes/admin/settings/register-settings.php:1434
4401
  msgid "Terms of Agreement"
4402
  msgstr ""
4403
 
4404
- #: includes/admin/settings/register-settings.php:1438
4405
  msgid "Export & Erase"
4406
  msgstr ""
4407
 
4408
- #: includes/admin/settings/register-settings.php:1680
4409
  msgid ""
4410
  "Don't see what you need? More Payment Gateway options are available <a "
4411
  "href=\"%s\">here</a>."
4412
  msgstr ""
4413
 
4414
- #: includes/admin/settings/register-settings.php:1901
4415
  msgid "The callback function used for the %s setting is missing."
4416
  msgstr ""
4417
 
4418
- #: includes/admin/settings/register-settings.php:2063
4419
  msgid "Upload File"
4420
  msgstr ""
4421
 
4422
- #: includes/admin/settings/register-settings.php:2156
4423
  msgid ""
4424
  "<a href=\"https://sendwp.com/account/\" target=\"_blank\" rel=\"noopener "
4425
  "noreferrer\">Click here</a> to visit your account."
4426
  msgstr ""
4427
 
4428
- #: includes/admin/settings/register-settings.php:2175
4429
  msgid "Disconnect SendWP"
4430
  msgstr ""
4431
 
4432
- #: includes/admin/settings/register-settings.php:2184
4433
  msgid "Connect SendWP"
4434
  msgstr ""
4435
 
4436
- #: includes/admin/settings/register-settings.php:2215
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4437
  msgid "Country Wide"
4438
  msgstr ""
4439
 
4440
- #: includes/admin/settings/register-settings.php:2216
4441
  msgid "Rate"
4442
  msgstr ""
4443
 
4444
- #: includes/admin/settings/register-settings.php:2216
4445
  msgid ""
4446
  "<strong>Regional tax rates: </strong>When a customer enters an address on "
4447
  "checkout that matches the specified region for this tax rate, the cart tax "
4448
  "will adjust automatically. Enter a percentage, such as 6.5 for 6.5%."
4449
  msgstr ""
4450
 
4451
- #: includes/admin/settings/register-settings.php:2233
4452
- #: includes/admin/settings/register-settings.php:2281
4453
  msgid "Choose a country"
4454
  msgstr ""
4455
 
4456
- #: includes/admin/settings/register-settings.php:2251
4457
  msgid "Choose a state"
4458
  msgstr ""
4459
 
4460
- #: includes/admin/settings/register-settings.php:2263
4461
- #: includes/admin/settings/register-settings.php:2294
4462
  msgid "Apply to whole country"
4463
  msgstr ""
4464
 
4465
- #: includes/admin/settings/register-settings.php:2266
4466
- #: includes/admin/settings/register-settings.php:2297
4467
  msgid "Remove Rate"
4468
  msgstr ""
4469
 
4470
- #: includes/admin/settings/register-settings.php:2302
4471
  msgid "Add Tax Rate"
4472
  msgstr ""
4473
 
4474
- #: includes/admin/settings/register-settings.php:2355
4475
  msgid ""
4476
  "Your license key expired on %s. Please <a href=\"%s\" "
4477
  "target=\"_blank\">renew your license key</a>."
4478
  msgstr ""
4479
 
4480
- #: includes/admin/settings/register-settings.php:2368
4481
  msgid ""
4482
  "Your license key has been disabled. Please <a href=\"%s\" "
4483
  "target=\"_blank\">contact support</a> for more information."
4484
  msgstr ""
4485
 
4486
- #: includes/admin/settings/register-settings.php:2380
4487
  msgid ""
4488
  "Invalid license. Please <a href=\"%s\" target=\"_blank\">visit your account "
4489
  "page</a> and verify it."
4490
  msgstr ""
4491
 
4492
- #: includes/admin/settings/register-settings.php:2393
4493
  msgid ""
4494
  "Your %s is not active for this URL. Please <a href=\"%s\" "
4495
  "target=\"_blank\">visit your account page</a> to manage your license key "
4496
  "URLs."
4497
  msgstr ""
4498
 
4499
- #: includes/admin/settings/register-settings.php:2405
4500
  msgid "This appears to be an invalid license key for %s."
4501
  msgstr ""
4502
 
4503
- #: includes/admin/settings/register-settings.php:2414
4504
  msgid ""
4505
  "Your license key has reached its activation limit. <a href=\"%s\">View "
4506
  "possible upgrades</a> now."
4507
  msgstr ""
4508
 
4509
- #: includes/admin/settings/register-settings.php:2423
4510
  msgid ""
4511
  "The key you entered belongs to a bundle, please use the product specific "
4512
  "license key."
4513
  msgstr ""
4514
 
4515
- #: includes/admin/settings/register-settings.php:2431
4516
  msgid "unknown_error"
4517
  msgstr ""
4518
 
4519
- #: includes/admin/settings/register-settings.php:2432
4520
  msgid ""
4521
  "There was an error with this license key: %s. Please <a href=\"%s\">contact "
4522
  "our support team</a>."
4523
  msgstr ""
4524
 
4525
- #: includes/admin/settings/register-settings.php:2452
4526
  msgid "License key never expires."
4527
  msgstr ""
4528
 
4529
- #: includes/admin/settings/register-settings.php:2459
4530
  msgid ""
4531
  "Your license key expires soon! It expires on %s. <a href=\"%s\" "
4532
  "target=\"_blank\">Renew your license key</a>."
4533
  msgstr ""
4534
 
4535
- #: includes/admin/settings/register-settings.php:2469
4536
  msgid "Your license key expires on %s."
4537
  msgstr ""
4538
 
4539
- #: includes/admin/settings/register-settings.php:2487
4540
  msgid "To receive updates, please enter your valid %s license key."
4541
  msgstr ""
4542
 
4543
- #: includes/admin/settings/register-settings.php:2500
4544
  msgid "Deactivate License"
4545
  msgstr ""
4546
 
@@ -4576,7 +4617,7 @@ msgstr ""
4576
  msgid "Link text . . ."
4577
  msgstr ""
4578
 
4579
- #: includes/admin/tools/class-edd-tools-recount-all-stats.php:220
4580
  msgid "Earnings and sales stats successfully recounted."
4581
  msgstr ""
4582
 
@@ -4585,7 +4626,7 @@ msgstr ""
4585
  msgid "Customer stats successfully recounted."
4586
  msgstr ""
4587
 
4588
- #: includes/admin/tools/class-edd-tools-recount-download-stats.php:235
4589
  msgid "Earnings and sales stats successfully recounted for %s."
4590
  msgstr ""
4591
 
@@ -6436,7 +6477,7 @@ msgstr ""
6436
  msgid "Sorry but you have hit your download limit for this file."
6437
  msgstr ""
6438
 
6439
- #: includes/deprecated-functions.php:532 includes/download-functions.php:1259
6440
  msgid "Sorry but your download link has expired."
6441
  msgstr ""
6442
 
@@ -6525,6 +6566,8 @@ msgid "Thank you"
6525
  msgstr ""
6526
 
6527
  #: includes/emails/functions.php:294 includes/emails/functions.php:368
 
 
6528
  msgid "You do not have permission to do this."
6529
  msgstr ""
6530
 
@@ -6532,6 +6575,25 @@ msgstr ""
6532
  msgid "Something went wrong. SendWP was not installed correctly."
6533
  msgstr ""
6534
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6535
  #: includes/emails/template.php:54
6536
  msgid "Sample Product Title"
6537
  msgstr ""
@@ -7176,31 +7238,31 @@ msgid ""
7176
  "Downloads version %3$s with no alternative available."
7177
  msgstr ""
7178
 
7179
- #: includes/payments/actions.php:197
7180
  msgid "After payment actions processed."
7181
  msgstr ""
7182
 
7183
- #: includes/payments/actions.php:220
7184
  msgid "Status changed from %s to %s"
7185
  msgstr ""
7186
 
7187
- #: includes/payments/actions.php:461 includes/payments/actions.php:523
7188
  msgid "Error resuming payment."
7189
  msgstr ""
7190
 
7191
- #: includes/payments/actions.php:465
7192
  msgid "Payment recovery triggered URL"
7193
  msgstr ""
7194
 
7195
- #: includes/payments/actions.php:545 includes/payments/actions.php:579
7196
  msgid "To complete this payment, please login to your account."
7197
  msgstr ""
7198
 
7199
- #: includes/payments/actions.php:547
7200
  msgid "Lost Password"
7201
  msgstr ""
7202
 
7203
- #: includes/payments/actions.php:548 templates/shortcode-login.php:33
7204
  msgid "Lost Password?"
7205
  msgstr ""
7206
 
@@ -8600,13 +8662,13 @@ msgctxt "Date one to date two"
8600
  msgid "to"
8601
  msgstr ""
8602
 
8603
- #: includes/admin/settings/register-settings.php:784
8604
  #: includes/template-functions.php:79
8605
  msgctxt "text shown on the Add to Cart Button when the product is already in the cart"
8606
  msgid "Checkout"
8607
  msgstr ""
8608
 
8609
- #: includes/admin/settings/register-settings.php:974
8610
  msgctxt ""
8611
  "payment status labels for the privacy export & erase settings: Pending "
8612
  "Payments"
1
+ # Copyright (C) 2020 Easy Digital Downloads
2
  # This file is distributed under the same license as the Easy Digital Downloads package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Easy Digital Downloads 2.9.21\n"
6
  "Report-Msgid-Bugs-To: https://easydigitaldownloads.com/\n"
7
+ "POT-Creation-Date: 2020-03-02 22:33:21+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2020-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: WP-Translations (http://wp-translations.org/)\n"
13
  "Language-Team: WP-Translations <wpt@wp-translations.org>\n"
14
  "Language: en_US\n"
72
  #: includes/admin/reporting/export/class-batch-export.php:131
73
  #: includes/admin/reporting/export/export-actions.php:23
74
  #: includes/admin/reporting/reports.php:98
75
+ #: includes/admin/tools/class-edd-tools-recount-all-stats.php:225
76
  #: includes/admin/tools/class-edd-tools-recount-customer-stats.php:191
77
+ #: includes/admin/tools/class-edd-tools-recount-download-stats.php:242
78
  #: includes/admin/tools/class-edd-tools-recount-single-customer-stats.php:148
79
  #: includes/admin/tools/class-edd-tools-recount-store-earnings.php:153
80
  #: includes/admin/tools/class-edd-tools-reset-stats.php:179
93
  #: includes/cart/class-edd-cart.php:1424 includes/cart/class-edd-cart.php:1438
94
  #: includes/class-edd-license-handler.php:309
95
  #: includes/deprecated-functions.php:517 includes/deprecated-functions.php:532
96
+ #: includes/deprecated-functions.php:542 includes/download-functions.php:1260
97
  #: includes/emails/actions.php:53 includes/emails/template.php:243
98
  #: includes/error-tracking.php:40 includes/gateways/functions.php:221
99
  #: includes/gateways/manual.php:33 includes/gateways/paypal-standard.php:168
211
 
212
  #: includes/admin/admin-pages.php:43 includes/admin/plugins.php:57
213
  #: includes/admin/settings/contextual-help.php:87
214
+ #: includes/admin/settings/register-settings.php:1368
215
  msgid "Extensions"
216
  msgstr ""
217
 
450
  #: includes/admin/discounts/class-discount-codes-table.php:267
451
  #: includes/admin/payments/class-payments-table.php:367
452
  #: includes/admin/payments/class-payments-table.php:435
453
+ #: includes/admin/settings/register-settings.php:957
454
  #: includes/payments/functions.php:1616
455
  msgid "Delete"
456
  msgstr ""
658
  msgstr ""
659
 
660
  #: includes/admin/customers/customers.php:269
661
+ #: includes/admin/settings/register-settings.php:2288
662
  #: includes/admin/tools.php:695 includes/checkout/template.php:435
663
  #: templates/shortcode-profile-editor.php:171
664
  msgid "State / Province"
763
  #: includes/admin/downloads/metabox.php:705
764
  #: includes/admin/downloads/metabox.php:830
765
  #: includes/admin/payments/view-order-details.php:523
766
+ #: includes/admin/settings/register-settings.php:2291 includes/scripts.php:227
767
  #: templates/checkout_cart.php:57 templates/checkout_cart.php:75
768
  #: templates/shortcode-profile-editor.php:123
769
  msgid "Remove"
1272
 
1273
  #: includes/admin/discounts/contextual-help.php:38
1274
  #: includes/admin/settings/contextual-help.php:42
1275
+ #: includes/admin/settings/register-settings.php:1360
1276
+ #: includes/admin/settings/register-settings.php:1416
1277
+ #: includes/admin/settings/register-settings.php:1421
1278
+ #: includes/admin/settings/register-settings.php:1425
1279
+ #: includes/admin/settings/register-settings.php:1430
1280
+ #: includes/admin/settings/register-settings.php:1433
1281
+ #: includes/admin/settings/register-settings.php:1448
1282
  #: includes/admin/tools.php:68
1283
  msgid "General"
1284
  msgstr ""
1787
  msgstr ""
1788
 
1789
  #: includes/admin/downloads/metabox.php:1038
1790
+ #: includes/admin/settings/register-settings.php:774
1791
  #: includes/admin/thickbox.php:59 includes/checkout/template.php:1005
1792
  #: includes/shortcodes.php:49 includes/template-functions.php:78
1793
  msgid "Purchase"
1828
  msgstr ""
1829
 
1830
  #: includes/admin/downloads/metabox.php:1112
1831
+ #: includes/admin/settings/register-settings.php:788
1832
  #: includes/admin/thickbox.php:101
1833
  msgid "Add to Cart"
1834
  msgstr ""
1835
 
1836
  #: includes/admin/downloads/metabox.php:1113
1837
+ #: includes/admin/settings/register-settings.php:802 includes/shortcodes.php:47
1838
  #: includes/template-functions.php:78
1839
  msgid "Buy Now"
1840
  msgstr ""
2284
  msgstr[1] ""
2285
 
2286
  #: includes/admin/payments/view-order-details.php:152
2287
+ #: includes/admin/settings/register-settings.php:750
2288
  msgid "None"
2289
  msgstr ""
2290
 
2654
 
2655
  #: includes/admin/reporting/class-export-payments.php:68
2656
  #: includes/admin/reporting/export/class-batch-export-payments.php:49
2657
+ #: includes/admin/settings/register-settings.php:2287
2658
  #: includes/admin/tools.php:713 templates/shortcode-profile-editor.php:162
2659
  msgid "Country"
2660
  msgstr ""
2708
 
2709
  #: includes/admin/reporting/class-export.php:164
2710
  #: includes/admin/reporting/export/class-batch-export.php:131
2711
+ #: includes/admin/tools/class-edd-tools-recount-all-stats.php:225
2712
  #: includes/admin/tools/class-edd-tools-recount-customer-stats.php:191
2713
+ #: includes/admin/tools/class-edd-tools-recount-download-stats.php:242
2714
  #: includes/admin/tools/class-edd-tools-recount-store-earnings.php:153
2715
  #: includes/admin/tools/class-edd-tools-reset-stats.php:179
2716
  msgid "You do not have permission to export data."
2870
  msgstr ""
2871
 
2872
  #: includes/admin/reporting/export/class-batch-export-downloads.php:53
2873
+ #: includes/admin/settings/register-settings.php:826
2874
  #: includes/admin/tools.php:896
2875
  msgid "File Download Limit"
2876
  msgstr ""
2919
 
2920
  #: includes/admin/reporting/export/class-batch-export-payments.php:62
2921
  #: includes/admin/settings/register-settings.php:355
2922
+ #: includes/admin/settings/register-settings.php:1417
2923
  msgid "Currency"
2924
  msgstr ""
2925
 
3051
  msgstr ""
3052
 
3053
  #: includes/admin/reporting/logs.php:144
3054
+ #: includes/admin/settings/register-settings.php:1443
3055
  #: includes/privacy-functions.php:544
3056
  msgid "File Downloads"
3057
  msgstr ""
3082
 
3083
  #: includes/admin/reporting/reports.php:59
3084
  #: includes/admin/settings/contextual-help.php:71
3085
+ #: includes/admin/settings/register-settings.php:1364
3086
  msgid "Taxes"
3087
  msgstr ""
3088
 
3229
 
3230
  #: includes/admin/settings/contextual-help.php:48
3231
  #: includes/admin/settings/register-settings.php:423
3232
+ #: includes/admin/settings/register-settings.php:1361
3233
  msgid "Payment Gateways"
3234
  msgstr ""
3235
 
3258
  msgstr ""
3259
 
3260
  #: includes/admin/settings/contextual-help.php:57
3261
+ #: includes/admin/settings/register-settings.php:1362
3262
  msgid "Emails"
3263
  msgstr ""
3264
 
3278
  msgstr ""
3279
 
3280
  #: includes/admin/settings/contextual-help.php:65
3281
+ #: includes/admin/settings/register-settings.php:1363
3282
  msgid "Styles"
3283
  msgstr ""
3284
 
3361
  msgstr ""
3362
 
3363
  #: includes/admin/settings/contextual-help.php:93
3364
+ #: includes/admin/settings/register-settings.php:1440
3365
  msgid "Miscellaneous"
3366
  msgstr ""
3367
 
3559
  msgstr ""
3560
 
3561
  #: includes/admin/settings/register-settings.php:391
3562
+ #: includes/admin/settings/register-settings.php:1418
3563
  msgid "API"
3564
  msgstr ""
3565
 
3693
  "\"reply-to\" address."
3694
  msgstr ""
3695
 
3696
+ #: includes/admin/settings/register-settings.php:507
3697
+ msgid "Advanced emails"
3698
+ msgstr ""
3699
+
3700
+ #: includes/admin/settings/register-settings.php:512
3701
+ msgid "Enhanced emails via Jilt"
3702
+ msgstr ""
3703
+
3704
+ #: includes/admin/settings/register-settings.php:513
3705
+ msgid ""
3706
+ "Create beautiful transactional, automated, and marketing emails using a "
3707
+ "drag-and-drop editor with <a "
3708
+ "href=\"https://jilt.com/?utm_source=edd-core&utm_medium=referral&utm_"
3709
+ "campaign=edd-enhanced-emails\" target=\"_blank\" rel=\"noopener "
3710
+ "noreferrer\">Jilt</a>."
3711
+ msgstr ""
3712
+
3713
+ #: includes/admin/settings/register-settings.php:513
3714
+ msgid ""
3715
+ "Learn more about free and paid plans in the <a "
3716
+ "href=\"https://docs.easydigitaldownloads.com/article/2199-jilt-overview\" "
3717
+ "target=\"_blank\" rel=\"noopener noreferrer\">documentation</a>."
3718
+ msgstr ""
3719
+
3720
+ #: includes/admin/settings/register-settings.php:526
3721
  msgid "Purchase Email Subject"
3722
  msgstr ""
3723
 
3724
+ #: includes/admin/settings/register-settings.php:527
3725
  msgid "Enter the subject line for the purchase receipt email."
3726
  msgstr ""
3727
 
 
 
3728
  #: includes/admin/settings/register-settings.php:529
3729
+ #: includes/admin/settings/register-settings.php:536
3730
+ #: includes/admin/settings/register-settings.php:540
3731
  #: includes/emails/functions.php:45 includes/emails/functions.php:49
3732
  #: includes/emails/functions.php:87 includes/emails/functions.php:91
3733
  #: includes/emails/template.php:141
3734
  msgid "Purchase Receipt"
3735
  msgstr ""
3736
 
3737
+ #: includes/admin/settings/register-settings.php:533
3738
  msgid "Purchase Email Heading"
3739
  msgstr ""
3740
 
3741
+ #: includes/admin/settings/register-settings.php:534
3742
  msgid "Enter the heading for the purchase receipt email."
3743
  msgstr ""
3744
 
3745
+ #: includes/admin/settings/register-settings.php:541
3746
  msgid ""
3747
  "Enter the text that is sent as purchase receipt email to users after "
3748
  "completion of a successful purchase. HTML is accepted. Available template "
3749
  "tags:"
3750
  msgstr ""
3751
 
3752
+ #: includes/admin/settings/register-settings.php:543
3753
  #: includes/emails/template.php:159
3754
  msgid "Dear"
3755
  msgstr ""
3756
 
3757
+ #: includes/admin/settings/register-settings.php:543
3758
  #: includes/emails/template.php:160
3759
  msgid ""
3760
  "Thank you for your purchase. Please click on the link(s) below to download "
3761
  "your files."
3762
  msgstr ""
3763
 
3764
+ #: includes/admin/settings/register-settings.php:549
3765
  msgid "Sale Notification Subject"
3766
  msgstr ""
3767
 
3768
+ #: includes/admin/settings/register-settings.php:550
3769
  msgid "Enter the subject line for the sale notification email."
3770
  msgstr ""
3771
 
3772
+ #: includes/admin/settings/register-settings.php:556
3773
  msgid "Sale Notification Heading"
3774
  msgstr ""
3775
 
3776
+ #: includes/admin/settings/register-settings.php:557
3777
  msgid "Enter the heading for the sale notification email."
3778
  msgstr ""
3779
 
3780
+ #: includes/admin/settings/register-settings.php:559
3781
  #: includes/emails/functions.php:140
3782
  msgid "New Sale!"
3783
  msgstr ""
3784
 
3785
+ #: includes/admin/settings/register-settings.php:563
3786
  msgid "Sale Notification"
3787
  msgstr ""
3788
 
3789
+ #: includes/admin/settings/register-settings.php:564
3790
  msgid ""
3791
  "Enter the text that is sent as sale notification email after completion of "
3792
  "a purchase. HTML is accepted. Available template tags:"
3793
  msgstr ""
3794
 
3795
+ #: includes/admin/settings/register-settings.php:570
3796
  msgid "Sale Notification Emails"
3797
  msgstr ""
3798
 
3799
+ #: includes/admin/settings/register-settings.php:571
3800
  msgid ""
3801
  "Enter the email address(es) that should receive a notification anytime a "
3802
  "sale is made, one per line."
3803
  msgstr ""
3804
 
3805
+ #: includes/admin/settings/register-settings.php:577
3806
  msgid "Disable Admin Notifications"
3807
  msgstr ""
3808
 
3809
+ #: includes/admin/settings/register-settings.php:578
3810
  msgid "Check this box if you do not want to receive sales notification emails."
3811
  msgstr ""
3812
 
3813
+ #: includes/admin/settings/register-settings.php:590
3814
  msgid "Disable Styles"
3815
  msgstr ""
3816
 
3817
+ #: includes/admin/settings/register-settings.php:591
3818
  msgid ""
3819
  "Check this to disable all included styling of buttons, checkout fields, and "
3820
  "all other elements."
3821
  msgstr ""
3822
 
3823
+ #: includes/admin/settings/register-settings.php:593
3824
  msgid "Disabling Styles"
3825
  msgstr ""
3826
 
3827
+ #: includes/admin/settings/register-settings.php:594
3828
  msgid ""
3829
  "If your theme has a complete custom CSS file for Easy Digital Downloads, "
3830
  "you may wish to disable our default styles. This is not recommended unless "
3831
  "you're sure your theme has a complete custom CSS."
3832
  msgstr ""
3833
 
3834
+ #: includes/admin/settings/register-settings.php:598
3835
  msgid "Buttons"
3836
  msgstr ""
3837
 
3838
+ #: includes/admin/settings/register-settings.php:599
3839
  msgid "Options for add to cart and purchase buttons"
3840
  msgstr ""
3841
 
3842
+ #: includes/admin/settings/register-settings.php:604
3843
  msgid "Default Button Style"
3844
  msgstr ""
3845
 
3846
+ #: includes/admin/settings/register-settings.php:605
3847
  msgid "Choose the style you want to use for the buttons."
3848
  msgstr ""
3849
 
3850
+ #: includes/admin/settings/register-settings.php:611
3851
  msgid "Default Button Color"
3852
  msgstr ""
3853
 
3854
+ #: includes/admin/settings/register-settings.php:612
3855
  msgid "Choose the color you want to use for the buttons."
3856
  msgstr ""
3857
 
3858
+ #: includes/admin/settings/register-settings.php:625
3859
  msgid "Need help?"
3860
  msgstr ""
3861
 
3862
+ #: includes/admin/settings/register-settings.php:626
3863
  msgid ""
3864
  "Visit the <a href=\"%s\" target=\"_blank\">Tax setup documentation</a> for "
3865
  "further information. If you need VAT support, there are options listed on "
3866
  "the documentation page."
3867
  msgstr ""
3868
 
3869
+ #: includes/admin/settings/register-settings.php:631
3870
  msgid "Enable Taxes"
3871
  msgstr ""
3872
 
3873
+ #: includes/admin/settings/register-settings.php:632
3874
  msgid "Check this to enable taxes on purchases."
3875
  msgstr ""
3876
 
3877
+ #: includes/admin/settings/register-settings.php:634
3878
  msgid "Enabling Taxes"
3879
  msgstr ""
3880
 
3881
+ #: includes/admin/settings/register-settings.php:635
3882
  msgid ""
3883
  "With taxes enabled, Easy Digital Downloads will use the rules below to "
3884
  "charge tax to customers. With taxes enabled, customers are required to "
3885
  "input their address on checkout so that taxes can be properly calculated."
3886
  msgstr ""
3887
 
3888
+ #: includes/admin/settings/register-settings.php:639
3889
  msgid "Tax Rates"
3890
  msgstr ""
3891
 
3892
+ #: includes/admin/settings/register-settings.php:640
3893
  msgid ""
3894
  "Add tax rates for specific regions. Enter a percentage, such as 6.5 for "
3895
  "6.5%."
3896
  msgstr ""
3897
 
3898
+ #: includes/admin/settings/register-settings.php:645
3899
+ #: includes/admin/settings/register-settings.php:649
3900
  msgid "Fallback Tax Rate"
3901
  msgstr ""
3902
 
3903
+ #: includes/admin/settings/register-settings.php:646
3904
  msgid ""
3905
  "Customers not in a specific rate will be charged this tax rate. Enter a "
3906
  "percentage, such as 6.5 for 6.5%. "
3907
  msgstr ""
3908
 
3909
+ #: includes/admin/settings/register-settings.php:650
3910
  msgid ""
3911
  "If the customer's address fails to meet the above tax rules, you can define "
3912
  "a `default` tax rate to be applied to all other customers. Enter a "
3913
  "percentage, such as 6.5 for 6.5%."
3914
  msgstr ""
3915
 
3916
+ #: includes/admin/settings/register-settings.php:654
3917
  msgid "Prices entered with tax"
3918
  msgstr ""
3919
 
3920
+ #: includes/admin/settings/register-settings.php:655
3921
  msgid "This option affects how you enter prices."
3922
  msgstr ""
3923
 
3924
+ #: includes/admin/settings/register-settings.php:659
3925
  msgid "Yes, I will enter prices inclusive of tax"
3926
  msgstr ""
3927
 
3928
+ #: includes/admin/settings/register-settings.php:660
3929
  msgid "No, I will enter prices exclusive of tax"
3930
  msgstr ""
3931
 
3932
+ #: includes/admin/settings/register-settings.php:662
3933
  msgid "Prices Inclusive of Tax"
3934
  msgstr ""
3935
 
3936
+ #: includes/admin/settings/register-settings.php:663
3937
  msgid ""
3938
  "When using prices inclusive of tax, you will be entering your prices as the "
3939
  "total amount you want a customer to pay for the download, including tax. "
3941
  "for the defined total price."
3942
  msgstr ""
3943
 
3944
+ #: includes/admin/settings/register-settings.php:667
3945
  msgid "Display Tax Rate on Prices"
3946
  msgstr ""
3947
 
3948
+ #: includes/admin/settings/register-settings.php:668
3949
  msgid "Some countries require a notice when product prices include tax."
3950
  msgstr ""
3951
 
3952
+ #: includes/admin/settings/register-settings.php:673
3953
  msgid "Display during checkout"
3954
  msgstr ""
3955
 
3956
+ #: includes/admin/settings/register-settings.php:674
3957
  msgid "Should prices on the checkout page be shown with or without tax?"
3958
  msgstr ""
3959
 
3960
+ #: includes/admin/settings/register-settings.php:678
3961
  msgid "Including tax"
3962
  msgstr ""
3963
 
3964
+ #: includes/admin/settings/register-settings.php:679
3965
  msgid "Excluding tax"
3966
  msgstr ""
3967
 
3968
+ #: includes/admin/settings/register-settings.php:681
3969
  msgid "Taxes Displayed for Products on Checkout"
3970
  msgstr ""
3971
 
3972
+ #: includes/admin/settings/register-settings.php:682
3973
  msgid ""
3974
  "This option will determine whether the product price displays with or "
3975
  "without tax on checkout."
3976
  msgstr ""
3977
 
3978
+ #: includes/admin/settings/register-settings.php:700
3979
+ #: includes/admin/settings/register-settings.php:703
3980
  msgid "Redirect to Checkout"
3981
  msgstr ""
3982
 
3983
+ #: includes/admin/settings/register-settings.php:701
3984
  msgid "Immediately redirect to checkout after adding an item to the cart?"
3985
  msgstr ""
3986
 
3987
+ #: includes/admin/settings/register-settings.php:704
3988
  msgid ""
3989
  "When enabled, once an item has been added to the cart, the customer will be "
3990
  "redirected directly to your checkout page. This is useful for stores that "
3991
  "sell single items."
3992
  msgstr ""
3993
 
3994
+ #: includes/admin/settings/register-settings.php:708
3995
  msgid "Cart Item Quantities"
3996
  msgstr ""
3997
 
3998
+ #: includes/admin/settings/register-settings.php:709
3999
  msgid ""
4000
  "Allow quantities to be adjusted when adding %s to the cart, and while "
4001
  "viewing the checkout cart."
4002
  msgstr ""
4003
 
4004
+ #: includes/admin/settings/register-settings.php:714
4005
  msgid "Debug Mode"
4006
  msgstr ""
4007
 
4008
+ #: includes/admin/settings/register-settings.php:715
4009
  msgid ""
4010
  "Check this box to enable debug mode. When enabled, debug messages will be "
4011
  "logged and shown in Downloads &rarr; Tools &rarr; Debug Log."
4012
  msgstr ""
4013
 
4014
+ #: includes/admin/settings/register-settings.php:720
4015
  msgid "Remove Data on Uninstall?"
4016
  msgstr ""
4017
 
4018
+ #: includes/admin/settings/register-settings.php:721
4019
  msgid ""
4020
  "Check this box if you would like EDD to completely remove all of its data "
4021
  "when the plugin is deleted."
4022
  msgstr ""
4023
 
4024
+ #: includes/admin/settings/register-settings.php:728
4025
  msgid "Enforce SSL on Checkout"
4026
  msgstr ""
4027
 
4028
+ #: includes/admin/settings/register-settings.php:729
4029
  msgid ""
4030
  "Check this to force users to be redirected to the secure checkout page. You "
4031
  "must have an SSL certificate installed to use this option."
4032
  msgstr ""
4033
 
4034
+ #: includes/admin/settings/register-settings.php:734
4035
+ #: includes/admin/settings/register-settings.php:737
4036
  msgid "Require Login"
4037
  msgstr ""
4038
 
4039
+ #: includes/admin/settings/register-settings.php:735
4040
  msgid "Require that users be logged-in to purchase files."
4041
  msgstr ""
4042
 
4043
+ #: includes/admin/settings/register-settings.php:738
4044
  msgid ""
4045
  "You can require that customers create and login to user accounts prior to "
4046
  "purchasing from your store by enabling this option. When unchecked, users "
4047
  "can purchase without being logged in by using their name and email address."
4048
  msgstr ""
4049
 
4050
+ #: includes/admin/settings/register-settings.php:742
4051
  msgid "Show Register / Login Form?"
4052
  msgstr ""
4053
 
4054
+ #: includes/admin/settings/register-settings.php:743
4055
  msgid ""
4056
  "Display the registration and login forms on the checkout page for "
4057
  "non-logged-in users."
4058
  msgstr ""
4059
 
4060
+ #: includes/admin/settings/register-settings.php:747
4061
  msgid "Registration and Login Forms"
4062
  msgstr ""
4063
 
4064
+ #: includes/admin/settings/register-settings.php:748
4065
  msgid "Registration Form Only"
4066
  msgstr ""
4067
 
4068
+ #: includes/admin/settings/register-settings.php:749
4069
  msgid "Login Form Only"
4070
  msgstr ""
4071
 
4072
+ #: includes/admin/settings/register-settings.php:755
4073
  msgid "Multiple Discounts"
4074
  msgstr ""
4075
 
4076
+ #: includes/admin/settings/register-settings.php:756
4077
  msgid "Allow customers to use multiple discounts on the same purchase?"
4078
  msgstr ""
4079
 
4080
+ #: includes/admin/settings/register-settings.php:761
4081
  msgid "Enable Cart Saving"
4082
  msgstr ""
4083
 
4084
+ #: includes/admin/settings/register-settings.php:762
4085
  msgid "Check this to enable cart saving on the checkout."
4086
  msgstr ""
4087
 
4088
+ #: includes/admin/settings/register-settings.php:764
4089
  msgid "Cart Saving"
4090
  msgstr ""
4091
 
4092
+ #: includes/admin/settings/register-settings.php:765
4093
  msgid ""
4094
  "Cart saving allows shoppers to create a temporary link to their current "
4095
  "shopping cart so they can come back to it later, or share it with someone."
4096
  msgstr ""
4097
 
4098
+ #: includes/admin/settings/register-settings.php:771
4099
  msgid "Complete Purchase Text"
4100
  msgstr ""
4101
 
4102
+ #: includes/admin/settings/register-settings.php:772
4103
  msgid "The button label for completing a purchase."
4104
  msgstr ""
4105
 
4106
+ #: includes/admin/settings/register-settings.php:778
4107
  msgid "Complete Free Purchase Text"
4108
  msgstr ""
4109
 
4110
+ #: includes/admin/settings/register-settings.php:779
4111
  msgid "The button label for completing a free purchase."
4112
  msgstr ""
4113
 
4114
+ #: includes/admin/settings/register-settings.php:781
4115
  #: includes/checkout/template.php:1008
4116
  msgid "Free Download"
4117
  msgstr ""
4118
 
4119
+ #: includes/admin/settings/register-settings.php:785
4120
  msgid "Add to Cart Text"
4121
  msgstr ""
4122
 
4123
+ #: includes/admin/settings/register-settings.php:786
4124
  msgid "Text shown on the Add to Cart Buttons."
4125
  msgstr ""
4126
 
4127
+ #: includes/admin/settings/register-settings.php:792
4128
  msgid "Checkout Button Text"
4129
  msgstr ""
4130
 
4131
+ #: includes/admin/settings/register-settings.php:793
4132
  msgid ""
4133
  "Text shown on the Add to Cart Button when the product is already in the "
4134
  "cart."
4135
  msgstr ""
4136
 
4137
+ #: includes/admin/settings/register-settings.php:799
4138
  msgid "Buy Now Text"
4139
  msgstr ""
4140
 
4141
+ #: includes/admin/settings/register-settings.php:800
4142
  msgid "Text shown on the Buy Now Buttons."
4143
  msgstr ""
4144
 
4145
+ #: includes/admin/settings/register-settings.php:808
4146
+ #: includes/admin/settings/register-settings.php:811
4147
  msgid "Download Method"
4148
  msgstr ""
4149
 
4150
+ #: includes/admin/settings/register-settings.php:809
4151
  msgid "Select the file download method. Note, not all methods work on all servers."
4152
  msgstr ""
4153
 
4154
+ #: includes/admin/settings/register-settings.php:812
4155
  msgid ""
4156
  "Due to its consistency in multiple platforms and better file protection, "
4157
  "'forced' is the default method. Because Easy Digital Downloads uses PHP to "
4162
  "method can help resolve this."
4163
  msgstr ""
4164
 
4165
+ #: includes/admin/settings/register-settings.php:814
4166
  msgid "Forced"
4167
  msgstr ""
4168
 
4169
+ #: includes/admin/settings/register-settings.php:815
4170
  msgid "Redirect"
4171
  msgstr ""
4172
 
4173
+ #: includes/admin/settings/register-settings.php:820
4174
  msgid "Symlink File Downloads?"
4175
  msgstr ""
4176
 
4177
+ #: includes/admin/settings/register-settings.php:821
4178
  msgid ""
4179
  "Check this if you are delivering really large files or having problems with "
4180
  "file downloads completing."
4181
  msgstr ""
4182
 
4183
+ #: includes/admin/settings/register-settings.php:827
4184
  msgid ""
4185
  "The maximum number of times files can be downloaded for purchases. Can be "
4186
  "overwritten for each %s."
4187
  msgstr ""
4188
 
4189
+ #: includes/admin/settings/register-settings.php:830
4190
  msgid "File Download Limits"
4191
  msgstr ""
4192
 
4193
+ #: includes/admin/settings/register-settings.php:831
4194
  msgid ""
4195
  "Set the global default for the number of times a customer can download "
4196
  "items they purchase. Using a value of 0 is unlimited. This can be defined "
4198
  "individual purchase."
4199
  msgstr ""
4200
 
4201
+ #: includes/admin/settings/register-settings.php:835
4202
+ #: includes/admin/settings/register-settings.php:837
4203
  msgid "Download Link Expiration"
4204
  msgstr ""
4205
 
4206
+ #: includes/admin/settings/register-settings.php:836
4207
  msgid ""
4208
  "How long should download links be valid for? Default is 24 hours from the "
4209
  "time they are generated. Enter a time in hours."
4210
  msgstr ""
4211
 
4212
+ #: includes/admin/settings/register-settings.php:838
4213
  msgid ""
4214
  "When a customer receives a link to their downloads via email, in their "
4215
  "receipt, or in their purchase history, the link will only be valid for the "
4218
  "customer."
4219
  msgstr ""
4220
 
4221
+ #: includes/admin/settings/register-settings.php:846
4222
  msgid "Disable Redownload?"
4223
  msgstr ""
4224
 
4225
+ #: includes/admin/settings/register-settings.php:847
4226
  msgid ""
4227
  "Check this if you do not want to allow users to redownload items from their "
4228
  "purchase history."
4229
  msgstr ""
4230
 
4231
+ #: includes/admin/settings/register-settings.php:854
4232
  msgid "Enable SKU Entry"
4233
  msgstr ""
4234
 
4235
+ #: includes/admin/settings/register-settings.php:855
4236
  msgid ""
4237
  "Check this box to allow entry of product SKUs. SKUs will be shown on "
4238
  "purchase receipt and exported purchase histories."
4239
  msgstr ""
4240
 
4241
+ #: includes/admin/settings/register-settings.php:860
4242
  msgid "Sequential Order Numbers"
4243
  msgstr ""
4244
 
4245
+ #: includes/admin/settings/register-settings.php:861
4246
  msgid "Check this box to enable sequential order numbers."
4247
  msgstr ""
4248
 
4249
+ #: includes/admin/settings/register-settings.php:866
4250
  msgid "Sequential Starting Number"
4251
  msgstr ""
4252
 
4253
+ #: includes/admin/settings/register-settings.php:867
4254
  msgid "The number at which the sequence should begin."
4255
  msgstr ""
4256
 
4257
+ #: includes/admin/settings/register-settings.php:874
4258
  msgid "Sequential Number Prefix"
4259
  msgstr ""
4260
 
4261
+ #: includes/admin/settings/register-settings.php:875
4262
  msgid "A prefix to prepend to all sequential order numbers."
4263
  msgstr ""
4264
 
4265
+ #: includes/admin/settings/register-settings.php:880
4266
  msgid "Sequential Number Postfix"
4267
  msgstr ""
4268
 
4269
+ #: includes/admin/settings/register-settings.php:881
4270
  msgid "A postfix to append to all sequential order numbers."
4271
  msgstr ""
4272
 
4273
+ #: includes/admin/settings/register-settings.php:888
4274
  msgid "Agree to Terms"
4275
  msgstr ""
4276
 
4277
+ #: includes/admin/settings/register-settings.php:889
4278
  msgid ""
4279
  "Check this to show an agree to terms on checkout that users must agree to "
4280
  "before purchasing."
4281
  msgstr ""
4282
 
4283
+ #: includes/admin/settings/register-settings.php:894
4284
  msgid "Agree to Terms Label"
4285
  msgstr ""
4286
 
4287
+ #: includes/admin/settings/register-settings.php:895
4288
  msgid "Label shown next to the agree to terms checkbox."
4289
  msgstr ""
4290
 
4291
+ #: includes/admin/settings/register-settings.php:901
4292
  msgid "Agreement Text"
4293
  msgstr ""
4294
 
4295
+ #: includes/admin/settings/register-settings.php:902
4296
  msgid "If Agree to Terms is checked, enter the agreement terms here."
4297
  msgstr ""
4298
 
4299
+ #: includes/admin/settings/register-settings.php:913
4300
  msgid "Agree to Privacy Policy"
4301
  msgstr ""
4302
 
4303
+ #: includes/admin/settings/register-settings.php:914
4304
  msgid ""
4305
  "Check this to show an agree to Privacy Policy on checkout that users must "
4306
  "agree to before purchasing."
4307
  msgstr ""
4308
 
4309
+ #: includes/admin/settings/register-settings.php:919
4310
  msgid "Agree to Privacy Policy Label"
4311
  msgstr ""
4312
 
4313
+ #: includes/admin/settings/register-settings.php:920
4314
  msgid "Label shown next to the agree to Privacy Policy checkbox."
4315
  msgstr ""
4316
 
4317
+ #: includes/admin/settings/register-settings.php:926
4318
  msgid "Show the Privacy Policy on checkout"
4319
  msgstr ""
4320
 
4321
+ #: includes/admin/settings/register-settings.php:927
4322
  msgid "Display your Privacy Policy on checkout."
4323
  msgstr ""
4324
 
4325
+ #: includes/admin/settings/register-settings.php:927
4326
  msgid "Set your Privacy Policy here"
4327
  msgstr ""
4328
 
4329
+ #: includes/admin/settings/register-settings.php:940
4330
  msgid "Payment Status Actions"
4331
  msgstr ""
4332
 
4333
+ #: includes/admin/settings/register-settings.php:942
4334
  msgid ""
4335
  "When a user requests to be anonymized or removed from a site, these are the "
4336
  "actions that will be taken on payments associated with their customer, by "
4337
  "status."
4338
  msgstr ""
4339
 
4340
+ #: includes/admin/settings/register-settings.php:943
4341
  msgid "What settings should I use?"
4342
  msgstr ""
4343
 
4344
+ #: includes/admin/settings/register-settings.php:944
4345
  msgid ""
4346
  "By default, Easy Digital Downloads sets suggested actions based on the "
4347
  "Payment Status. These are purely recommendations, and you may need to "
4349
  "leave these settings as is."
4350
  msgstr ""
4351
 
4352
+ #: includes/admin/settings/register-settings.php:955
4353
  msgid "No Action"
4354
  msgstr ""
4355
 
4356
+ #: includes/admin/settings/register-settings.php:956
4357
  msgid "Anonymize"
4358
  msgstr ""
4359
 
4360
+ #: includes/admin/settings/register-settings.php:996
4361
  msgid "Buy Now Disabled"
4362
  msgstr ""
4363
 
4364
+ #: includes/admin/settings/register-settings.php:997
4365
  msgid ""
4366
  "Buy Now buttons are only available for stores that have a single supported "
4367
  "gateway active and that do not use taxes."
4368
  msgstr ""
4369
 
4370
+ #: includes/admin/settings/register-settings.php:1100
4371
  msgid "Settings updated."
4372
  msgstr ""
4373
 
4374
+ #: includes/admin/settings/register-settings.php:1253
4375
  msgid "Error setting default gateway. No gateways are enabled."
4376
  msgstr ""
4377
 
4378
+ #: includes/admin/settings/register-settings.php:1266
4379
  msgid "%s could not be set as the default gateway. It must first be enabled."
4380
  msgstr ""
4381
 
4382
+ #: includes/admin/settings/register-settings.php:1365
4383
  msgid "Privacy"
4384
  msgstr ""
4385
 
4386
+ #: includes/admin/settings/register-settings.php:1371
4387
  msgid "Licenses"
4388
  msgstr ""
4389
 
4390
+ #: includes/admin/settings/register-settings.php:1374
4391
  msgid "Misc"
4392
  msgstr ""
4393
 
4394
+ #: includes/admin/settings/register-settings.php:1422
4395
  #: includes/gateways/functions.php:25 includes/gateways/paypal-standard.php:33
4396
  msgid "PayPal Standard"
4397
  msgstr ""
4398
 
4399
+ #: includes/admin/settings/register-settings.php:1426
4400
  msgid "Purchase Receipts"
4401
  msgstr ""
4402
 
4403
+ #: includes/admin/settings/register-settings.php:1427
4404
  msgid "New Sale Notifications"
4405
  msgstr ""
4406
 
4407
+ #: includes/admin/settings/register-settings.php:1436
4408
  msgid "Main"
4409
  msgstr ""
4410
 
4411
+ #: includes/admin/settings/register-settings.php:1441 includes/install.php:92
4412
  #: templates/widget-cart-checkout.php:6 templates/widget-cart-empty.php:7
4413
  msgid "Checkout"
4414
  msgstr ""
4415
 
4416
+ #: includes/admin/settings/register-settings.php:1442
4417
  msgid "Button Text"
4418
  msgstr ""
4419
 
4420
+ #: includes/admin/settings/register-settings.php:1444
4421
  msgid "Accounting"
4422
  msgstr ""
4423
 
4424
+ #: includes/admin/settings/register-settings.php:1445
4425
  msgid "Terms of Agreement"
4426
  msgstr ""
4427
 
4428
+ #: includes/admin/settings/register-settings.php:1449
4429
  msgid "Export & Erase"
4430
  msgstr ""
4431
 
4432
+ #: includes/admin/settings/register-settings.php:1691
4433
  msgid ""
4434
  "Don't see what you need? More Payment Gateway options are available <a "
4435
  "href=\"%s\">here</a>."
4436
  msgstr ""
4437
 
4438
+ #: includes/admin/settings/register-settings.php:1912
4439
  msgid "The callback function used for the %s setting is missing."
4440
  msgstr ""
4441
 
4442
+ #: includes/admin/settings/register-settings.php:2074
4443
  msgid "Upload File"
4444
  msgstr ""
4445
 
4446
+ #: includes/admin/settings/register-settings.php:2167
4447
  msgid ""
4448
  "<a href=\"https://sendwp.com/account/\" target=\"_blank\" rel=\"noopener "
4449
  "noreferrer\">Click here</a> to visit your account."
4450
  msgstr ""
4451
 
4452
+ #: includes/admin/settings/register-settings.php:2188
4453
  msgid "Disconnect SendWP"
4454
  msgstr ""
4455
 
4456
+ #: includes/admin/settings/register-settings.php:2197
4457
  msgid "Connect SendWP"
4458
  msgstr ""
4459
 
4460
+ #: includes/admin/settings/register-settings.php:2231
4461
+ msgid "Disconnect Jilt"
4462
+ msgstr ""
4463
+
4464
+ #: includes/admin/settings/register-settings.php:2239
4465
+ #. Translators: %1$s - <a> tag, %2$s - </a> tag
4466
+ msgid "%1$sClick here%2$s to visit your Jilt dashboard"
4467
+ msgstr ""
4468
+
4469
+ #: includes/admin/settings/register-settings.php:2251
4470
+ msgid "Connect to Jilt"
4471
+ msgstr ""
4472
+
4473
+ #: includes/admin/settings/register-settings.php:2261
4474
+ msgid "Install Jilt"
4475
+ msgstr ""
4476
+
4477
+ #: includes/admin/settings/register-settings.php:2289
4478
  msgid "Country Wide"
4479
  msgstr ""
4480
 
4481
+ #: includes/admin/settings/register-settings.php:2290
4482
  msgid "Rate"
4483
  msgstr ""
4484
 
4485
+ #: includes/admin/settings/register-settings.php:2290
4486
  msgid ""
4487
  "<strong>Regional tax rates: </strong>When a customer enters an address on "
4488
  "checkout that matches the specified region for this tax rate, the cart tax "
4489
  "will adjust automatically. Enter a percentage, such as 6.5 for 6.5%."
4490
  msgstr ""
4491
 
4492
+ #: includes/admin/settings/register-settings.php:2307
4493
+ #: includes/admin/settings/register-settings.php:2355
4494
  msgid "Choose a country"
4495
  msgstr ""
4496
 
4497
+ #: includes/admin/settings/register-settings.php:2325
4498
  msgid "Choose a state"
4499
  msgstr ""
4500
 
4501
+ #: includes/admin/settings/register-settings.php:2337
4502
+ #: includes/admin/settings/register-settings.php:2368
4503
  msgid "Apply to whole country"
4504
  msgstr ""
4505
 
4506
+ #: includes/admin/settings/register-settings.php:2340
4507
+ #: includes/admin/settings/register-settings.php:2371
4508
  msgid "Remove Rate"
4509
  msgstr ""
4510
 
4511
+ #: includes/admin/settings/register-settings.php:2376
4512
  msgid "Add Tax Rate"
4513
  msgstr ""
4514
 
4515
+ #: includes/admin/settings/register-settings.php:2429
4516
  msgid ""
4517
  "Your license key expired on %s. Please <a href=\"%s\" "
4518
  "target=\"_blank\">renew your license key</a>."
4519
  msgstr ""
4520
 
4521
+ #: includes/admin/settings/register-settings.php:2442
4522
  msgid ""
4523
  "Your license key has been disabled. Please <a href=\"%s\" "
4524
  "target=\"_blank\">contact support</a> for more information."
4525
  msgstr ""
4526
 
4527
+ #: includes/admin/settings/register-settings.php:2454
4528
  msgid ""
4529
  "Invalid license. Please <a href=\"%s\" target=\"_blank\">visit your account "
4530
  "page</a> and verify it."
4531
  msgstr ""
4532
 
4533
+ #: includes/admin/settings/register-settings.php:2467
4534
  msgid ""
4535
  "Your %s is not active for this URL. Please <a href=\"%s\" "
4536
  "target=\"_blank\">visit your account page</a> to manage your license key "
4537
  "URLs."
4538
  msgstr ""
4539
 
4540
+ #: includes/admin/settings/register-settings.php:2479
4541
  msgid "This appears to be an invalid license key for %s."
4542
  msgstr ""
4543
 
4544
+ #: includes/admin/settings/register-settings.php:2488
4545
  msgid ""
4546
  "Your license key has reached its activation limit. <a href=\"%s\">View "
4547
  "possible upgrades</a> now."
4548
  msgstr ""
4549
 
4550
+ #: includes/admin/settings/register-settings.php:2497
4551
  msgid ""
4552
  "The key you entered belongs to a bundle, please use the product specific "
4553
  "license key."
4554
  msgstr ""
4555
 
4556
+ #: includes/admin/settings/register-settings.php:2505
4557
  msgid "unknown_error"
4558
  msgstr ""
4559
 
4560
+ #: includes/admin/settings/register-settings.php:2506
4561
  msgid ""
4562
  "There was an error with this license key: %s. Please <a href=\"%s\">contact "
4563
  "our support team</a>."
4564
  msgstr ""
4565
 
4566
+ #: includes/admin/settings/register-settings.php:2526
4567
  msgid "License key never expires."
4568
  msgstr ""
4569
 
4570
+ #: includes/admin/settings/register-settings.php:2533
4571
  msgid ""
4572
  "Your license key expires soon! It expires on %s. <a href=\"%s\" "
4573
  "target=\"_blank\">Renew your license key</a>."
4574
  msgstr ""
4575
 
4576
+ #: includes/admin/settings/register-settings.php:2543
4577
  msgid "Your license key expires on %s."
4578
  msgstr ""
4579
 
4580
+ #: includes/admin/settings/register-settings.php:2561
4581
  msgid "To receive updates, please enter your valid %s license key."
4582
  msgstr ""
4583
 
4584
+ #: includes/admin/settings/register-settings.php:2574
4585
  msgid "Deactivate License"
4586
  msgstr ""
4587
 
4617
  msgid "Link text . . ."
4618
  msgstr ""
4619
 
4620
+ #: includes/admin/tools/class-edd-tools-recount-all-stats.php:240
4621
  msgid "Earnings and sales stats successfully recounted."
4622
  msgstr ""
4623
 
4626
  msgid "Customer stats successfully recounted."
4627
  msgstr ""
4628
 
4629
+ #: includes/admin/tools/class-edd-tools-recount-download-stats.php:254
4630
  msgid "Earnings and sales stats successfully recounted for %s."
4631
  msgstr ""
4632
 
6477
  msgid "Sorry but you have hit your download limit for this file."
6478
  msgstr ""
6479
 
6480
+ #: includes/deprecated-functions.php:532 includes/download-functions.php:1260
6481
  msgid "Sorry but your download link has expired."
6482
  msgstr ""
6483
 
6566
  msgstr ""
6567
 
6568
  #: includes/emails/functions.php:294 includes/emails/functions.php:368
6569
+ #: includes/emails/functions.php:390 includes/emails/functions.php:467
6570
+ #: includes/emails/functions.php:494
6571
  msgid "You do not have permission to do this."
6572
  msgstr ""
6573
 
6575
  msgid "Something went wrong. SendWP was not installed correctly."
6576
  msgstr ""
6577
 
6578
+ #: includes/emails/functions.php:448 includes/emails/functions.php:475
6579
+ msgid "Something went wrong. Jilt was not installed correctly."
6580
+ msgstr ""
6581
+
6582
+ #: includes/emails/functions.php:533
6583
+ #. Translators: %1$s - <strong> tag, %2$s - </strong> tag, %3$s - <a> tag, %4$s
6584
+ #. - </a> tag
6585
+ msgid ""
6586
+ "%1$sRecover abandoned purchases like this one.%2$s %3$sTry Jilt for "
6587
+ "free%4$s."
6588
+ msgstr ""
6589
+
6590
+ #: includes/emails/functions.php:546
6591
+ #. Translators: %1$s - Opening anchor tag, %2$s - The url to dismiss the ajax
6592
+ #. notice, %3$s - Complete the opening of the anchor tag, %4$s - Open span tag,
6593
+ #. %4$s - Close span tag
6594
+ msgid "%1$s %2$s %3$s %4$s Dismiss this notice. %5$s"
6595
+ msgstr ""
6596
+
6597
  #: includes/emails/template.php:54
6598
  msgid "Sample Product Title"
6599
  msgstr ""
7238
  "Downloads version %3$s with no alternative available."
7239
  msgstr ""
7240
 
7241
+ #: includes/payments/actions.php:187
7242
  msgid "After payment actions processed."
7243
  msgstr ""
7244
 
7245
+ #: includes/payments/actions.php:210
7246
  msgid "Status changed from %s to %s"
7247
  msgstr ""
7248
 
7249
+ #: includes/payments/actions.php:451 includes/payments/actions.php:513
7250
  msgid "Error resuming payment."
7251
  msgstr ""
7252
 
7253
+ #: includes/payments/actions.php:455
7254
  msgid "Payment recovery triggered URL"
7255
  msgstr ""
7256
 
7257
+ #: includes/payments/actions.php:535 includes/payments/actions.php:569
7258
  msgid "To complete this payment, please login to your account."
7259
  msgstr ""
7260
 
7261
+ #: includes/payments/actions.php:537
7262
  msgid "Lost Password"
7263
  msgstr ""
7264
 
7265
+ #: includes/payments/actions.php:538 templates/shortcode-login.php:33
7266
  msgid "Lost Password?"
7267
  msgstr ""
7268
 
8662
  msgid "to"
8663
  msgstr ""
8664
 
8665
+ #: includes/admin/settings/register-settings.php:795
8666
  #: includes/template-functions.php:79
8667
  msgctxt "text shown on the Add to Cart Button when the product is already in the cart"
8668
  msgid "Checkout"
8669
  msgstr ""
8670
 
8671
+ #: includes/admin/settings/register-settings.php:985
8672
  msgctxt ""
8673
  "payment status labels for the privacy export & erase settings: Pending "
8674
  "Payments"
readme.txt CHANGED
@@ -6,7 +6,8 @@ Donate link: https://easydigitaldownloads.com/donate/
6
  Tags: ecommerce, e-commerce, sell, downloads, store, paypal, checkout, shop
7
  Requires at least: 4.4
8
  Tested up to: 5.3
9
- Stable Tag: 2.9.20
 
10
  License: GNU Version 2 or Any Later Version
11
 
12
  The easiest way to sell digital products with WordPress.
@@ -188,11 +189,18 @@ Yes. Easy Digital Downloads also includes default support for Amazon Payments an
188
  9. Checkout screen
189
 
190
  == Changelog ==
 
 
 
 
 
 
 
191
  = 2.9.20, November 14, 2019 =
192
  * Fix: CSV download import issues with file to price assignments and AmazonS3 files.
193
  * Fix: The edd_after_payment_actions action fired via cron was missing attributes.
194
  * Fix: The SendWP connection link was visited if enter/return was pressed to update settings.
195
- * Added: Promo elements added to EDD admin screens.
196
 
197
  = 2.9.19, October 28, 2019 =
198
  * Fix: Limit register_meta calls to be for the download post type only, in preparation for WordPress 5.3 compatibility.
6
  Tags: ecommerce, e-commerce, sell, downloads, store, paypal, checkout, shop
7
  Requires at least: 4.4
8
  Tested up to: 5.3
9
+ Requires PHP: 5.3
10
+ Stable Tag: 2.9.21
11
  License: GNU Version 2 or Any Later Version
12
 
13
  The easiest way to sell digital products with WordPress.
189
  9. Checkout screen
190
 
191
  == Changelog ==
192
+ = 2.9.21, March 2, 2020 =
193
+ * Fix: Corrected a reporting issue with earnings when using negative fees, such as Discounts Pro.
194
+ * Fix: Only count the number of downloads for a purchase when download counts are not unlimited.
195
+ * Fix: Fixed a typo in the settings text.
196
+ * Dev: Added a supported PHP Version to the plugin headers.
197
+ * New: Added information about the Jilt integration into the email settings.
198
+
199
  = 2.9.20, November 14, 2019 =
200
  * Fix: CSV download import issues with file to price assignments and AmazonS3 files.
201
  * Fix: The edd_after_payment_actions action fired via cron was missing attributes.
202
  * Fix: The SendWP connection link was visited if enter/return was pressed to update settings.
203
+ * New: Promotional elements added to EDD admin screens.
204
 
205
  = 2.9.19, October 28, 2019 =
206
  * Fix: Limit register_meta calls to be for the download post type only, in preparation for WordPress 5.3 compatibility.