Easy Digital Downloads - Version 2.9.15

Version Description

Download this release

Release Info

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

Code changes from version 2.9.14 to 2.9.15

assets/css/edd-admin.css CHANGED
@@ -1079,6 +1079,68 @@ td.edd_order_price {
1079
  /* Settings page styles
1080
  -------------------------------------------------------------- */
1081
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1082
  #edd_tax_rates {
1083
  margin: 1em 0 0;
1084
  }
1079
  /* Settings page styles
1080
  -------------------------------------------------------------- */
1081
 
1082
+ [id*="edd-sendwp-"].button {
1083
+ font-size: 16px;
1084
+ height: auto;
1085
+ padding: 8px 14px;
1086
+ margin: 0 0 6px;
1087
+ }
1088
+ [id*="edd-sendwp-"].button .dashicons {
1089
+ line-height: 29px;
1090
+ margin-right: 8px;
1091
+ }
1092
+ [id*="edd-sendwp-"].button .edd-loading,
1093
+ [id*="edd-sendwp-"].button .edd-loading:after {
1094
+ border-radius: 50%;
1095
+ display: inline-block;
1096
+ width: 14px;
1097
+ height: 14px;
1098
+ }
1099
+ [id*="edd-sendwp-"].button .edd-loading {
1100
+ position: relative;
1101
+ top: 3px;
1102
+ margin-left: 4px;
1103
+ box-shadow: 0 0 2px rgba(0,0,0,.2);
1104
+ }
1105
+ [id*="edd-sendwp-"].button .edd-loading {
1106
+ -webkit-animation: edd-spinning 1.1s infinite linear;
1107
+ animation: edd-spinning 1.1s infinite linear;
1108
+ border-top: 2px solid rgba(255, 255, 255, 0.5);
1109
+ border-right: 2px solid rgba(255, 255, 255, 0.5);
1110
+ border-bottom: 2px solid rgba(255, 255, 255, 0.5);
1111
+ border-left: 2px solid #fff;
1112
+ font-size: 14px;
1113
+ filter: alpha(opacity=0);
1114
+ -ms-transform: translateZ(0);
1115
+ transform: translateZ(0);
1116
+ }
1117
+ #edd-sendwp-disconnect.button .edd-loading.dark {
1118
+ border-top-color: rgba(0, 0, 0, 0.2);
1119
+ border-right-color: rgba(0, 0, 0, 0.2);
1120
+ border-bottom-color: rgba(0, 0, 0, 0.2);
1121
+ border-left-color: #666;
1122
+ box-shadow: none;
1123
+ }
1124
+ @-webkit-keyframes edd-spinning {
1125
+ 0% {
1126
+ -webkit-transform: rotate(0deg);
1127
+ transform: rotate(0deg);
1128
+ }
1129
+ 100% {
1130
+ -webkit-transform: rotate(360deg);
1131
+ transform: rotate(360deg);
1132
+ }
1133
+ }
1134
+ @keyframes edd-spinning {
1135
+ 0% {
1136
+ -webkit-transform: rotate(0deg);
1137
+ transform: rotate(0deg);
1138
+ }
1139
+ 100% {
1140
+ -webkit-transform: rotate(360deg);
1141
+ transform: rotate(360deg);
1142
+ }
1143
+ }
1144
  #edd_tax_rates {
1145
  margin: 1em 0 0;
1146
  }
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}#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%}#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}
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}#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}
assets/js/admin-scripts.js CHANGED
@@ -1216,6 +1216,23 @@ jQuery(document).ready(function ($) {
1216
  });
1217
  }
1218
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1219
  },
1220
 
1221
  misc : function() {
@@ -2158,3 +2175,62 @@ function edd_attach_tooltips( selector ) {
2158
  }
2159
  });
2160
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1216
  });
1217
  }
1218
 
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
+
1226
+ });
1227
+
1228
+ $('#edd-sendwp-disconnect').on('click', function(e) {
1229
+ e.preventDefault();
1230
+ $(this).html( edd_vars.wait + ' <span class="edd-loading dark"></span>' );
1231
+ document.body.style.cursor = 'wait';
1232
+ easy_digital_downloads_sendwp_disconnect();
1233
+
1234
+ });
1235
+
1236
  },
1237
 
1238
  misc : function() {
2175
  }
2176
  });
2177
  }
2178
+
2179
+ function easy_digital_downloads_sendwp_remote_install() {
2180
+ var data = {
2181
+ 'action': 'edd_sendwp_remote_install',
2182
+ };
2183
+
2184
+ // since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php
2185
+ jQuery.post(ajaxurl, data, function( response ) {
2186
+
2187
+ if( ! response.success ) {
2188
+
2189
+ if( confirm( response.data.error ) ) {
2190
+ location.reload();
2191
+ return;
2192
+ }
2193
+ }
2194
+
2195
+ easy_digital_downloads_sendwp_register_client(
2196
+ response.data.register_url,
2197
+ response.data.client_name,
2198
+ response.data.client_secret,
2199
+ response.data.client_redirect,
2200
+ response.data.partner_id
2201
+ );
2202
+ });
2203
+ }
2204
+
2205
+ function easy_digital_downloads_sendwp_disconnect() {
2206
+ var data = {
2207
+ 'action': 'edd_sendwp_disconnect',
2208
+ };
2209
+
2210
+ jQuery.post(ajaxurl, data, function( response ) {
2211
+ location.reload();
2212
+ });
2213
+ }
2214
+
2215
+ function easy_digital_downloads_sendwp_register_client(register_url, client_name, client_secret, client_redirect, partner_id) {
2216
+
2217
+ var form = document.createElement("form");
2218
+ form.setAttribute("method", 'POST');
2219
+ form.setAttribute("action", register_url);
2220
+
2221
+ function easy_digital_downloads_sendwp_append_form_input(name, value) {
2222
+ var input = document.createElement("input");
2223
+ input.setAttribute("type", "hidden");
2224
+ input.setAttribute("name", name);
2225
+ input.setAttribute("value", value);
2226
+ form.appendChild(input);
2227
+ }
2228
+
2229
+ easy_digital_downloads_sendwp_append_form_input('client_name', client_name);
2230
+ easy_digital_downloads_sendwp_append_form_input('client_secret', client_secret);
2231
+ easy_digital_downloads_sendwp_append_form_input('client_redirect', client_redirect);
2232
+ easy_digital_downloads_sendwp_append_form_input('partner_id', partner_id);
2233
+
2234
+ document.body.appendChild(form);
2235
+ form.submit();
2236
+ }
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"})}},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}})}
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()}
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.14
9
  * Text Domain: easy-digital-downloads
10
  * Domain Path: languages
11
  *
@@ -25,7 +25,7 @@
25
  * @package EDD
26
  * @category Core
27
  * @author Pippin Williamson
28
- * @version 2.9.14
29
  */
30
 
31
  // Exit if accessed directly.
@@ -206,7 +206,7 @@ final class Easy_Digital_Downloads {
206
 
207
  // Plugin version.
208
  if ( ! defined( 'EDD_VERSION' ) ) {
209
- define( 'EDD_VERSION', '2.9.14' );
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.15
9
  * Text Domain: easy-digital-downloads
10
  * Domain Path: languages
11
  *
25
  * @package EDD
26
  * @category Core
27
  * @author Pippin Williamson
28
+ * @version 2.9.15
29
  */
30
 
31
  // Exit if accessed directly.
206
 
207
  // Plugin version.
208
  if ( ! defined( 'EDD_VERSION' ) ) {
209
+ define( 'EDD_VERSION', '2.9.15' );
210
  }
211
 
212
  // Plugin Folder Path.
includes/admin/class-edd-notices.php CHANGED
@@ -173,6 +173,9 @@ class EDD_Notices {
173
  case 'api-key-revoked' :
174
  $notices['updated']['edd-api-key-revoked'] = __( 'API keys successfully revoked.', 'easy-digital-downloads' );
175
  break;
 
 
 
176
  }
177
  }
178
 
173
  case 'api-key-revoked' :
174
  $notices['updated']['edd-api-key-revoked'] = __( 'API keys successfully revoked.', 'easy-digital-downloads' );
175
  break;
176
+ case 'sendwp-connected' :
177
+ $notices['updated']['edd-sendwp-connected'] = __( 'SendWP has been successfully connected!', 'easy-digital-downloads' );
178
+ break;
179
  }
180
  }
181
 
includes/admin/settings/register-settings.php CHANGED
@@ -453,9 +453,25 @@ function edd_get_registered_settings() {
453
  'emails' => apply_filters('edd_settings_emails',
454
  array(
455
  'main' => array(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
456
  'email_template' => array(
457
  'id' => 'email_template',
458
- 'name' => __( 'Email Template', 'easy-digital-downloads' ),
459
  'desc' => __( 'Choose a template. Click "Save Changes" then "Preview Purchase Receipt" to see the new template.', 'easy-digital-downloads' ),
460
  'type' => 'select',
461
  'options' => edd_get_email_templates(),
@@ -2124,6 +2140,58 @@ function edd_shop_states_callback($args) {
2124
  echo apply_filters( 'edd_after_setting_output', $html, $args );
2125
  }
2126
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2127
  /**
2128
  * Tax Rates Callback
2129
  *
453
  'emails' => apply_filters('edd_settings_emails',
454
  array(
455
  'main' => array(
456
+ 'sendwp_header' => array(
457
+ 'id' => 'sendwp_header',
458
+ 'name' => '<strong>' . __( 'SendWP Settings', 'easy-digital-downloads' ) . '</strong>',
459
+ 'type' => 'header',
460
+ ),
461
+ 'sendwp' => array(
462
+ 'id' => 'sendwp',
463
+ 'name' => __( 'Connection Status', 'easy-digital-downloads' ),
464
+ 'desc' => '<p>' . __( 'Looking for a reliable, affordable way to deliver important emails to your customers? Try <a href="https://sendwp.com" target="_blank" rel="noopener noreferrer">SendWP</a>.', 'easy-digital-downloads' ) . '</p><p>' . __( 'For more information on this paid service, see the <a href="https://docs.easydigitaldownloads.com/article/2143-sendwp-email-delivery" target="_blank" rel="noopener noreferrer">documentation</a>.', 'easy-digital-downloads' ) . '</p>',
465
+ 'type' => 'sendwp',
466
+ ),
467
+ 'email_header' => array(
468
+ 'id' => 'email_header',
469
+ 'name' => '<strong>' . __( 'Email Configuration', 'easy-digital-downloads' ) . '</strong>',
470
+ 'type' => 'header',
471
+ ),
472
  'email_template' => array(
473
  'id' => 'email_template',
474
+ 'name' => __( 'Template', 'easy-digital-downloads' ),
475
  'desc' => __( 'Choose a template. Click "Save Changes" then "Preview Purchase Receipt" to see the new template.', 'easy-digital-downloads' ),
476
  'type' => 'select',
477
  'options' => edd_get_email_templates(),
2140
  echo apply_filters( 'edd_after_setting_output', $html, $args );
2141
  }
2142
 
2143
+ /**
2144
+ * SendWP Callback
2145
+ *
2146
+ * Renders SendWP Settings
2147
+ *
2148
+ * @since 2.9.15
2149
+ * @param array $args Arguments passed by the setting
2150
+ * @return void
2151
+ */
2152
+ function edd_sendwp_callback($args) {
2153
+
2154
+ // Connection status partial label based on the state of the SendWP email sending setting (Tools -> SendWP)
2155
+ $connected = sprintf(
2156
+ __( '<a href="https://sendwp.com/account/" target="_blank" rel="noopener noreferrer">Click here</a> to visit your account.', 'easy-digital-downloads' )
2157
+ );
2158
+ $disconnected = sprintf(
2159
+ __( '<em><strong>Note:</strong> Email sending is currently disabled. <a href="' . admin_url( '/tools.php?page=sendwp' ) . '">Click here</a> to enable it.</em>', 'easy-digital-downloads' )
2160
+ );
2161
+
2162
+ // Checks if SendWP is connected
2163
+ $client_connected = function_exists( 'sendwp_client_connected' ) && sendwp_client_connected() ? true : false;
2164
+
2165
+ // Checks if email sending is enabled in SendWP
2166
+ $forwarding_enabled = function_exists( 'sendwp_forwarding_enabled' ) && sendwp_forwarding_enabled() ? true : false;
2167
+
2168
+ ob_start();
2169
+
2170
+ // Output the appropriate button and label based on connection status
2171
+ if( $client_connected ) :
2172
+ ?>
2173
+
2174
+ <p>
2175
+ <button id="edd-sendwp-disconnect" class="button"><?php _e( 'Disconnect SendWP', 'easy-digital-downloads' ); ?></button>
2176
+ </p>
2177
+ <p>Your site is connected to SendWP. <?php echo $forwarding_enabled ? $connected : $disconnected ; ?></p>
2178
+
2179
+ <?php
2180
+ else :
2181
+ ?>
2182
+
2183
+ <p>
2184
+ <button id="edd-sendwp-connect" class="button button-primary"><span class="dashicons dashicons-email"></span><?php _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
  *
includes/checkout/template.php CHANGED
@@ -972,15 +972,23 @@ function edd_checkout_button_next() {
972
  * @return string
973
  */
974
  function edd_checkout_button_purchase() {
975
- $color = edd_get_option( 'checkout_color', 'blue' );
976
- $color = ( $color == 'inherit' ) ? '' : $color;
977
- $style = edd_get_option( 'button_style', 'button' );
978
- $label = edd_get_checkout_button_purchase_label();
979
 
980
  ob_start();
981
- ?>
982
- <input type="submit" class="edd-submit <?php echo $color; ?> <?php echo $style; ?>" id="edd-purchase-button" name="edd-purchase" value="<?php echo $label; ?>"/>
983
- <?php
 
 
 
 
 
 
 
 
 
 
 
 
984
  return apply_filters( 'edd_checkout_button_purchase', ob_get_clean() );
985
  }
986
 
972
  * @return string
973
  */
974
  function edd_checkout_button_purchase() {
 
 
 
 
975
 
976
  ob_start();
977
+
978
+ $enabled_gateways = edd_get_enabled_payment_gateways();
979
+ $cart_total = edd_get_cart_total();
980
+
981
+ if ( ! empty( $enabled_gateways ) || empty( $cart_total ) ) {
982
+ $color = edd_get_option( 'checkout_color', 'blue' );
983
+ $color = ( $color == 'inherit' ) ? '' : $color;
984
+ $style = edd_get_option( 'button_style', 'button' );
985
+ $label = edd_get_checkout_button_purchase_label();
986
+
987
+ ?>
988
+ <input type="submit" class="edd-submit <?php echo $color; ?> <?php echo $style; ?>" id="edd-purchase-button" name="edd-purchase" value="<?php echo $label; ?>"/>
989
+ <?php
990
+ }
991
+
992
  return apply_filters( 'edd_checkout_button_purchase', ob_get_clean() );
993
  }
994
 
includes/emails/functions.php CHANGED
@@ -281,3 +281,98 @@ function edd_get_email_names( $user_info, $payment = false ) {
281
 
282
  return $email_names;
283
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
281
 
282
  return $email_names;
283
  }
284
+
285
+ /**
286
+ * Handle installation and connection for SendWP via ajax
287
+ *
288
+ * @since 2.9.15
289
+ */
290
+ function edd_sendwp_remote_install_handler () {
291
+
292
+ if ( ! current_user_can( 'manage_shop_settings' ) ) {
293
+ wp_send_json_error( array(
294
+ 'error' => __( 'You do not have permission to do this.', 'easy-digital-downloads' )
295
+ ) );
296
+ }
297
+
298
+ include_once ABSPATH . 'wp-admin/includes/plugin-install.php';
299
+ include_once ABSPATH . 'wp-admin/includes/file.php';
300
+ include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
301
+
302
+ $plugins = get_plugins();
303
+
304
+ if( ! array_key_exists( 'sendwp/sendwp.php', $plugins ) ) {
305
+
306
+ /*
307
+ * Use the WordPress Plugins API to get the plugin download link.
308
+ */
309
+ $api = plugins_api( 'plugin_information', array(
310
+ 'slug' => 'sendwp',
311
+ ) );
312
+
313
+ if ( is_wp_error( $api ) ) {
314
+ wp_send_json_error( array(
315
+ 'error' => $install->get_error_message(),
316
+ 'debug' => $api
317
+ ) );
318
+ }
319
+
320
+ /*
321
+ * Use the AJAX Upgrader skin to quietly install the plugin.
322
+ */
323
+ $upgrader = new Plugin_Upgrader( new WP_Ajax_Upgrader_Skin() );
324
+ $install = $upgrader->install( $api->download_link );
325
+ if ( is_wp_error( $install ) ) {
326
+ wp_send_json_error( array(
327
+ 'error' => $install->get_error_message(),
328
+ 'debug' => $api
329
+ ) );
330
+ }
331
+
332
+ $activated = activate_plugin( $upgrader->plugin_info() );
333
+
334
+ } else {
335
+
336
+ $activated = activate_plugin( 'sendwp/sendwp.php' );
337
+
338
+ }
339
+
340
+ /*
341
+ * Final check to see if SendWP is available.
342
+ */
343
+ if( ! function_exists('sendwp_get_server_url') ) {
344
+ wp_send_json_error( array(
345
+ 'error' => __( 'Something went wrong. SendWP was not installed correctly.', 'easy-digital-downloads' )
346
+ ) );
347
+ }
348
+
349
+ wp_send_json_success( array(
350
+ 'partner_id' => 81,
351
+ 'register_url' => sendwp_get_server_url() . '_/signup',
352
+ 'client_name' => sendwp_get_client_name(),
353
+ 'client_secret' => sendwp_get_client_secret(),
354
+ 'client_redirect' => admin_url( '/edit.php?post_type=download&page=edd-settings&tab=emails&edd-message=sendwp-connected' ),
355
+ ) );
356
+ }
357
+ add_action( 'wp_ajax_edd_sendwp_remote_install', 'edd_sendwp_remote_install_handler' );
358
+
359
+ /**
360
+ * Handle deactivation of SendWP via ajax
361
+ *
362
+ * @since 2.9.15
363
+ */
364
+ function edd_sendwp_disconnect () {
365
+
366
+ if ( ! current_user_can( 'manage_shop_settings' ) ) {
367
+ wp_send_json_error( array(
368
+ 'error' => __( 'You do not have permission to do this.', 'easy-digital-downloads' )
369
+ ) );
370
+ }
371
+
372
+ sendwp_disconnect_client();
373
+
374
+ deactivate_plugins( 'sendwp/sendwp.php' );
375
+
376
+ wp_send_json_success();
377
+ }
378
+ add_action( 'wp_ajax_edd_sendwp_disconnect', 'edd_sendwp_disconnect' );
includes/scripts.php CHANGED
@@ -234,6 +234,7 @@ function edd_load_admin_scripts( $hook ) {
234
  'show_advanced_settings' => __( 'Show advanced settings', 'easy-digital-downloads' ),
235
  'hide_advanced_settings' => __( 'Hide advanced settings', 'easy-digital-downloads' ),
236
  'no_downloads_error' => __( 'There are no downloads attached to this payment', 'easy-digital-downloads' ),
 
237
  ));
238
 
239
  /*
234
  'show_advanced_settings' => __( 'Show advanced settings', 'easy-digital-downloads' ),
235
  'hide_advanced_settings' => __( 'Hide advanced settings', 'easy-digital-downloads' ),
236
  'no_downloads_error' => __( 'There are no downloads attached to this payment', 'easy-digital-downloads' ),
237
+ 'wait' => __( 'Please wait &hellip;', 'easy-digital-downloads' ),
238
  ));
239
 
240
  /*
languages/easy-digital-downloads.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the Easy Digital Downloads package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Easy Digital Downloads 2.9.14\n"
6
  "Report-Msgid-Bugs-To: https://easydigitaldownloads.com/\n"
7
- "POT-Creation-Date: 2019-05-08 19:35:59+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -196,7 +196,7 @@ msgstr ""
196
 
197
  #: includes/admin/admin-pages.php:43 includes/admin/plugins.php:57
198
  #: includes/admin/settings/contextual-help.php:87
199
- #: includes/admin/settings/register-settings.php:1341
200
  msgid "Extensions"
201
  msgstr ""
202
 
@@ -371,39 +371,43 @@ msgstr ""
371
  msgid "API keys successfully revoked."
372
  msgstr ""
373
 
374
- #: includes/admin/class-edd-notices.php:183
375
- msgid "The payment note has been added successfully."
376
  msgstr ""
377
 
378
  #: includes/admin/class-edd-notices.php:186
 
 
 
 
379
  msgid "The payment has been successfully updated."
380
  msgstr ""
381
 
382
- #: includes/admin/class-edd-notices.php:195
383
  msgid "Customer successfully deleted"
384
  msgstr ""
385
 
386
- #: includes/admin/class-edd-notices.php:198
387
  msgid "User successfully verified"
388
  msgstr ""
389
 
390
- #: includes/admin/class-edd-notices.php:201
391
  msgid "Customer email added"
392
  msgstr ""
393
 
394
- #: includes/admin/class-edd-notices.php:204
395
  msgid "Customer email removed"
396
  msgstr ""
397
 
398
- #: includes/admin/class-edd-notices.php:207
399
  msgid "Failed to remove customer email"
400
  msgstr ""
401
 
402
- #: includes/admin/class-edd-notices.php:210
403
  msgid "Primary email updated for customer"
404
  msgstr ""
405
 
406
- #: includes/admin/class-edd-notices.php:213
407
  msgid "Failed to set primary email"
408
  msgstr ""
409
 
@@ -431,7 +435,7 @@ msgstr ""
431
  #: includes/admin/discounts/class-discount-codes-table.php:267
432
  #: includes/admin/payments/class-payments-table.php:367
433
  #: includes/admin/payments/class-payments-table.php:435
434
- #: includes/admin/settings/register-settings.php:930
435
  #: includes/payments/functions.php:1618
436
  msgid "Delete"
437
  msgstr ""
@@ -639,7 +643,7 @@ msgid "City"
639
  msgstr ""
640
 
641
  #: includes/admin/customers/customers.php:269
642
- #: includes/admin/settings/register-settings.php:2146
643
  #: includes/admin/tools.php:695 includes/checkout/template.php:435
644
  #: templates/shortcode-profile-editor.php:171
645
  msgid "State / Province"
@@ -744,7 +748,7 @@ msgstr ""
744
  #: includes/admin/downloads/metabox.php:698
745
  #: includes/admin/downloads/metabox.php:823
746
  #: includes/admin/payments/view-order-details.php:523
747
- #: includes/admin/settings/register-settings.php:2149 includes/scripts.php:227
748
  #: templates/checkout_cart.php:57 templates/checkout_cart.php:75
749
  #: templates/shortcode-profile-editor.php:123
750
  msgid "Remove"
@@ -1253,13 +1257,13 @@ msgstr ""
1253
 
1254
  #: includes/admin/discounts/contextual-help.php:38
1255
  #: includes/admin/settings/contextual-help.php:42
1256
- #: includes/admin/settings/register-settings.php:1333
1257
- #: includes/admin/settings/register-settings.php:1389
1258
- #: includes/admin/settings/register-settings.php:1394
1259
- #: includes/admin/settings/register-settings.php:1398
1260
- #: includes/admin/settings/register-settings.php:1403
1261
- #: includes/admin/settings/register-settings.php:1406
1262
- #: includes/admin/settings/register-settings.php:1421
1263
  #: includes/admin/tools.php:68
1264
  msgid "General"
1265
  msgstr ""
@@ -1764,8 +1768,8 @@ msgid ""
1764
  msgstr ""
1765
 
1766
  #: includes/admin/downloads/metabox.php:1031
1767
- #: includes/admin/settings/register-settings.php:747
1768
- #: includes/admin/thickbox.php:59 includes/checkout/template.php:997
1769
  #: includes/shortcodes.php:49 includes/template-functions.php:78
1770
  msgid "Purchase"
1771
  msgstr ""
@@ -1805,13 +1809,13 @@ msgid ""
1805
  msgstr ""
1806
 
1807
  #: includes/admin/downloads/metabox.php:1105
1808
- #: includes/admin/settings/register-settings.php:761
1809
  #: includes/admin/thickbox.php:101
1810
  msgid "Add to Cart"
1811
  msgstr ""
1812
 
1813
  #: includes/admin/downloads/metabox.php:1106
1814
- #: includes/admin/settings/register-settings.php:775 includes/shortcodes.php:47
1815
  #: includes/template-functions.php:78
1816
  msgid "Buy Now"
1817
  msgstr ""
@@ -2245,7 +2249,7 @@ msgstr[0] ""
2245
  msgstr[1] ""
2246
 
2247
  #: includes/admin/payments/view-order-details.php:152
2248
- #: includes/admin/settings/register-settings.php:723
2249
  msgid "None"
2250
  msgstr ""
2251
 
@@ -2615,7 +2619,7 @@ msgstr ""
2615
 
2616
  #: includes/admin/reporting/class-export-payments.php:68
2617
  #: includes/admin/reporting/export/class-batch-export-payments.php:49
2618
- #: includes/admin/settings/register-settings.php:2145
2619
  #: includes/admin/tools.php:713 templates/shortcode-profile-editor.php:162
2620
  msgid "Country"
2621
  msgstr ""
@@ -2831,7 +2835,7 @@ msgid "Files"
2831
  msgstr ""
2832
 
2833
  #: includes/admin/reporting/export/class-batch-export-downloads.php:53
2834
- #: includes/admin/settings/register-settings.php:799
2835
  #: includes/admin/tools.php:896
2836
  msgid "File Download Limit"
2837
  msgstr ""
@@ -2880,7 +2884,7 @@ msgstr ""
2880
 
2881
  #: includes/admin/reporting/export/class-batch-export-payments.php:62
2882
  #: includes/admin/settings/register-settings.php:355
2883
- #: includes/admin/settings/register-settings.php:1390
2884
  msgid "Currency"
2885
  msgstr ""
2886
 
@@ -3012,7 +3016,7 @@ msgid "Refresh Reports"
3012
  msgstr ""
3013
 
3014
  #: includes/admin/reporting/logs.php:144
3015
- #: includes/admin/settings/register-settings.php:1416
3016
  #: includes/privacy-functions.php:544
3017
  msgid "File Downloads"
3018
  msgstr ""
@@ -3043,7 +3047,7 @@ msgstr ""
3043
 
3044
  #: includes/admin/reporting/reports.php:59
3045
  #: includes/admin/settings/contextual-help.php:71
3046
- #: includes/admin/settings/register-settings.php:1337
3047
  msgid "Taxes"
3048
  msgstr ""
3049
 
@@ -3190,7 +3194,7 @@ msgstr ""
3190
 
3191
  #: includes/admin/settings/contextual-help.php:48
3192
  #: includes/admin/settings/register-settings.php:423
3193
- #: includes/admin/settings/register-settings.php:1334
3194
  msgid "Payment Gateways"
3195
  msgstr ""
3196
 
@@ -3219,7 +3223,7 @@ msgid ""
3219
  msgstr ""
3220
 
3221
  #: includes/admin/settings/contextual-help.php:57
3222
- #: includes/admin/settings/register-settings.php:1335
3223
  msgid "Emails"
3224
  msgstr ""
3225
 
@@ -3239,7 +3243,7 @@ msgid ""
3239
  msgstr ""
3240
 
3241
  #: includes/admin/settings/contextual-help.php:65
3242
- #: includes/admin/settings/register-settings.php:1336
3243
  msgid "Styles"
3244
  msgstr ""
3245
 
@@ -3322,7 +3326,7 @@ msgid ""
3322
  msgstr ""
3323
 
3324
  #: includes/admin/settings/contextual-help.php:93
3325
- #: includes/admin/settings/register-settings.php:1413
3326
  msgid "Miscellaneous"
3327
  msgstr ""
3328
 
@@ -3499,7 +3503,7 @@ msgid "The symbol (usually , or .) to separate decimal points."
3499
  msgstr ""
3500
 
3501
  #: includes/admin/settings/register-settings.php:391
3502
- #: includes/admin/settings/register-settings.php:1391
3503
  msgid "API"
3504
  msgstr ""
3505
 
@@ -3568,262 +3572,288 @@ msgid ""
3568
  msgstr ""
3569
 
3570
  #: includes/admin/settings/register-settings.php:458
3571
- msgid "Email Template"
 
 
 
 
 
 
 
 
 
 
 
3572
  msgstr ""
3573
 
3574
- #: includes/admin/settings/register-settings.php:459
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3575
  msgid ""
3576
  "Choose a template. Click \"Save Changes\" then \"Preview Purchase Receipt\" "
3577
  "to see the new template."
3578
  msgstr ""
3579
 
3580
- #: includes/admin/settings/register-settings.php:465
3581
  msgid "Logo"
3582
  msgstr ""
3583
 
3584
- #: includes/admin/settings/register-settings.php:466
3585
  msgid ""
3586
  "Upload or choose a logo to be displayed at the top of the purchase receipt "
3587
  "emails. Displayed on HTML emails only."
3588
  msgstr ""
3589
 
3590
- #: includes/admin/settings/register-settings.php:471
3591
  msgid "From Name"
3592
  msgstr ""
3593
 
3594
- #: includes/admin/settings/register-settings.php:472
3595
  msgid ""
3596
  "The name purchase receipts are said to come from. This should probably be "
3597
  "your site or shop name."
3598
  msgstr ""
3599
 
3600
- #: includes/admin/settings/register-settings.php:478
3601
  msgid "From Email"
3602
  msgstr ""
3603
 
3604
- #: includes/admin/settings/register-settings.php:479
3605
  msgid ""
3606
  "Email to send purchase receipts from. This will act as the \"from\" and "
3607
  "\"reply-to\" address."
3608
  msgstr ""
3609
 
3610
- #: includes/admin/settings/register-settings.php:499
3611
  msgid "Purchase Email Subject"
3612
  msgstr ""
3613
 
3614
- #: includes/admin/settings/register-settings.php:500
3615
  msgid "Enter the subject line for the purchase receipt email."
3616
  msgstr ""
3617
 
3618
- #: includes/admin/settings/register-settings.php:502
3619
- #: includes/admin/settings/register-settings.php:509
3620
- #: includes/admin/settings/register-settings.php:513
3621
  #: includes/emails/functions.php:45 includes/emails/functions.php:49
3622
  #: includes/emails/functions.php:87 includes/emails/functions.php:91
3623
  #: includes/emails/template.php:141
3624
  msgid "Purchase Receipt"
3625
  msgstr ""
3626
 
3627
- #: includes/admin/settings/register-settings.php:506
3628
  msgid "Purchase Email Heading"
3629
  msgstr ""
3630
 
3631
- #: includes/admin/settings/register-settings.php:507
3632
  msgid "Enter the heading for the purchase receipt email."
3633
  msgstr ""
3634
 
3635
- #: includes/admin/settings/register-settings.php:514
3636
  msgid ""
3637
  "Enter the text that is sent as purchase receipt email to users after "
3638
  "completion of a successful purchase. HTML is accepted. Available template "
3639
  "tags:"
3640
  msgstr ""
3641
 
3642
- #: includes/admin/settings/register-settings.php:516
3643
  #: includes/emails/template.php:159
3644
  msgid "Dear"
3645
  msgstr ""
3646
 
3647
- #: includes/admin/settings/register-settings.php:516
3648
  #: includes/emails/template.php:160
3649
  msgid ""
3650
  "Thank you for your purchase. Please click on the link(s) below to download "
3651
  "your files."
3652
  msgstr ""
3653
 
3654
- #: includes/admin/settings/register-settings.php:522
3655
  msgid "Sale Notification Subject"
3656
  msgstr ""
3657
 
3658
- #: includes/admin/settings/register-settings.php:523
3659
  msgid "Enter the subject line for the sale notification email."
3660
  msgstr ""
3661
 
3662
- #: includes/admin/settings/register-settings.php:529
3663
  msgid "Sale Notification Heading"
3664
  msgstr ""
3665
 
3666
- #: includes/admin/settings/register-settings.php:530
3667
  msgid "Enter the heading for the sale notification email."
3668
  msgstr ""
3669
 
3670
- #: includes/admin/settings/register-settings.php:532
3671
  #: includes/emails/functions.php:140
3672
  msgid "New Sale!"
3673
  msgstr ""
3674
 
3675
- #: includes/admin/settings/register-settings.php:536
3676
  msgid "Sale Notification"
3677
  msgstr ""
3678
 
3679
- #: includes/admin/settings/register-settings.php:537
3680
  msgid ""
3681
  "Enter the text that is sent as sale notification email after completion of "
3682
  "a purchase. HTML is accepted. Available template tags:"
3683
  msgstr ""
3684
 
3685
- #: includes/admin/settings/register-settings.php:543
3686
  msgid "Sale Notification Emails"
3687
  msgstr ""
3688
 
3689
- #: includes/admin/settings/register-settings.php:544
3690
  msgid ""
3691
  "Enter the email address(es) that should receive a notification anytime a "
3692
  "sale is made, one per line."
3693
  msgstr ""
3694
 
3695
- #: includes/admin/settings/register-settings.php:550
3696
  msgid "Disable Admin Notifications"
3697
  msgstr ""
3698
 
3699
- #: includes/admin/settings/register-settings.php:551
3700
  msgid "Check this box if you do not want to receive sales notification emails."
3701
  msgstr ""
3702
 
3703
- #: includes/admin/settings/register-settings.php:563
3704
  msgid "Disable Styles"
3705
  msgstr ""
3706
 
3707
- #: includes/admin/settings/register-settings.php:564
3708
  msgid ""
3709
  "Check this to disable all included styling of buttons, checkout fields, and "
3710
  "all other elements."
3711
  msgstr ""
3712
 
3713
- #: includes/admin/settings/register-settings.php:566
3714
  msgid "Disabling Styles"
3715
  msgstr ""
3716
 
3717
- #: includes/admin/settings/register-settings.php:567
3718
  msgid ""
3719
  "If your theme has a complete custom CSS file for Easy Digital Downloads, "
3720
  "you may wish to disable our default styles. This is not recommended unless "
3721
  "you're sure your theme has a complete custom CSS."
3722
  msgstr ""
3723
 
3724
- #: includes/admin/settings/register-settings.php:571
3725
  msgid "Buttons"
3726
  msgstr ""
3727
 
3728
- #: includes/admin/settings/register-settings.php:572
3729
  msgid "Options for add to cart and purchase buttons"
3730
  msgstr ""
3731
 
3732
- #: includes/admin/settings/register-settings.php:577
3733
  msgid "Default Button Style"
3734
  msgstr ""
3735
 
3736
- #: includes/admin/settings/register-settings.php:578
3737
  msgid "Choose the style you want to use for the buttons."
3738
  msgstr ""
3739
 
3740
- #: includes/admin/settings/register-settings.php:584
3741
  msgid "Default Button Color"
3742
  msgstr ""
3743
 
3744
- #: includes/admin/settings/register-settings.php:585
3745
  msgid "Choose the color you want to use for the buttons."
3746
  msgstr ""
3747
 
3748
- #: includes/admin/settings/register-settings.php:598
3749
  msgid "Need help?"
3750
  msgstr ""
3751
 
3752
- #: includes/admin/settings/register-settings.php:599
3753
  msgid ""
3754
  "Visit the <a href=\"%s\" target=\"_blank\">Tax setup documentation</a> for "
3755
  "further information. If you need VAT support, there are options listed on "
3756
  "the documentation page."
3757
  msgstr ""
3758
 
3759
- #: includes/admin/settings/register-settings.php:604
3760
  msgid "Enable Taxes"
3761
  msgstr ""
3762
 
3763
- #: includes/admin/settings/register-settings.php:605
3764
  msgid "Check this to enable taxes on purchases."
3765
  msgstr ""
3766
 
3767
- #: includes/admin/settings/register-settings.php:607
3768
  msgid "Enabling Taxes"
3769
  msgstr ""
3770
 
3771
- #: includes/admin/settings/register-settings.php:608
3772
  msgid ""
3773
  "With taxes enabled, Easy Digital Downloads will use the rules below to "
3774
  "charge tax to customers. With taxes enabled, customers are required to "
3775
  "input their address on checkout so that taxes can be properly calculated."
3776
  msgstr ""
3777
 
3778
- #: includes/admin/settings/register-settings.php:612
3779
  msgid "Tax Rates"
3780
  msgstr ""
3781
 
3782
- #: includes/admin/settings/register-settings.php:613
3783
  msgid ""
3784
  "Add tax rates for specific regions. Enter a percentage, such as 6.5 for "
3785
  "6.5%."
3786
  msgstr ""
3787
 
3788
- #: includes/admin/settings/register-settings.php:618
3789
- #: includes/admin/settings/register-settings.php:622
3790
  msgid "Fallback Tax Rate"
3791
  msgstr ""
3792
 
3793
- #: includes/admin/settings/register-settings.php:619
3794
  msgid ""
3795
  "Customers not in a specific rate will be charged this tax rate. Enter a "
3796
  "percentage, such as 6.5 for 6.5%. "
3797
  msgstr ""
3798
 
3799
- #: includes/admin/settings/register-settings.php:623
3800
  msgid ""
3801
  "If the customer's address fails to meet the above tax rules, you can define "
3802
  "a `default` tax rate to be applied to all other customers. Enter a "
3803
  "percentage, such as 6.5 for 6.5%."
3804
  msgstr ""
3805
 
3806
- #: includes/admin/settings/register-settings.php:627
3807
  msgid "Prices entered with tax"
3808
  msgstr ""
3809
 
3810
- #: includes/admin/settings/register-settings.php:628
3811
  msgid "This option affects how you enter prices."
3812
  msgstr ""
3813
 
3814
- #: includes/admin/settings/register-settings.php:632
3815
  msgid "Yes, I will enter prices inclusive of tax"
3816
  msgstr ""
3817
 
3818
- #: includes/admin/settings/register-settings.php:633
3819
  msgid "No, I will enter prices exclusive of tax"
3820
  msgstr ""
3821
 
3822
- #: includes/admin/settings/register-settings.php:635
3823
  msgid "Prices Inclusive of Tax"
3824
  msgstr ""
3825
 
3826
- #: includes/admin/settings/register-settings.php:636
3827
  msgid ""
3828
  "When using prices inclusive of tax, you will be entering your prices as the "
3829
  "total amount you want a customer to pay for the download, including tax. "
@@ -3831,217 +3861,217 @@ msgid ""
3831
  "for the defined total price."
3832
  msgstr ""
3833
 
3834
- #: includes/admin/settings/register-settings.php:640
3835
  msgid "Display Tax Rate on Prices"
3836
  msgstr ""
3837
 
3838
- #: includes/admin/settings/register-settings.php:641
3839
  msgid "Some countries require a notice when product prices include tax."
3840
  msgstr ""
3841
 
3842
- #: includes/admin/settings/register-settings.php:646
3843
  msgid "Display during checkout"
3844
  msgstr ""
3845
 
3846
- #: includes/admin/settings/register-settings.php:647
3847
  msgid "Should prices on the checkout page be shown with or without tax?"
3848
  msgstr ""
3849
 
3850
- #: includes/admin/settings/register-settings.php:651
3851
  msgid "Including tax"
3852
  msgstr ""
3853
 
3854
- #: includes/admin/settings/register-settings.php:652
3855
  msgid "Excluding tax"
3856
  msgstr ""
3857
 
3858
- #: includes/admin/settings/register-settings.php:654
3859
  msgid "Taxes Displayed for Products on Checkout"
3860
  msgstr ""
3861
 
3862
- #: includes/admin/settings/register-settings.php:655
3863
  msgid ""
3864
  "This option will determine whether the product price displays with or "
3865
  "without tax on checkout."
3866
  msgstr ""
3867
 
3868
- #: includes/admin/settings/register-settings.php:673
3869
- #: includes/admin/settings/register-settings.php:676
3870
  msgid "Redirect to Checkout"
3871
  msgstr ""
3872
 
3873
- #: includes/admin/settings/register-settings.php:674
3874
  msgid "Immediately redirect to checkout after adding an item to the cart?"
3875
  msgstr ""
3876
 
3877
- #: includes/admin/settings/register-settings.php:677
3878
  msgid ""
3879
  "When enabled, once an item has been added to the cart, the customer will be "
3880
  "redirected directly to your checkout page. This is useful for stores that "
3881
  "sell single items."
3882
  msgstr ""
3883
 
3884
- #: includes/admin/settings/register-settings.php:681
3885
  msgid "Cart Item Quantities"
3886
  msgstr ""
3887
 
3888
- #: includes/admin/settings/register-settings.php:682
3889
  msgid ""
3890
  "Allow quantities to be adjusted when adding %s to the cart, and while "
3891
  "viewing the checkout cart."
3892
  msgstr ""
3893
 
3894
- #: includes/admin/settings/register-settings.php:687
3895
  msgid "Debug Mode"
3896
  msgstr ""
3897
 
3898
- #: includes/admin/settings/register-settings.php:688
3899
  msgid ""
3900
  "Check this box to enable debug mode. When enabled, debug messages will be "
3901
  "logged and shown in Downloads &rarr; Tools &rarr; Debug Log."
3902
  msgstr ""
3903
 
3904
- #: includes/admin/settings/register-settings.php:693
3905
  msgid "Remove Data on Uninstall?"
3906
  msgstr ""
3907
 
3908
- #: includes/admin/settings/register-settings.php:694
3909
  msgid ""
3910
  "Check this box if you would like EDD to completely remove all of its data "
3911
  "when the plugin is deleted."
3912
  msgstr ""
3913
 
3914
- #: includes/admin/settings/register-settings.php:701
3915
  msgid "Enforce SSL on Checkout"
3916
  msgstr ""
3917
 
3918
- #: includes/admin/settings/register-settings.php:702
3919
  msgid ""
3920
  "Check this to force users to be redirected to the secure checkout page. You "
3921
  "must have an SSL certificate installed to use this option."
3922
  msgstr ""
3923
 
3924
- #: includes/admin/settings/register-settings.php:707
3925
- #: includes/admin/settings/register-settings.php:710
3926
  msgid "Require Login"
3927
  msgstr ""
3928
 
3929
- #: includes/admin/settings/register-settings.php:708
3930
  msgid "Require that users be logged-in to purchase files."
3931
  msgstr ""
3932
 
3933
- #: includes/admin/settings/register-settings.php:711
3934
  msgid ""
3935
  "You can require that customers create and login to user accounts prior to "
3936
  "purchasing from your store by enabling this option. When unchecked, users "
3937
  "can purchase without being logged in by using their name and email address."
3938
  msgstr ""
3939
 
3940
- #: includes/admin/settings/register-settings.php:715
3941
  msgid "Show Register / Login Form?"
3942
  msgstr ""
3943
 
3944
- #: includes/admin/settings/register-settings.php:716
3945
  msgid ""
3946
  "Display the registration and login forms on the checkout page for "
3947
  "non-logged-in users."
3948
  msgstr ""
3949
 
3950
- #: includes/admin/settings/register-settings.php:720
3951
  msgid "Registration and Login Forms"
3952
  msgstr ""
3953
 
3954
- #: includes/admin/settings/register-settings.php:721
3955
  msgid "Registration Form Only"
3956
  msgstr ""
3957
 
3958
- #: includes/admin/settings/register-settings.php:722
3959
  msgid "Login Form Only"
3960
  msgstr ""
3961
 
3962
- #: includes/admin/settings/register-settings.php:728
3963
  msgid "Multiple Discounts"
3964
  msgstr ""
3965
 
3966
- #: includes/admin/settings/register-settings.php:729
3967
  msgid "Allow customers to use multiple discounts on the same purchase?"
3968
  msgstr ""
3969
 
3970
- #: includes/admin/settings/register-settings.php:734
3971
  msgid "Enable Cart Saving"
3972
  msgstr ""
3973
 
3974
- #: includes/admin/settings/register-settings.php:735
3975
  msgid "Check this to enable cart saving on the checkout."
3976
  msgstr ""
3977
 
3978
- #: includes/admin/settings/register-settings.php:737
3979
  msgid "Cart Saving"
3980
  msgstr ""
3981
 
3982
- #: includes/admin/settings/register-settings.php:738
3983
  msgid ""
3984
  "Cart saving allows shoppers to create a temporary link to their current "
3985
  "shopping cart so they can come back to it later, or share it with someone."
3986
  msgstr ""
3987
 
3988
- #: includes/admin/settings/register-settings.php:744
3989
  msgid "Complete Purchase Text"
3990
  msgstr ""
3991
 
3992
- #: includes/admin/settings/register-settings.php:745
3993
  msgid "The button label for completing a purchase."
3994
  msgstr ""
3995
 
3996
- #: includes/admin/settings/register-settings.php:751
3997
  msgid "Complete Free Purchase Text"
3998
  msgstr ""
3999
 
4000
- #: includes/admin/settings/register-settings.php:752
4001
  msgid "The button label for completing a free purchase."
4002
  msgstr ""
4003
 
4004
- #: includes/admin/settings/register-settings.php:754
4005
- #: includes/checkout/template.php:1000
4006
  msgid "Free Download"
4007
  msgstr ""
4008
 
4009
- #: includes/admin/settings/register-settings.php:758
4010
  msgid "Add to Cart Text"
4011
  msgstr ""
4012
 
4013
- #: includes/admin/settings/register-settings.php:759
4014
  msgid "Text shown on the Add to Cart Buttons."
4015
  msgstr ""
4016
 
4017
- #: includes/admin/settings/register-settings.php:765
4018
  msgid "Checkout Button Text"
4019
  msgstr ""
4020
 
4021
- #: includes/admin/settings/register-settings.php:766
4022
  msgid ""
4023
  "Text shown on the Add to Cart Button when the product is already in the "
4024
  "cart."
4025
  msgstr ""
4026
 
4027
- #: includes/admin/settings/register-settings.php:772
4028
  msgid "Buy Now Text"
4029
  msgstr ""
4030
 
4031
- #: includes/admin/settings/register-settings.php:773
4032
  msgid "Text shown on the Buy Now Buttons."
4033
  msgstr ""
4034
 
4035
- #: includes/admin/settings/register-settings.php:781
4036
- #: includes/admin/settings/register-settings.php:784
4037
  msgid "Download Method"
4038
  msgstr ""
4039
 
4040
- #: includes/admin/settings/register-settings.php:782
4041
  msgid "Select the file download method. Note, not all methods work on all servers."
4042
  msgstr ""
4043
 
4044
- #: includes/admin/settings/register-settings.php:785
4045
  msgid ""
4046
  "Due to its consistency in multiple platforms and better file protection, "
4047
  "'forced' is the default method. Because Easy Digital Downloads uses PHP to "
@@ -4052,35 +4082,35 @@ msgid ""
4052
  "method can help resolve this."
4053
  msgstr ""
4054
 
4055
- #: includes/admin/settings/register-settings.php:787
4056
  msgid "Forced"
4057
  msgstr ""
4058
 
4059
- #: includes/admin/settings/register-settings.php:788
4060
  msgid "Redirect"
4061
  msgstr ""
4062
 
4063
- #: includes/admin/settings/register-settings.php:793
4064
  msgid "Symlink File Downloads?"
4065
  msgstr ""
4066
 
4067
- #: includes/admin/settings/register-settings.php:794
4068
  msgid ""
4069
  "Check this if you are delivering really large files or having problems with "
4070
  "file downloads completing."
4071
  msgstr ""
4072
 
4073
- #: includes/admin/settings/register-settings.php:800
4074
  msgid ""
4075
  "The maximum number of times files can be downloaded for purchases. Can be "
4076
  "overwritten for each %s."
4077
  msgstr ""
4078
 
4079
- #: includes/admin/settings/register-settings.php:803
4080
  msgid "File Download Limits"
4081
  msgstr ""
4082
 
4083
- #: includes/admin/settings/register-settings.php:804
4084
  msgid ""
4085
  "Set the global default for the number of times a customer can download "
4086
  "items they purchase. Using a value of 0 is unlimited. This can be defined "
@@ -4088,18 +4118,18 @@ msgid ""
4088
  "individual purchase."
4089
  msgstr ""
4090
 
4091
- #: includes/admin/settings/register-settings.php:808
4092
- #: includes/admin/settings/register-settings.php:810
4093
  msgid "Download Link Expiration"
4094
  msgstr ""
4095
 
4096
- #: includes/admin/settings/register-settings.php:809
4097
  msgid ""
4098
  "How long should download links be valid for? Default is 24 hours from the "
4099
  "time they are generated. Enter a time in hours."
4100
  msgstr ""
4101
 
4102
- #: includes/admin/settings/register-settings.php:811
4103
  msgid ""
4104
  "When a customer receives a link to their downloads via email, in their "
4105
  "receipt, or in their purchase history, the link will only be valid for the "
@@ -4108,130 +4138,130 @@ msgid ""
4108
  "customer."
4109
  msgstr ""
4110
 
4111
- #: includes/admin/settings/register-settings.php:819
4112
  msgid "Disable Redownload?"
4113
  msgstr ""
4114
 
4115
- #: includes/admin/settings/register-settings.php:820
4116
  msgid ""
4117
  "Check this if you do not want to allow users to redownload items from their "
4118
  "purchase history."
4119
  msgstr ""
4120
 
4121
- #: includes/admin/settings/register-settings.php:827
4122
  msgid "Enable SKU Entry"
4123
  msgstr ""
4124
 
4125
- #: includes/admin/settings/register-settings.php:828
4126
  msgid ""
4127
  "Check this box to allow entry of product SKUs. SKUs will be shown on "
4128
  "purchase receipt and exported purchase histories."
4129
  msgstr ""
4130
 
4131
- #: includes/admin/settings/register-settings.php:833
4132
  msgid "Sequential Order Numbers"
4133
  msgstr ""
4134
 
4135
- #: includes/admin/settings/register-settings.php:834
4136
  msgid "Check this box to enable sequential order numbers."
4137
  msgstr ""
4138
 
4139
- #: includes/admin/settings/register-settings.php:839
4140
  msgid "Sequential Starting Number"
4141
  msgstr ""
4142
 
4143
- #: includes/admin/settings/register-settings.php:840
4144
  msgid "The number at which the sequence should begin."
4145
  msgstr ""
4146
 
4147
- #: includes/admin/settings/register-settings.php:847
4148
  msgid "Sequential Number Prefix"
4149
  msgstr ""
4150
 
4151
- #: includes/admin/settings/register-settings.php:848
4152
  msgid "A prefix to prepend to all sequential order numbers."
4153
  msgstr ""
4154
 
4155
- #: includes/admin/settings/register-settings.php:853
4156
  msgid "Sequential Number Postfix"
4157
  msgstr ""
4158
 
4159
- #: includes/admin/settings/register-settings.php:854
4160
  msgid "A postfix to append to all sequential order numbers."
4161
  msgstr ""
4162
 
4163
- #: includes/admin/settings/register-settings.php:861
4164
  msgid "Agree to Terms"
4165
  msgstr ""
4166
 
4167
- #: includes/admin/settings/register-settings.php:862
4168
  msgid ""
4169
  "Check this to show an agree to terms on checkout that users must agree to "
4170
  "before purchasing."
4171
  msgstr ""
4172
 
4173
- #: includes/admin/settings/register-settings.php:867
4174
  msgid "Agree to Terms Label"
4175
  msgstr ""
4176
 
4177
- #: includes/admin/settings/register-settings.php:868
4178
  msgid "Label shown next to the agree to terms checkbox."
4179
  msgstr ""
4180
 
4181
- #: includes/admin/settings/register-settings.php:874
4182
  msgid "Agreement Text"
4183
  msgstr ""
4184
 
4185
- #: includes/admin/settings/register-settings.php:875
4186
  msgid "If Agree to Terms is checked, enter the agreement terms here."
4187
  msgstr ""
4188
 
4189
- #: includes/admin/settings/register-settings.php:886
4190
  msgid "Agree to Privacy Policy"
4191
  msgstr ""
4192
 
4193
- #: includes/admin/settings/register-settings.php:887
4194
  msgid ""
4195
  "Check this to show an agree to Privacy Policy on checkout that users must "
4196
  "agree to before purchasing."
4197
  msgstr ""
4198
 
4199
- #: includes/admin/settings/register-settings.php:892
4200
  msgid "Agree to Privacy Policy Label"
4201
  msgstr ""
4202
 
4203
- #: includes/admin/settings/register-settings.php:893
4204
  msgid "Label shown next to the agree to Privacy Policy checkbox."
4205
  msgstr ""
4206
 
4207
- #: includes/admin/settings/register-settings.php:899
4208
  msgid "Show the Privacy Policy on checkout"
4209
  msgstr ""
4210
 
4211
- #: includes/admin/settings/register-settings.php:900
4212
  msgid "Display your Privacy Policy on checkout."
4213
  msgstr ""
4214
 
4215
- #: includes/admin/settings/register-settings.php:900
4216
  msgid "Set your Privacy Policy here"
4217
  msgstr ""
4218
 
4219
- #: includes/admin/settings/register-settings.php:913
4220
  msgid "Payment Status Actions"
4221
  msgstr ""
4222
 
4223
- #: includes/admin/settings/register-settings.php:915
4224
  msgid ""
4225
  "When a user requests to be anonymized or removed from a site, these are the "
4226
  "actions that will be taken on payments associated with their customer, by "
4227
  "status."
4228
  msgstr ""
4229
 
4230
- #: includes/admin/settings/register-settings.php:916
4231
  msgid "What settings should I use?"
4232
  msgstr ""
4233
 
4234
- #: includes/admin/settings/register-settings.php:917
4235
  msgid ""
4236
  "By default, Easy Digital Downloads sets suggested actions based on the "
4237
  "Payment Status. These are purely recommendations, and you may need to "
@@ -4239,208 +4269,222 @@ msgid ""
4239
  "leave these settings as is."
4240
  msgstr ""
4241
 
4242
- #: includes/admin/settings/register-settings.php:928
4243
  msgid "No Action"
4244
  msgstr ""
4245
 
4246
- #: includes/admin/settings/register-settings.php:929
4247
  msgid "Anonymize"
4248
  msgstr ""
4249
 
4250
- #: includes/admin/settings/register-settings.php:969
4251
  msgid "Buy Now Disabled"
4252
  msgstr ""
4253
 
4254
- #: includes/admin/settings/register-settings.php:970
4255
  msgid ""
4256
  "Buy Now buttons are only available for stores that have a single supported "
4257
  "gateway active and that do not use taxes."
4258
  msgstr ""
4259
 
4260
- #: includes/admin/settings/register-settings.php:1073
4261
  msgid "Settings updated."
4262
  msgstr ""
4263
 
4264
- #: includes/admin/settings/register-settings.php:1226
4265
  msgid "Error setting default gateway. No gateways are enabled."
4266
  msgstr ""
4267
 
4268
- #: includes/admin/settings/register-settings.php:1239
4269
  msgid "%s could not be set as the default gateway. It must first be enabled."
4270
  msgstr ""
4271
 
4272
- #: includes/admin/settings/register-settings.php:1338
4273
  msgid "Privacy"
4274
  msgstr ""
4275
 
4276
- #: includes/admin/settings/register-settings.php:1344
4277
  msgid "Licenses"
4278
  msgstr ""
4279
 
4280
- #: includes/admin/settings/register-settings.php:1347
4281
  msgid "Misc"
4282
  msgstr ""
4283
 
4284
- #: includes/admin/settings/register-settings.php:1395
4285
  #: includes/gateways/functions.php:25 includes/gateways/paypal-standard.php:33
4286
  msgid "PayPal Standard"
4287
  msgstr ""
4288
 
4289
- #: includes/admin/settings/register-settings.php:1399
4290
  msgid "Purchase Receipts"
4291
  msgstr ""
4292
 
4293
- #: includes/admin/settings/register-settings.php:1400
4294
  msgid "New Sale Notifications"
4295
  msgstr ""
4296
 
4297
- #: includes/admin/settings/register-settings.php:1409
4298
  msgid "Main"
4299
  msgstr ""
4300
 
4301
- #: includes/admin/settings/register-settings.php:1414 includes/install.php:92
4302
  #: templates/widget-cart-checkout.php:6 templates/widget-cart-empty.php:7
4303
  msgid "Checkout"
4304
  msgstr ""
4305
 
4306
- #: includes/admin/settings/register-settings.php:1415
4307
  msgid "Button Text"
4308
  msgstr ""
4309
 
4310
- #: includes/admin/settings/register-settings.php:1417
4311
  msgid "Accounting"
4312
  msgstr ""
4313
 
4314
- #: includes/admin/settings/register-settings.php:1418
4315
  msgid "Terms of Agreement"
4316
  msgstr ""
4317
 
4318
- #: includes/admin/settings/register-settings.php:1422
4319
  msgid "Export & Erase"
4320
  msgstr ""
4321
 
4322
- #: includes/admin/settings/register-settings.php:1664
4323
  msgid ""
4324
  "Don't see what you need? More Payment Gateway options are available <a "
4325
  "href=\"%s\">here</a>."
4326
  msgstr ""
4327
 
4328
- #: includes/admin/settings/register-settings.php:1885
4329
  msgid "The callback function used for the %s setting is missing."
4330
  msgstr ""
4331
 
4332
- #: includes/admin/settings/register-settings.php:2047
4333
  msgid "Upload File"
4334
  msgstr ""
4335
 
4336
- #: includes/admin/settings/register-settings.php:2147
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4337
  msgid "Country Wide"
4338
  msgstr ""
4339
 
4340
- #: includes/admin/settings/register-settings.php:2148
4341
  msgid "Rate"
4342
  msgstr ""
4343
 
4344
- #: includes/admin/settings/register-settings.php:2148
4345
  msgid ""
4346
  "<strong>Regional tax rates: </strong>When a customer enters an address on "
4347
  "checkout that matches the specified region for this tax rate, the cart tax "
4348
  "will adjust automatically. Enter a percentage, such as 6.5 for 6.5%."
4349
  msgstr ""
4350
 
4351
- #: includes/admin/settings/register-settings.php:2165
4352
- #: includes/admin/settings/register-settings.php:2213
4353
  msgid "Choose a country"
4354
  msgstr ""
4355
 
4356
- #: includes/admin/settings/register-settings.php:2183
4357
  msgid "Choose a state"
4358
  msgstr ""
4359
 
4360
- #: includes/admin/settings/register-settings.php:2195
4361
- #: includes/admin/settings/register-settings.php:2226
4362
  msgid "Apply to whole country"
4363
  msgstr ""
4364
 
4365
- #: includes/admin/settings/register-settings.php:2198
4366
- #: includes/admin/settings/register-settings.php:2229
4367
  msgid "Remove Rate"
4368
  msgstr ""
4369
 
4370
- #: includes/admin/settings/register-settings.php:2234
4371
  msgid "Add Tax Rate"
4372
  msgstr ""
4373
 
4374
- #: includes/admin/settings/register-settings.php:2287
4375
  msgid ""
4376
  "Your license key expired on %s. Please <a href=\"%s\" "
4377
  "target=\"_blank\">renew your license key</a>."
4378
  msgstr ""
4379
 
4380
- #: includes/admin/settings/register-settings.php:2300
4381
  msgid ""
4382
  "Your license key has been disabled. Please <a href=\"%s\" "
4383
  "target=\"_blank\">contact support</a> for more information."
4384
  msgstr ""
4385
 
4386
- #: includes/admin/settings/register-settings.php:2312
4387
  msgid ""
4388
  "Invalid license. Please <a href=\"%s\" target=\"_blank\">visit your account "
4389
  "page</a> and verify it."
4390
  msgstr ""
4391
 
4392
- #: includes/admin/settings/register-settings.php:2325
4393
  msgid ""
4394
  "Your %s is not active for this URL. Please <a href=\"%s\" "
4395
  "target=\"_blank\">visit your account page</a> to manage your license key "
4396
  "URLs."
4397
  msgstr ""
4398
 
4399
- #: includes/admin/settings/register-settings.php:2337
4400
  msgid "This appears to be an invalid license key for %s."
4401
  msgstr ""
4402
 
4403
- #: includes/admin/settings/register-settings.php:2346
4404
  msgid ""
4405
  "Your license key has reached its activation limit. <a href=\"%s\">View "
4406
  "possible upgrades</a> now."
4407
  msgstr ""
4408
 
4409
- #: includes/admin/settings/register-settings.php:2355
4410
  msgid ""
4411
  "The key you entered belongs to a bundle, please use the product specific "
4412
  "license key."
4413
  msgstr ""
4414
 
4415
- #: includes/admin/settings/register-settings.php:2363
4416
  msgid "unknown_error"
4417
  msgstr ""
4418
 
4419
- #: includes/admin/settings/register-settings.php:2364
4420
  msgid ""
4421
  "There was an error with this license key: %s. Please <a href=\"%s\">contact "
4422
  "our support team</a>."
4423
  msgstr ""
4424
 
4425
- #: includes/admin/settings/register-settings.php:2384
4426
  msgid "License key never expires."
4427
  msgstr ""
4428
 
4429
- #: includes/admin/settings/register-settings.php:2391
4430
  msgid ""
4431
  "Your license key expires soon! It expires on %s. <a href=\"%s\" "
4432
  "target=\"_blank\">Renew your license key</a>."
4433
  msgstr ""
4434
 
4435
- #: includes/admin/settings/register-settings.php:2401
4436
  msgid "Your license key expires on %s."
4437
  msgstr ""
4438
 
4439
- #: includes/admin/settings/register-settings.php:2419
4440
  msgid "To receive updates, please enter your valid %s license key."
4441
  msgstr ""
4442
 
4443
- #: includes/admin/settings/register-settings.php:2432
4444
  msgid "Deactivate License"
4445
  msgstr ""
4446
 
@@ -6424,6 +6468,14 @@ msgstr ""
6424
  msgid "Thank you"
6425
  msgstr ""
6426
 
 
 
 
 
 
 
 
 
6427
  #: includes/emails/template.php:54
6428
  msgid "Sample Product Title"
6429
  msgstr ""
@@ -7919,19 +7971,23 @@ msgstr ""
7919
  msgid "There are no downloads attached to this payment"
7920
  msgstr ""
7921
 
7922
- #: includes/scripts.php:247
7923
- msgid "Purchase Limit Settings"
7924
  msgstr ""
7925
 
7926
  #: includes/scripts.php:248
7927
- msgid "Simple Shipping Settings"
7928
  msgstr ""
7929
 
7930
  #: includes/scripts.php:249
7931
- msgid "Software Licensing Settings"
7932
  msgstr ""
7933
 
7934
  #: includes/scripts.php:250
 
 
 
 
7935
  msgid "Recurring Payments Settings"
7936
  msgstr ""
7937
 
@@ -8488,13 +8544,13 @@ msgctxt "Date one to date two"
8488
  msgid "to"
8489
  msgstr ""
8490
 
8491
- #: includes/admin/settings/register-settings.php:768
8492
  #: includes/template-functions.php:79
8493
  msgctxt "text shown on the Add to Cart Button when the product is already in the cart"
8494
  msgid "Checkout"
8495
  msgstr ""
8496
 
8497
- #: includes/admin/settings/register-settings.php:958
8498
  msgctxt ""
8499
  "payment status labels for the privacy export & erase settings: Pending "
8500
  "Payments"
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.15\n"
6
  "Report-Msgid-Bugs-To: https://easydigitaldownloads.com/\n"
7
+ "POT-Creation-Date: 2019-06-01 00:46:33+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
196
 
197
  #: includes/admin/admin-pages.php:43 includes/admin/plugins.php:57
198
  #: includes/admin/settings/contextual-help.php:87
199
+ #: includes/admin/settings/register-settings.php:1357
200
  msgid "Extensions"
201
  msgstr ""
202
 
371
  msgid "API keys successfully revoked."
372
  msgstr ""
373
 
374
+ #: includes/admin/class-edd-notices.php:177
375
+ msgid "SendWP has been successfully connected!"
376
  msgstr ""
377
 
378
  #: includes/admin/class-edd-notices.php:186
379
+ msgid "The payment note has been added successfully."
380
+ msgstr ""
381
+
382
+ #: includes/admin/class-edd-notices.php:189
383
  msgid "The payment has been successfully updated."
384
  msgstr ""
385
 
386
+ #: includes/admin/class-edd-notices.php:198
387
  msgid "Customer successfully deleted"
388
  msgstr ""
389
 
390
+ #: includes/admin/class-edd-notices.php:201
391
  msgid "User successfully verified"
392
  msgstr ""
393
 
394
+ #: includes/admin/class-edd-notices.php:204
395
  msgid "Customer email added"
396
  msgstr ""
397
 
398
+ #: includes/admin/class-edd-notices.php:207
399
  msgid "Customer email removed"
400
  msgstr ""
401
 
402
+ #: includes/admin/class-edd-notices.php:210
403
  msgid "Failed to remove customer email"
404
  msgstr ""
405
 
406
+ #: includes/admin/class-edd-notices.php:213
407
  msgid "Primary email updated for customer"
408
  msgstr ""
409
 
410
+ #: includes/admin/class-edd-notices.php:216
411
  msgid "Failed to set primary email"
412
  msgstr ""
413
 
435
  #: includes/admin/discounts/class-discount-codes-table.php:267
436
  #: includes/admin/payments/class-payments-table.php:367
437
  #: includes/admin/payments/class-payments-table.php:435
438
+ #: includes/admin/settings/register-settings.php:946
439
  #: includes/payments/functions.php:1618
440
  msgid "Delete"
441
  msgstr ""
643
  msgstr ""
644
 
645
  #: includes/admin/customers/customers.php:269
646
+ #: includes/admin/settings/register-settings.php:2214
647
  #: includes/admin/tools.php:695 includes/checkout/template.php:435
648
  #: templates/shortcode-profile-editor.php:171
649
  msgid "State / Province"
748
  #: includes/admin/downloads/metabox.php:698
749
  #: includes/admin/downloads/metabox.php:823
750
  #: includes/admin/payments/view-order-details.php:523
751
+ #: includes/admin/settings/register-settings.php:2217 includes/scripts.php:227
752
  #: templates/checkout_cart.php:57 templates/checkout_cart.php:75
753
  #: templates/shortcode-profile-editor.php:123
754
  msgid "Remove"
1257
 
1258
  #: includes/admin/discounts/contextual-help.php:38
1259
  #: includes/admin/settings/contextual-help.php:42
1260
+ #: includes/admin/settings/register-settings.php:1349
1261
+ #: includes/admin/settings/register-settings.php:1405
1262
+ #: includes/admin/settings/register-settings.php:1410
1263
+ #: includes/admin/settings/register-settings.php:1414
1264
+ #: includes/admin/settings/register-settings.php:1419
1265
+ #: includes/admin/settings/register-settings.php:1422
1266
+ #: includes/admin/settings/register-settings.php:1437
1267
  #: includes/admin/tools.php:68
1268
  msgid "General"
1269
  msgstr ""
1768
  msgstr ""
1769
 
1770
  #: includes/admin/downloads/metabox.php:1031
1771
+ #: includes/admin/settings/register-settings.php:763
1772
+ #: includes/admin/thickbox.php:59 includes/checkout/template.php:1005
1773
  #: includes/shortcodes.php:49 includes/template-functions.php:78
1774
  msgid "Purchase"
1775
  msgstr ""
1809
  msgstr ""
1810
 
1811
  #: includes/admin/downloads/metabox.php:1105
1812
+ #: includes/admin/settings/register-settings.php:777
1813
  #: includes/admin/thickbox.php:101
1814
  msgid "Add to Cart"
1815
  msgstr ""
1816
 
1817
  #: includes/admin/downloads/metabox.php:1106
1818
+ #: includes/admin/settings/register-settings.php:791 includes/shortcodes.php:47
1819
  #: includes/template-functions.php:78
1820
  msgid "Buy Now"
1821
  msgstr ""
2249
  msgstr[1] ""
2250
 
2251
  #: includes/admin/payments/view-order-details.php:152
2252
+ #: includes/admin/settings/register-settings.php:739
2253
  msgid "None"
2254
  msgstr ""
2255
 
2619
 
2620
  #: includes/admin/reporting/class-export-payments.php:68
2621
  #: includes/admin/reporting/export/class-batch-export-payments.php:49
2622
+ #: includes/admin/settings/register-settings.php:2213
2623
  #: includes/admin/tools.php:713 templates/shortcode-profile-editor.php:162
2624
  msgid "Country"
2625
  msgstr ""
2835
  msgstr ""
2836
 
2837
  #: includes/admin/reporting/export/class-batch-export-downloads.php:53
2838
+ #: includes/admin/settings/register-settings.php:815
2839
  #: includes/admin/tools.php:896
2840
  msgid "File Download Limit"
2841
  msgstr ""
2884
 
2885
  #: includes/admin/reporting/export/class-batch-export-payments.php:62
2886
  #: includes/admin/settings/register-settings.php:355
2887
+ #: includes/admin/settings/register-settings.php:1406
2888
  msgid "Currency"
2889
  msgstr ""
2890
 
3016
  msgstr ""
3017
 
3018
  #: includes/admin/reporting/logs.php:144
3019
+ #: includes/admin/settings/register-settings.php:1432
3020
  #: includes/privacy-functions.php:544
3021
  msgid "File Downloads"
3022
  msgstr ""
3047
 
3048
  #: includes/admin/reporting/reports.php:59
3049
  #: includes/admin/settings/contextual-help.php:71
3050
+ #: includes/admin/settings/register-settings.php:1353
3051
  msgid "Taxes"
3052
  msgstr ""
3053
 
3194
 
3195
  #: includes/admin/settings/contextual-help.php:48
3196
  #: includes/admin/settings/register-settings.php:423
3197
+ #: includes/admin/settings/register-settings.php:1350
3198
  msgid "Payment Gateways"
3199
  msgstr ""
3200
 
3223
  msgstr ""
3224
 
3225
  #: includes/admin/settings/contextual-help.php:57
3226
+ #: includes/admin/settings/register-settings.php:1351
3227
  msgid "Emails"
3228
  msgstr ""
3229
 
3243
  msgstr ""
3244
 
3245
  #: includes/admin/settings/contextual-help.php:65
3246
+ #: includes/admin/settings/register-settings.php:1352
3247
  msgid "Styles"
3248
  msgstr ""
3249
 
3326
  msgstr ""
3327
 
3328
  #: includes/admin/settings/contextual-help.php:93
3329
+ #: includes/admin/settings/register-settings.php:1429
3330
  msgid "Miscellaneous"
3331
  msgstr ""
3332
 
3503
  msgstr ""
3504
 
3505
  #: includes/admin/settings/register-settings.php:391
3506
+ #: includes/admin/settings/register-settings.php:1407
3507
  msgid "API"
3508
  msgstr ""
3509
 
3572
  msgstr ""
3573
 
3574
  #: includes/admin/settings/register-settings.php:458
3575
+ msgid "SendWP Settings"
3576
+ msgstr ""
3577
+
3578
+ #: includes/admin/settings/register-settings.php:463
3579
+ msgid "Connection Status"
3580
+ msgstr ""
3581
+
3582
+ #: includes/admin/settings/register-settings.php:464
3583
+ msgid ""
3584
+ "Looking for a reliable, affordable way to deliver important emails to your "
3585
+ "customers? Try <a href=\"https://sendwp.com\" target=\"_blank\" "
3586
+ "rel=\"noopener noreferrer\">SendWP</a>."
3587
  msgstr ""
3588
 
3589
+ #: includes/admin/settings/register-settings.php:464
3590
+ msgid ""
3591
+ "For more information on this paid service, see the <a "
3592
+ "href=\"https://docs.easydigitaldownloads.com/article/2143-sendwp-email-"
3593
+ "delivery\" target=\"_blank\" rel=\"noopener noreferrer\">documentation</a>."
3594
+ msgstr ""
3595
+
3596
+ #: includes/admin/settings/register-settings.php:469
3597
+ msgid "Email Configuration"
3598
+ msgstr ""
3599
+
3600
+ #: includes/admin/settings/register-settings.php:474
3601
+ msgid "Template"
3602
+ msgstr ""
3603
+
3604
+ #: includes/admin/settings/register-settings.php:475
3605
  msgid ""
3606
  "Choose a template. Click \"Save Changes\" then \"Preview Purchase Receipt\" "
3607
  "to see the new template."
3608
  msgstr ""
3609
 
3610
+ #: includes/admin/settings/register-settings.php:481
3611
  msgid "Logo"
3612
  msgstr ""
3613
 
3614
+ #: includes/admin/settings/register-settings.php:482
3615
  msgid ""
3616
  "Upload or choose a logo to be displayed at the top of the purchase receipt "
3617
  "emails. Displayed on HTML emails only."
3618
  msgstr ""
3619
 
3620
+ #: includes/admin/settings/register-settings.php:487
3621
  msgid "From Name"
3622
  msgstr ""
3623
 
3624
+ #: includes/admin/settings/register-settings.php:488
3625
  msgid ""
3626
  "The name purchase receipts are said to come from. This should probably be "
3627
  "your site or shop name."
3628
  msgstr ""
3629
 
3630
+ #: includes/admin/settings/register-settings.php:494
3631
  msgid "From Email"
3632
  msgstr ""
3633
 
3634
+ #: includes/admin/settings/register-settings.php:495
3635
  msgid ""
3636
  "Email to send purchase receipts from. This will act as the \"from\" and "
3637
  "\"reply-to\" address."
3638
  msgstr ""
3639
 
3640
+ #: includes/admin/settings/register-settings.php:515
3641
  msgid "Purchase Email Subject"
3642
  msgstr ""
3643
 
3644
+ #: includes/admin/settings/register-settings.php:516
3645
  msgid "Enter the subject line for the purchase receipt email."
3646
  msgstr ""
3647
 
3648
+ #: includes/admin/settings/register-settings.php:518
3649
+ #: includes/admin/settings/register-settings.php:525
3650
+ #: includes/admin/settings/register-settings.php:529
3651
  #: includes/emails/functions.php:45 includes/emails/functions.php:49
3652
  #: includes/emails/functions.php:87 includes/emails/functions.php:91
3653
  #: includes/emails/template.php:141
3654
  msgid "Purchase Receipt"
3655
  msgstr ""
3656
 
3657
+ #: includes/admin/settings/register-settings.php:522
3658
  msgid "Purchase Email Heading"
3659
  msgstr ""
3660
 
3661
+ #: includes/admin/settings/register-settings.php:523
3662
  msgid "Enter the heading for the purchase receipt email."
3663
  msgstr ""
3664
 
3665
+ #: includes/admin/settings/register-settings.php:530
3666
  msgid ""
3667
  "Enter the text that is sent as purchase receipt email to users after "
3668
  "completion of a successful purchase. HTML is accepted. Available template "
3669
  "tags:"
3670
  msgstr ""
3671
 
3672
+ #: includes/admin/settings/register-settings.php:532
3673
  #: includes/emails/template.php:159
3674
  msgid "Dear"
3675
  msgstr ""
3676
 
3677
+ #: includes/admin/settings/register-settings.php:532
3678
  #: includes/emails/template.php:160
3679
  msgid ""
3680
  "Thank you for your purchase. Please click on the link(s) below to download "
3681
  "your files."
3682
  msgstr ""
3683
 
3684
+ #: includes/admin/settings/register-settings.php:538
3685
  msgid "Sale Notification Subject"
3686
  msgstr ""
3687
 
3688
+ #: includes/admin/settings/register-settings.php:539
3689
  msgid "Enter the subject line for the sale notification email."
3690
  msgstr ""
3691
 
3692
+ #: includes/admin/settings/register-settings.php:545
3693
  msgid "Sale Notification Heading"
3694
  msgstr ""
3695
 
3696
+ #: includes/admin/settings/register-settings.php:546
3697
  msgid "Enter the heading for the sale notification email."
3698
  msgstr ""
3699
 
3700
+ #: includes/admin/settings/register-settings.php:548
3701
  #: includes/emails/functions.php:140
3702
  msgid "New Sale!"
3703
  msgstr ""
3704
 
3705
+ #: includes/admin/settings/register-settings.php:552
3706
  msgid "Sale Notification"
3707
  msgstr ""
3708
 
3709
+ #: includes/admin/settings/register-settings.php:553
3710
  msgid ""
3711
  "Enter the text that is sent as sale notification email after completion of "
3712
  "a purchase. HTML is accepted. Available template tags:"
3713
  msgstr ""
3714
 
3715
+ #: includes/admin/settings/register-settings.php:559
3716
  msgid "Sale Notification Emails"
3717
  msgstr ""
3718
 
3719
+ #: includes/admin/settings/register-settings.php:560
3720
  msgid ""
3721
  "Enter the email address(es) that should receive a notification anytime a "
3722
  "sale is made, one per line."
3723
  msgstr ""
3724
 
3725
+ #: includes/admin/settings/register-settings.php:566
3726
  msgid "Disable Admin Notifications"
3727
  msgstr ""
3728
 
3729
+ #: includes/admin/settings/register-settings.php:567
3730
  msgid "Check this box if you do not want to receive sales notification emails."
3731
  msgstr ""
3732
 
3733
+ #: includes/admin/settings/register-settings.php:579
3734
  msgid "Disable Styles"
3735
  msgstr ""
3736
 
3737
+ #: includes/admin/settings/register-settings.php:580
3738
  msgid ""
3739
  "Check this to disable all included styling of buttons, checkout fields, and "
3740
  "all other elements."
3741
  msgstr ""
3742
 
3743
+ #: includes/admin/settings/register-settings.php:582
3744
  msgid "Disabling Styles"
3745
  msgstr ""
3746
 
3747
+ #: includes/admin/settings/register-settings.php:583
3748
  msgid ""
3749
  "If your theme has a complete custom CSS file for Easy Digital Downloads, "
3750
  "you may wish to disable our default styles. This is not recommended unless "
3751
  "you're sure your theme has a complete custom CSS."
3752
  msgstr ""
3753
 
3754
+ #: includes/admin/settings/register-settings.php:587
3755
  msgid "Buttons"
3756
  msgstr ""
3757
 
3758
+ #: includes/admin/settings/register-settings.php:588
3759
  msgid "Options for add to cart and purchase buttons"
3760
  msgstr ""
3761
 
3762
+ #: includes/admin/settings/register-settings.php:593
3763
  msgid "Default Button Style"
3764
  msgstr ""
3765
 
3766
+ #: includes/admin/settings/register-settings.php:594
3767
  msgid "Choose the style you want to use for the buttons."
3768
  msgstr ""
3769
 
3770
+ #: includes/admin/settings/register-settings.php:600
3771
  msgid "Default Button Color"
3772
  msgstr ""
3773
 
3774
+ #: includes/admin/settings/register-settings.php:601
3775
  msgid "Choose the color you want to use for the buttons."
3776
  msgstr ""
3777
 
3778
+ #: includes/admin/settings/register-settings.php:614
3779
  msgid "Need help?"
3780
  msgstr ""
3781
 
3782
+ #: includes/admin/settings/register-settings.php:615
3783
  msgid ""
3784
  "Visit the <a href=\"%s\" target=\"_blank\">Tax setup documentation</a> for "
3785
  "further information. If you need VAT support, there are options listed on "
3786
  "the documentation page."
3787
  msgstr ""
3788
 
3789
+ #: includes/admin/settings/register-settings.php:620
3790
  msgid "Enable Taxes"
3791
  msgstr ""
3792
 
3793
+ #: includes/admin/settings/register-settings.php:621
3794
  msgid "Check this to enable taxes on purchases."
3795
  msgstr ""
3796
 
3797
+ #: includes/admin/settings/register-settings.php:623
3798
  msgid "Enabling Taxes"
3799
  msgstr ""
3800
 
3801
+ #: includes/admin/settings/register-settings.php:624
3802
  msgid ""
3803
  "With taxes enabled, Easy Digital Downloads will use the rules below to "
3804
  "charge tax to customers. With taxes enabled, customers are required to "
3805
  "input their address on checkout so that taxes can be properly calculated."
3806
  msgstr ""
3807
 
3808
+ #: includes/admin/settings/register-settings.php:628
3809
  msgid "Tax Rates"
3810
  msgstr ""
3811
 
3812
+ #: includes/admin/settings/register-settings.php:629
3813
  msgid ""
3814
  "Add tax rates for specific regions. Enter a percentage, such as 6.5 for "
3815
  "6.5%."
3816
  msgstr ""
3817
 
3818
+ #: includes/admin/settings/register-settings.php:634
3819
+ #: includes/admin/settings/register-settings.php:638
3820
  msgid "Fallback Tax Rate"
3821
  msgstr ""
3822
 
3823
+ #: includes/admin/settings/register-settings.php:635
3824
  msgid ""
3825
  "Customers not in a specific rate will be charged this tax rate. Enter a "
3826
  "percentage, such as 6.5 for 6.5%. "
3827
  msgstr ""
3828
 
3829
+ #: includes/admin/settings/register-settings.php:639
3830
  msgid ""
3831
  "If the customer's address fails to meet the above tax rules, you can define "
3832
  "a `default` tax rate to be applied to all other customers. Enter a "
3833
  "percentage, such as 6.5 for 6.5%."
3834
  msgstr ""
3835
 
3836
+ #: includes/admin/settings/register-settings.php:643
3837
  msgid "Prices entered with tax"
3838
  msgstr ""
3839
 
3840
+ #: includes/admin/settings/register-settings.php:644
3841
  msgid "This option affects how you enter prices."
3842
  msgstr ""
3843
 
3844
+ #: includes/admin/settings/register-settings.php:648
3845
  msgid "Yes, I will enter prices inclusive of tax"
3846
  msgstr ""
3847
 
3848
+ #: includes/admin/settings/register-settings.php:649
3849
  msgid "No, I will enter prices exclusive of tax"
3850
  msgstr ""
3851
 
3852
+ #: includes/admin/settings/register-settings.php:651
3853
  msgid "Prices Inclusive of Tax"
3854
  msgstr ""
3855
 
3856
+ #: includes/admin/settings/register-settings.php:652
3857
  msgid ""
3858
  "When using prices inclusive of tax, you will be entering your prices as the "
3859
  "total amount you want a customer to pay for the download, including tax. "
3861
  "for the defined total price."
3862
  msgstr ""
3863
 
3864
+ #: includes/admin/settings/register-settings.php:656
3865
  msgid "Display Tax Rate on Prices"
3866
  msgstr ""
3867
 
3868
+ #: includes/admin/settings/register-settings.php:657
3869
  msgid "Some countries require a notice when product prices include tax."
3870
  msgstr ""
3871
 
3872
+ #: includes/admin/settings/register-settings.php:662
3873
  msgid "Display during checkout"
3874
  msgstr ""
3875
 
3876
+ #: includes/admin/settings/register-settings.php:663
3877
  msgid "Should prices on the checkout page be shown with or without tax?"
3878
  msgstr ""
3879
 
3880
+ #: includes/admin/settings/register-settings.php:667
3881
  msgid "Including tax"
3882
  msgstr ""
3883
 
3884
+ #: includes/admin/settings/register-settings.php:668
3885
  msgid "Excluding tax"
3886
  msgstr ""
3887
 
3888
+ #: includes/admin/settings/register-settings.php:670
3889
  msgid "Taxes Displayed for Products on Checkout"
3890
  msgstr ""
3891
 
3892
+ #: includes/admin/settings/register-settings.php:671
3893
  msgid ""
3894
  "This option will determine whether the product price displays with or "
3895
  "without tax on checkout."
3896
  msgstr ""
3897
 
3898
+ #: includes/admin/settings/register-settings.php:689
3899
+ #: includes/admin/settings/register-settings.php:692
3900
  msgid "Redirect to Checkout"
3901
  msgstr ""
3902
 
3903
+ #: includes/admin/settings/register-settings.php:690
3904
  msgid "Immediately redirect to checkout after adding an item to the cart?"
3905
  msgstr ""
3906
 
3907
+ #: includes/admin/settings/register-settings.php:693
3908
  msgid ""
3909
  "When enabled, once an item has been added to the cart, the customer will be "
3910
  "redirected directly to your checkout page. This is useful for stores that "
3911
  "sell single items."
3912
  msgstr ""
3913
 
3914
+ #: includes/admin/settings/register-settings.php:697
3915
  msgid "Cart Item Quantities"
3916
  msgstr ""
3917
 
3918
+ #: includes/admin/settings/register-settings.php:698
3919
  msgid ""
3920
  "Allow quantities to be adjusted when adding %s to the cart, and while "
3921
  "viewing the checkout cart."
3922
  msgstr ""
3923
 
3924
+ #: includes/admin/settings/register-settings.php:703
3925
  msgid "Debug Mode"
3926
  msgstr ""
3927
 
3928
+ #: includes/admin/settings/register-settings.php:704
3929
  msgid ""
3930
  "Check this box to enable debug mode. When enabled, debug messages will be "
3931
  "logged and shown in Downloads &rarr; Tools &rarr; Debug Log."
3932
  msgstr ""
3933
 
3934
+ #: includes/admin/settings/register-settings.php:709
3935
  msgid "Remove Data on Uninstall?"
3936
  msgstr ""
3937
 
3938
+ #: includes/admin/settings/register-settings.php:710
3939
  msgid ""
3940
  "Check this box if you would like EDD to completely remove all of its data "
3941
  "when the plugin is deleted."
3942
  msgstr ""
3943
 
3944
+ #: includes/admin/settings/register-settings.php:717
3945
  msgid "Enforce SSL on Checkout"
3946
  msgstr ""
3947
 
3948
+ #: includes/admin/settings/register-settings.php:718
3949
  msgid ""
3950
  "Check this to force users to be redirected to the secure checkout page. You "
3951
  "must have an SSL certificate installed to use this option."
3952
  msgstr ""
3953
 
3954
+ #: includes/admin/settings/register-settings.php:723
3955
+ #: includes/admin/settings/register-settings.php:726
3956
  msgid "Require Login"
3957
  msgstr ""
3958
 
3959
+ #: includes/admin/settings/register-settings.php:724
3960
  msgid "Require that users be logged-in to purchase files."
3961
  msgstr ""
3962
 
3963
+ #: includes/admin/settings/register-settings.php:727
3964
  msgid ""
3965
  "You can require that customers create and login to user accounts prior to "
3966
  "purchasing from your store by enabling this option. When unchecked, users "
3967
  "can purchase without being logged in by using their name and email address."
3968
  msgstr ""
3969
 
3970
+ #: includes/admin/settings/register-settings.php:731
3971
  msgid "Show Register / Login Form?"
3972
  msgstr ""
3973
 
3974
+ #: includes/admin/settings/register-settings.php:732
3975
  msgid ""
3976
  "Display the registration and login forms on the checkout page for "
3977
  "non-logged-in users."
3978
  msgstr ""
3979
 
3980
+ #: includes/admin/settings/register-settings.php:736
3981
  msgid "Registration and Login Forms"
3982
  msgstr ""
3983
 
3984
+ #: includes/admin/settings/register-settings.php:737
3985
  msgid "Registration Form Only"
3986
  msgstr ""
3987
 
3988
+ #: includes/admin/settings/register-settings.php:738
3989
  msgid "Login Form Only"
3990
  msgstr ""
3991
 
3992
+ #: includes/admin/settings/register-settings.php:744
3993
  msgid "Multiple Discounts"
3994
  msgstr ""
3995
 
3996
+ #: includes/admin/settings/register-settings.php:745
3997
  msgid "Allow customers to use multiple discounts on the same purchase?"
3998
  msgstr ""
3999
 
4000
+ #: includes/admin/settings/register-settings.php:750
4001
  msgid "Enable Cart Saving"
4002
  msgstr ""
4003
 
4004
+ #: includes/admin/settings/register-settings.php:751
4005
  msgid "Check this to enable cart saving on the checkout."
4006
  msgstr ""
4007
 
4008
+ #: includes/admin/settings/register-settings.php:753
4009
  msgid "Cart Saving"
4010
  msgstr ""
4011
 
4012
+ #: includes/admin/settings/register-settings.php:754
4013
  msgid ""
4014
  "Cart saving allows shoppers to create a temporary link to their current "
4015
  "shopping cart so they can come back to it later, or share it with someone."
4016
  msgstr ""
4017
 
4018
+ #: includes/admin/settings/register-settings.php:760
4019
  msgid "Complete Purchase Text"
4020
  msgstr ""
4021
 
4022
+ #: includes/admin/settings/register-settings.php:761
4023
  msgid "The button label for completing a purchase."
4024
  msgstr ""
4025
 
4026
+ #: includes/admin/settings/register-settings.php:767
4027
  msgid "Complete Free Purchase Text"
4028
  msgstr ""
4029
 
4030
+ #: includes/admin/settings/register-settings.php:768
4031
  msgid "The button label for completing a free purchase."
4032
  msgstr ""
4033
 
4034
+ #: includes/admin/settings/register-settings.php:770
4035
+ #: includes/checkout/template.php:1008
4036
  msgid "Free Download"
4037
  msgstr ""
4038
 
4039
+ #: includes/admin/settings/register-settings.php:774
4040
  msgid "Add to Cart Text"
4041
  msgstr ""
4042
 
4043
+ #: includes/admin/settings/register-settings.php:775
4044
  msgid "Text shown on the Add to Cart Buttons."
4045
  msgstr ""
4046
 
4047
+ #: includes/admin/settings/register-settings.php:781
4048
  msgid "Checkout Button Text"
4049
  msgstr ""
4050
 
4051
+ #: includes/admin/settings/register-settings.php:782
4052
  msgid ""
4053
  "Text shown on the Add to Cart Button when the product is already in the "
4054
  "cart."
4055
  msgstr ""
4056
 
4057
+ #: includes/admin/settings/register-settings.php:788
4058
  msgid "Buy Now Text"
4059
  msgstr ""
4060
 
4061
+ #: includes/admin/settings/register-settings.php:789
4062
  msgid "Text shown on the Buy Now Buttons."
4063
  msgstr ""
4064
 
4065
+ #: includes/admin/settings/register-settings.php:797
4066
+ #: includes/admin/settings/register-settings.php:800
4067
  msgid "Download Method"
4068
  msgstr ""
4069
 
4070
+ #: includes/admin/settings/register-settings.php:798
4071
  msgid "Select the file download method. Note, not all methods work on all servers."
4072
  msgstr ""
4073
 
4074
+ #: includes/admin/settings/register-settings.php:801
4075
  msgid ""
4076
  "Due to its consistency in multiple platforms and better file protection, "
4077
  "'forced' is the default method. Because Easy Digital Downloads uses PHP to "
4082
  "method can help resolve this."
4083
  msgstr ""
4084
 
4085
+ #: includes/admin/settings/register-settings.php:803
4086
  msgid "Forced"
4087
  msgstr ""
4088
 
4089
+ #: includes/admin/settings/register-settings.php:804
4090
  msgid "Redirect"
4091
  msgstr ""
4092
 
4093
+ #: includes/admin/settings/register-settings.php:809
4094
  msgid "Symlink File Downloads?"
4095
  msgstr ""
4096
 
4097
+ #: includes/admin/settings/register-settings.php:810
4098
  msgid ""
4099
  "Check this if you are delivering really large files or having problems with "
4100
  "file downloads completing."
4101
  msgstr ""
4102
 
4103
+ #: includes/admin/settings/register-settings.php:816
4104
  msgid ""
4105
  "The maximum number of times files can be downloaded for purchases. Can be "
4106
  "overwritten for each %s."
4107
  msgstr ""
4108
 
4109
+ #: includes/admin/settings/register-settings.php:819
4110
  msgid "File Download Limits"
4111
  msgstr ""
4112
 
4113
+ #: includes/admin/settings/register-settings.php:820
4114
  msgid ""
4115
  "Set the global default for the number of times a customer can download "
4116
  "items they purchase. Using a value of 0 is unlimited. This can be defined "
4118
  "individual purchase."
4119
  msgstr ""
4120
 
4121
+ #: includes/admin/settings/register-settings.php:824
4122
+ #: includes/admin/settings/register-settings.php:826
4123
  msgid "Download Link Expiration"
4124
  msgstr ""
4125
 
4126
+ #: includes/admin/settings/register-settings.php:825
4127
  msgid ""
4128
  "How long should download links be valid for? Default is 24 hours from the "
4129
  "time they are generated. Enter a time in hours."
4130
  msgstr ""
4131
 
4132
+ #: includes/admin/settings/register-settings.php:827
4133
  msgid ""
4134
  "When a customer receives a link to their downloads via email, in their "
4135
  "receipt, or in their purchase history, the link will only be valid for the "
4138
  "customer."
4139
  msgstr ""
4140
 
4141
+ #: includes/admin/settings/register-settings.php:835
4142
  msgid "Disable Redownload?"
4143
  msgstr ""
4144
 
4145
+ #: includes/admin/settings/register-settings.php:836
4146
  msgid ""
4147
  "Check this if you do not want to allow users to redownload items from their "
4148
  "purchase history."
4149
  msgstr ""
4150
 
4151
+ #: includes/admin/settings/register-settings.php:843
4152
  msgid "Enable SKU Entry"
4153
  msgstr ""
4154
 
4155
+ #: includes/admin/settings/register-settings.php:844
4156
  msgid ""
4157
  "Check this box to allow entry of product SKUs. SKUs will be shown on "
4158
  "purchase receipt and exported purchase histories."
4159
  msgstr ""
4160
 
4161
+ #: includes/admin/settings/register-settings.php:849
4162
  msgid "Sequential Order Numbers"
4163
  msgstr ""
4164
 
4165
+ #: includes/admin/settings/register-settings.php:850
4166
  msgid "Check this box to enable sequential order numbers."
4167
  msgstr ""
4168
 
4169
+ #: includes/admin/settings/register-settings.php:855
4170
  msgid "Sequential Starting Number"
4171
  msgstr ""
4172
 
4173
+ #: includes/admin/settings/register-settings.php:856
4174
  msgid "The number at which the sequence should begin."
4175
  msgstr ""
4176
 
4177
+ #: includes/admin/settings/register-settings.php:863
4178
  msgid "Sequential Number Prefix"
4179
  msgstr ""
4180
 
4181
+ #: includes/admin/settings/register-settings.php:864
4182
  msgid "A prefix to prepend to all sequential order numbers."
4183
  msgstr ""
4184
 
4185
+ #: includes/admin/settings/register-settings.php:869
4186
  msgid "Sequential Number Postfix"
4187
  msgstr ""
4188
 
4189
+ #: includes/admin/settings/register-settings.php:870
4190
  msgid "A postfix to append to all sequential order numbers."
4191
  msgstr ""
4192
 
4193
+ #: includes/admin/settings/register-settings.php:877
4194
  msgid "Agree to Terms"
4195
  msgstr ""
4196
 
4197
+ #: includes/admin/settings/register-settings.php:878
4198
  msgid ""
4199
  "Check this to show an agree to terms on checkout that users must agree to "
4200
  "before purchasing."
4201
  msgstr ""
4202
 
4203
+ #: includes/admin/settings/register-settings.php:883
4204
  msgid "Agree to Terms Label"
4205
  msgstr ""
4206
 
4207
+ #: includes/admin/settings/register-settings.php:884
4208
  msgid "Label shown next to the agree to terms checkbox."
4209
  msgstr ""
4210
 
4211
+ #: includes/admin/settings/register-settings.php:890
4212
  msgid "Agreement Text"
4213
  msgstr ""
4214
 
4215
+ #: includes/admin/settings/register-settings.php:891
4216
  msgid "If Agree to Terms is checked, enter the agreement terms here."
4217
  msgstr ""
4218
 
4219
+ #: includes/admin/settings/register-settings.php:902
4220
  msgid "Agree to Privacy Policy"
4221
  msgstr ""
4222
 
4223
+ #: includes/admin/settings/register-settings.php:903
4224
  msgid ""
4225
  "Check this to show an agree to Privacy Policy on checkout that users must "
4226
  "agree to before purchasing."
4227
  msgstr ""
4228
 
4229
+ #: includes/admin/settings/register-settings.php:908
4230
  msgid "Agree to Privacy Policy Label"
4231
  msgstr ""
4232
 
4233
+ #: includes/admin/settings/register-settings.php:909
4234
  msgid "Label shown next to the agree to Privacy Policy checkbox."
4235
  msgstr ""
4236
 
4237
+ #: includes/admin/settings/register-settings.php:915
4238
  msgid "Show the Privacy Policy on checkout"
4239
  msgstr ""
4240
 
4241
+ #: includes/admin/settings/register-settings.php:916
4242
  msgid "Display your Privacy Policy on checkout."
4243
  msgstr ""
4244
 
4245
+ #: includes/admin/settings/register-settings.php:916
4246
  msgid "Set your Privacy Policy here"
4247
  msgstr ""
4248
 
4249
+ #: includes/admin/settings/register-settings.php:929
4250
  msgid "Payment Status Actions"
4251
  msgstr ""
4252
 
4253
+ #: includes/admin/settings/register-settings.php:931
4254
  msgid ""
4255
  "When a user requests to be anonymized or removed from a site, these are the "
4256
  "actions that will be taken on payments associated with their customer, by "
4257
  "status."
4258
  msgstr ""
4259
 
4260
+ #: includes/admin/settings/register-settings.php:932
4261
  msgid "What settings should I use?"
4262
  msgstr ""
4263
 
4264
+ #: includes/admin/settings/register-settings.php:933
4265
  msgid ""
4266
  "By default, Easy Digital Downloads sets suggested actions based on the "
4267
  "Payment Status. These are purely recommendations, and you may need to "
4269
  "leave these settings as is."
4270
  msgstr ""
4271
 
4272
+ #: includes/admin/settings/register-settings.php:944
4273
  msgid "No Action"
4274
  msgstr ""
4275
 
4276
+ #: includes/admin/settings/register-settings.php:945
4277
  msgid "Anonymize"
4278
  msgstr ""
4279
 
4280
+ #: includes/admin/settings/register-settings.php:985
4281
  msgid "Buy Now Disabled"
4282
  msgstr ""
4283
 
4284
+ #: includes/admin/settings/register-settings.php:986
4285
  msgid ""
4286
  "Buy Now buttons are only available for stores that have a single supported "
4287
  "gateway active and that do not use taxes."
4288
  msgstr ""
4289
 
4290
+ #: includes/admin/settings/register-settings.php:1089
4291
  msgid "Settings updated."
4292
  msgstr ""
4293
 
4294
+ #: includes/admin/settings/register-settings.php:1242
4295
  msgid "Error setting default gateway. No gateways are enabled."
4296
  msgstr ""
4297
 
4298
+ #: includes/admin/settings/register-settings.php:1255
4299
  msgid "%s could not be set as the default gateway. It must first be enabled."
4300
  msgstr ""
4301
 
4302
+ #: includes/admin/settings/register-settings.php:1354
4303
  msgid "Privacy"
4304
  msgstr ""
4305
 
4306
+ #: includes/admin/settings/register-settings.php:1360
4307
  msgid "Licenses"
4308
  msgstr ""
4309
 
4310
+ #: includes/admin/settings/register-settings.php:1363
4311
  msgid "Misc"
4312
  msgstr ""
4313
 
4314
+ #: includes/admin/settings/register-settings.php:1411
4315
  #: includes/gateways/functions.php:25 includes/gateways/paypal-standard.php:33
4316
  msgid "PayPal Standard"
4317
  msgstr ""
4318
 
4319
+ #: includes/admin/settings/register-settings.php:1415
4320
  msgid "Purchase Receipts"
4321
  msgstr ""
4322
 
4323
+ #: includes/admin/settings/register-settings.php:1416
4324
  msgid "New Sale Notifications"
4325
  msgstr ""
4326
 
4327
+ #: includes/admin/settings/register-settings.php:1425
4328
  msgid "Main"
4329
  msgstr ""
4330
 
4331
+ #: includes/admin/settings/register-settings.php:1430 includes/install.php:92
4332
  #: templates/widget-cart-checkout.php:6 templates/widget-cart-empty.php:7
4333
  msgid "Checkout"
4334
  msgstr ""
4335
 
4336
+ #: includes/admin/settings/register-settings.php:1431
4337
  msgid "Button Text"
4338
  msgstr ""
4339
 
4340
+ #: includes/admin/settings/register-settings.php:1433
4341
  msgid "Accounting"
4342
  msgstr ""
4343
 
4344
+ #: includes/admin/settings/register-settings.php:1434
4345
  msgid "Terms of Agreement"
4346
  msgstr ""
4347
 
4348
+ #: includes/admin/settings/register-settings.php:1438
4349
  msgid "Export & Erase"
4350
  msgstr ""
4351
 
4352
+ #: includes/admin/settings/register-settings.php:1680
4353
  msgid ""
4354
  "Don't see what you need? More Payment Gateway options are available <a "
4355
  "href=\"%s\">here</a>."
4356
  msgstr ""
4357
 
4358
+ #: includes/admin/settings/register-settings.php:1901
4359
  msgid "The callback function used for the %s setting is missing."
4360
  msgstr ""
4361
 
4362
+ #: includes/admin/settings/register-settings.php:2063
4363
  msgid "Upload File"
4364
  msgstr ""
4365
 
4366
+ #: includes/admin/settings/register-settings.php:2156
4367
+ msgid ""
4368
+ "<a href=\"https://sendwp.com/account/\" target=\"_blank\" rel=\"noopener "
4369
+ "noreferrer\">Click here</a> to visit your account."
4370
+ msgstr ""
4371
+
4372
+ #: includes/admin/settings/register-settings.php:2175
4373
+ msgid "Disconnect SendWP"
4374
+ msgstr ""
4375
+
4376
+ #: includes/admin/settings/register-settings.php:2184
4377
+ msgid "Connect SendWP"
4378
+ msgstr ""
4379
+
4380
+ #: includes/admin/settings/register-settings.php:2215
4381
  msgid "Country Wide"
4382
  msgstr ""
4383
 
4384
+ #: includes/admin/settings/register-settings.php:2216
4385
  msgid "Rate"
4386
  msgstr ""
4387
 
4388
+ #: includes/admin/settings/register-settings.php:2216
4389
  msgid ""
4390
  "<strong>Regional tax rates: </strong>When a customer enters an address on "
4391
  "checkout that matches the specified region for this tax rate, the cart tax "
4392
  "will adjust automatically. Enter a percentage, such as 6.5 for 6.5%."
4393
  msgstr ""
4394
 
4395
+ #: includes/admin/settings/register-settings.php:2233
4396
+ #: includes/admin/settings/register-settings.php:2281
4397
  msgid "Choose a country"
4398
  msgstr ""
4399
 
4400
+ #: includes/admin/settings/register-settings.php:2251
4401
  msgid "Choose a state"
4402
  msgstr ""
4403
 
4404
+ #: includes/admin/settings/register-settings.php:2263
4405
+ #: includes/admin/settings/register-settings.php:2294
4406
  msgid "Apply to whole country"
4407
  msgstr ""
4408
 
4409
+ #: includes/admin/settings/register-settings.php:2266
4410
+ #: includes/admin/settings/register-settings.php:2297
4411
  msgid "Remove Rate"
4412
  msgstr ""
4413
 
4414
+ #: includes/admin/settings/register-settings.php:2302
4415
  msgid "Add Tax Rate"
4416
  msgstr ""
4417
 
4418
+ #: includes/admin/settings/register-settings.php:2355
4419
  msgid ""
4420
  "Your license key expired on %s. Please <a href=\"%s\" "
4421
  "target=\"_blank\">renew your license key</a>."
4422
  msgstr ""
4423
 
4424
+ #: includes/admin/settings/register-settings.php:2368
4425
  msgid ""
4426
  "Your license key has been disabled. Please <a href=\"%s\" "
4427
  "target=\"_blank\">contact support</a> for more information."
4428
  msgstr ""
4429
 
4430
+ #: includes/admin/settings/register-settings.php:2380
4431
  msgid ""
4432
  "Invalid license. Please <a href=\"%s\" target=\"_blank\">visit your account "
4433
  "page</a> and verify it."
4434
  msgstr ""
4435
 
4436
+ #: includes/admin/settings/register-settings.php:2393
4437
  msgid ""
4438
  "Your %s is not active for this URL. Please <a href=\"%s\" "
4439
  "target=\"_blank\">visit your account page</a> to manage your license key "
4440
  "URLs."
4441
  msgstr ""
4442
 
4443
+ #: includes/admin/settings/register-settings.php:2405
4444
  msgid "This appears to be an invalid license key for %s."
4445
  msgstr ""
4446
 
4447
+ #: includes/admin/settings/register-settings.php:2414
4448
  msgid ""
4449
  "Your license key has reached its activation limit. <a href=\"%s\">View "
4450
  "possible upgrades</a> now."
4451
  msgstr ""
4452
 
4453
+ #: includes/admin/settings/register-settings.php:2423
4454
  msgid ""
4455
  "The key you entered belongs to a bundle, please use the product specific "
4456
  "license key."
4457
  msgstr ""
4458
 
4459
+ #: includes/admin/settings/register-settings.php:2431
4460
  msgid "unknown_error"
4461
  msgstr ""
4462
 
4463
+ #: includes/admin/settings/register-settings.php:2432
4464
  msgid ""
4465
  "There was an error with this license key: %s. Please <a href=\"%s\">contact "
4466
  "our support team</a>."
4467
  msgstr ""
4468
 
4469
+ #: includes/admin/settings/register-settings.php:2452
4470
  msgid "License key never expires."
4471
  msgstr ""
4472
 
4473
+ #: includes/admin/settings/register-settings.php:2459
4474
  msgid ""
4475
  "Your license key expires soon! It expires on %s. <a href=\"%s\" "
4476
  "target=\"_blank\">Renew your license key</a>."
4477
  msgstr ""
4478
 
4479
+ #: includes/admin/settings/register-settings.php:2469
4480
  msgid "Your license key expires on %s."
4481
  msgstr ""
4482
 
4483
+ #: includes/admin/settings/register-settings.php:2487
4484
  msgid "To receive updates, please enter your valid %s license key."
4485
  msgstr ""
4486
 
4487
+ #: includes/admin/settings/register-settings.php:2500
4488
  msgid "Deactivate License"
4489
  msgstr ""
4490
 
6468
  msgid "Thank you"
6469
  msgstr ""
6470
 
6471
+ #: includes/emails/functions.php:294 includes/emails/functions.php:368
6472
+ msgid "You do not have permission to do this."
6473
+ msgstr ""
6474
+
6475
+ #: includes/emails/functions.php:345
6476
+ msgid "Something went wrong. SendWP was not installed correctly."
6477
+ msgstr ""
6478
+
6479
  #: includes/emails/template.php:54
6480
  msgid "Sample Product Title"
6481
  msgstr ""
7971
  msgid "There are no downloads attached to this payment"
7972
  msgstr ""
7973
 
7974
+ #: includes/scripts.php:237
7975
+ msgid "Please wait &hellip;"
7976
  msgstr ""
7977
 
7978
  #: includes/scripts.php:248
7979
+ msgid "Purchase Limit Settings"
7980
  msgstr ""
7981
 
7982
  #: includes/scripts.php:249
7983
+ msgid "Simple Shipping Settings"
7984
  msgstr ""
7985
 
7986
  #: includes/scripts.php:250
7987
+ msgid "Software Licensing Settings"
7988
+ msgstr ""
7989
+
7990
+ #: includes/scripts.php:251
7991
  msgid "Recurring Payments Settings"
7992
  msgstr ""
7993
 
8544
  msgid "to"
8545
  msgstr ""
8546
 
8547
+ #: includes/admin/settings/register-settings.php:784
8548
  #: includes/template-functions.php:79
8549
  msgctxt "text shown on the Add to Cart Button when the product is already in the cart"
8550
  msgid "Checkout"
8551
  msgstr ""
8552
 
8553
+ #: includes/admin/settings/register-settings.php:974
8554
  msgctxt ""
8555
  "payment status labels for the privacy export & erase settings: Pending "
8556
  "Payments"
readme.txt CHANGED
@@ -5,8 +5,8 @@ Contributors: easydigitaldownloads, mordauk, sunnyratilal, chriscct7, section214
5
  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.2
9
- Stable Tag: 2.9.14
10
  License: GNU Version 2 or Any Later Version
11
 
12
  The easiest way to sell digital products with WordPress.
@@ -189,6 +189,10 @@ Yes. Easy Digital Downloads also includes default support for Amazon Payments an
189
 
190
  == Changelog ==
191
 
 
 
 
 
192
  = 2.9.14, May 8, 2019 =
193
  * Fix: Corrected an issue in local file location detection for Windows servers.
194
 
5
  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.2.1
9
+ Stable Tag: 2.9.15
10
  License: GNU Version 2 or Any Later Version
11
 
12
  The easiest way to sell digital products with WordPress.
189
 
190
  == Changelog ==
191
 
192
+ = 2.9.15, May 31, 2019 =
193
+ * Fix: Prevent a fatal error during checkout when no gateways are returned as active.
194
+ * New: Added support for SendWP to help with email deliverability.
195
+
196
  = 2.9.14, May 8, 2019 =
197
  * Fix: Corrected an issue in local file location detection for Windows servers.
198