Easy Digital Downloads - Version 2.4.3

Version Description

Download this release

Release Info

Developer mordauk
Plugin Icon 128x128 Easy Digital Downloads
Version 2.4.3
Comparing to
See all releases

Code changes from version 2.4.2 to 2.4.3

Files changed (153) hide show
  1. assets/css/edd-admin.min.css +1 -1
  2. assets/images/edd-logo-pdf.png +0 -0
  3. assets/images/edd-logo.svg +30 -0
  4. assets/js/admin-scripts.js +56 -31
  5. assets/js/admin-scripts.min.js +1 -1
  6. assets/js/edd-ajax.js +3 -0
  7. assets/js/edd-ajax.min.js +1 -1
  8. easy-digital-downloads.php +3 -3
  9. includes/EDD_SL_Plugin_Updater.php +4 -0
  10. includes/admin/add-ons.php +0 -15
  11. includes/admin/admin-pages.php +1 -1
  12. includes/admin/class-edd-notices.php +1 -1
  13. includes/admin/customers/customers.php +1 -1
  14. includes/admin/dashboard-widgets.php +2 -0
  15. includes/admin/discounts/contextual-help.php +2 -2
  16. includes/admin/downloads/contextual-help.php +4 -4
  17. includes/admin/payments/actions.php +2 -0
  18. includes/admin/payments/class-payments-table.php +14 -20
  19. includes/admin/payments/contextual-help.php +3 -3
  20. includes/admin/payments/payments-history.php +4 -4
  21. includes/admin/plugins.php +4 -5
  22. includes/admin/reporting/class-sales-logs-list-table.php +2 -1
  23. includes/admin/reporting/contextual-help.php +3 -3
  24. includes/admin/reporting/pdf-reports.php +1 -1
  25. includes/admin/settings/contextual-help.php +4 -4
  26. includes/admin/settings/register-settings.php +1 -1
  27. includes/admin/tools.php +3 -3
  28. includes/admin/tracking.php +1 -1
  29. includes/admin/upgrades/upgrade-functions.php +75 -0
  30. includes/admin/welcome.php +13 -26
  31. includes/api/class-edd-api.php +3 -2
  32. includes/cart/functions.php +30 -5
  33. includes/checkout/template.php +1 -1
  34. includes/class-edd-db-customers.php +10 -5
  35. includes/class-edd-html-elements.php +1 -1
  36. includes/class-edd-stats.php +2 -2
  37. includes/discount-functions.php +3 -2
  38. includes/download-functions.php +2 -2
  39. includes/formatting.php +2 -1
  40. includes/gateways/amazon-payments.php +108 -62
  41. includes/gateways/paypal-standard.php +1 -6
  42. includes/install.php +1 -0
  43. includes/payments/actions.php +18 -2
  44. includes/payments/functions.php +36 -8
  45. includes/post-types.php +1 -1
  46. includes/process-purchase.php +24 -24
  47. includes/query-filters.php +64 -1
  48. includes/shortcodes.php +1 -1
  49. includes/user-functions.php +3 -2
  50. languages/edd-af.mo +0 -0
  51. languages/edd-an.mo +0 -0
  52. languages/edd-ar.mo +0 -0
  53. languages/edd-az.mo +0 -0
  54. languages/edd-be.mo +0 -0
  55. languages/edd-bg.mo +0 -0
  56. languages/edd-bg_BG.mo +0 -0
  57. languages/edd-bn_BD.mo +0 -0
  58. languages/edd-bs_BA.mo +0 -0
  59. languages/edd-ca.mo +0 -0
  60. languages/edd-co.mo +0 -0
  61. languages/edd-cs_CZ.mo +0 -0
  62. languages/edd-cy.mo +0 -0
  63. languages/edd-da_DK.mo +0 -0
  64. languages/edd-de_CH.mo +0 -0
  65. languages/edd-de_DE.mo +0 -0
  66. languages/edd-el.mo +0 -0
  67. languages/edd-en_AU.mo +0 -0
  68. languages/edd-en_CA.mo +0 -0
  69. languages/edd-en_GB.mo +0 -0
  70. languages/edd-eo.mo +0 -0
  71. languages/edd-es_AR.mo +0 -0
  72. languages/edd-es_CL.mo +0 -0
  73. languages/edd-es_ES.mo +0 -0
  74. languages/edd-es_MX.mo +0 -0
  75. languages/edd-es_PE.mo +0 -0
  76. languages/edd-es_VE.mo +0 -0
  77. languages/edd-et.mo +0 -0
  78. languages/edd-eu.mo +0 -0
  79. languages/edd-fa.mo +0 -0
  80. languages/edd-fa_IR.mo +0 -0
  81. languages/edd-fi.mo +0 -0
  82. languages/edd-fo.mo +0 -0
  83. languages/edd-fr_FR.mo +0 -0
  84. languages/edd-fy.mo +0 -0
  85. languages/edd-ga.mo +0 -0
  86. languages/edd-gd.mo +0 -0
  87. languages/edd-gl_ES.mo +0 -0
  88. languages/edd-he_IL.mo +0 -0
  89. languages/edd-hi_IN.mo +0 -0
  90. languages/edd-hr.mo +0 -0
  91. languages/edd-hu_HU.mo +0 -0
  92. languages/edd-id_ID.mo +0 -0
  93. languages/edd-is_IS.mo +0 -0
  94. languages/edd-it_IT.mo +0 -0
  95. languages/edd-ja.mo +0 -0
  96. languages/edd-jv.mo +0 -0
  97. languages/edd-ka.mo +0 -0
  98. languages/edd-ka_GE.mo +0 -0
  99. languages/edd-kk.mo +0 -0
  100. languages/edd-km.mo +0 -0
  101. languages/edd-kn.mo +0 -0
  102. languages/edd-ko_KR.mo +0 -0
  103. languages/edd-ky.mo +0 -0
  104. languages/edd-lo.mo +0 -0
  105. languages/edd-lt_LT.mo +0 -0
  106. languages/edd-lv.mo +0 -0
  107. languages/edd-mg.mo +0 -0
  108. languages/edd-mk_MK.mo +0 -0
  109. languages/edd-mn.mo +0 -0
  110. languages/edd-ms_MY.mo +0 -0
  111. languages/edd-my_MM.mo +0 -0
  112. languages/edd-nb_NO.mo +0 -0
  113. languages/edd-ne_NP.mo +0 -0
  114. languages/edd-nl_NL.mo +0 -0
  115. languages/edd-nn_NO.mo +0 -0
  116. languages/edd-oc.mo +0 -0
  117. languages/edd-os.mo +0 -0
  118. languages/edd-pl_PL.mo +0 -0
  119. languages/edd-ps.mo +0 -0
  120. languages/edd-pt_BR.mo +0 -0
  121. languages/edd-pt_PT.mo +0 -0
  122. languages/edd-ro_RO.mo +0 -0
  123. languages/edd-ru_RU.mo +0 -0
  124. languages/edd-sah.mo +0 -0
  125. languages/edd-si_LK.mo +0 -0
  126. languages/edd-sk_SK.mo +0 -0
  127. languages/edd-sl_SI.mo +0 -0
  128. languages/edd-so.mo +0 -0
  129. languages/edd-sq.mo +0 -0
  130. languages/edd-sr_RS.mo +0 -0
  131. languages/edd-su.mo +0 -0
  132. languages/edd-sv_SE.mo +0 -0
  133. languages/edd-sw.mo +0 -0
  134. languages/edd-ta_IN.mo +0 -0
  135. languages/edd-ta_LK.mo +0 -0
  136. languages/edd-te.mo +0 -0
  137. languages/edd-tg.mo +0 -0
  138. languages/edd-th.mo +0 -0
  139. languages/edd-tl.mo +0 -0
  140. languages/edd-tr_TR.mo +0 -0
  141. languages/edd-ug.mo +0 -0
  142. languages/edd-uk.mo +0 -0
  143. languages/edd-ur.mo +0 -0
  144. languages/edd-uz.mo +0 -0
  145. languages/edd-vi.mo +0 -0
  146. languages/edd-zh_CN.mo +0 -0
  147. languages/edd-zh_TW.mo +0 -0
  148. languages/edd.pot +246 -246
  149. readme.txt +75 -45
  150. templates/checkout_cart.php +1 -4
  151. templates/edd.min.css +1 -1
  152. templates/emails/header-default.php +16 -13
  153. templates/shortcode-profile-editor.php +1 -1
assets/css/edd-admin.min.css CHANGED
@@ -1 +1 @@
1
- .edd-hidden{display:none}.edd-clearfix:after{display:block;visibility:hidden;content:".";text-indent:-9999px;height:0}.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.regular-text~label,.download_page_edd-settings .form-table select+label{display:block}.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>strong{font-size:18px;font-style:italic}.edd-tab-span{float:right;bottom:15px;position:relative}.edd-add-ons-footer{padding-top:10px}#edd-add-ons h2{margin:0 0 15px}#edd-add-ons h2 .button-primary{position:absolute}#edd-add-ons .edd-extension{float:left;margin:0 15px 15px 0;background:#fff;border:1px solid #ccc;width:320px;padding:14px;height:315px;position:relative}#edd-add-ons .edd-extension h3{margin:0 0 8px;font-size:13px}#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{border-color:#62a9d7;background-color:#85c0e5;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=checkbox],#edd-edit-discount input[type=checkbox]{width:15px}#edd-payment-filters{clear:both;background:#f5f5f5;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;overflow:auto;margin:8px 0;padding:12px;border-width:1px;border-style:solid;border-radius:3px;font-size:13px;line-height:2.1em}#edd-payments-filter ul.subsubsub{margin-bottom:8px}#edd-payment-filters p{color:#777}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,#postbox-container-1 .edd_files_url_label{width:80px}.edd_add_repeatable{display:inline-block}.edd_repeatable_row td{vertical-align:middle}#downloadinformation .edd_meta_table_wrap table input,#downloadinformation .edd_meta_table_wrap table select,#downloadinformation .edd_meta_table_wrap table textarea{margin:4px 0;width:100%}#downloadinformation .edd_meta_table_wrap table .submit input{width:auto}.edd_repeatable_upload_wrapper .edd_repeatable_upload_field_container{position:relative}.edd_upload_file{position:absolute;top:3px;right:7px;padding:2px 8px;display:block;background:#fff}.edd_upload_field{padding-right:8em}.edd_remove_repeatable{margin:8px 0 0;cursor:pointer;width:10px;height:10px;display:inline-block;text-indent:-9999px;overflow:hidden}.edd_remove_repeatable:active,.edd_remove_repeatable:hover{background-position:-10px 0!important}.edd_draghandle{display:block;width:20px;height:20px;background:url(../images/edd-cross-hair.png);cursor:move;margin:4px 0 0}textarea#edd-payment-note{width:100%;height:4em;margin:0}#edd_product_notes_field{width:98%;margin:0;height:4em}.edd_repeatable_default_wrapper{text-align:center;width:25px}.edd-admin-box .label{font-weight:600}.edd-admin-box-inside{margin:0;padding:3px 12px;clear:both;border-bottom:1px solid #eee}.rtl .edd-admin-box-inside{padding:5px 10px 5px 0}.edd-admin-box-inside .strong{font-weight:600}.edd-payment-fees .fee-label{font-weight:400;color:#666}.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-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-purchased-files .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-purchased-files ul{clear:both;display:block}#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-purchased-files .inside>ul>li,#edd-purchased-files .row>ul>li{display:inline-block;position:relative;vertical-align:middle;margin-right:5%;line-height:30px}#edd-purchased-files li.actions{text-align:right;min-width:200px}#edd-purchased-files ul li.remove{text-align:right}#edd-purchased-files .row{padding:12px;border-bottom:1px solid #eee}#edd-purchased-files ul{font-size:0}#edd-purchased-files ul li{font-size:13px}#edd-order-data .data span{color:#666;font-weight:600}#edd-purchased-files .inside{padding:12px}#edd-order-recalc-total{float:right}.edd-price-field{width:80px}#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}@media screen and (max-width:782px){.order-data-column input[type=email]{padding:6px 10px}}@media screen and (min-width:851px){#edd-purchased-files .inside li.actions{text-align:right}}@media screen and (max-width:1024px){#edd-edit-order-form .column{width:49%}}@media screen and (max-width:1280px) and (min-width:1279px){#edd-purchased-files .inside li.actions{width:35%}#edd-edit-order-form .column{width:32%}}@media screen and (min-width:1280px){#edd-edit-order-form .column,#edd-purchased-files.columns-3 .inside>ul>li,#edd-purchased-files.columns-3 .row>ul>li{width:32%;margin-right:3%}#edd-edit-order-form .columns-4 .column,#edd-purchased-files.columns-4 .inside>ul>li,#edd-purchased-files.columns-4 .row>ul>li{width:22%;margin-right:2%}#edd-edit-order-form .column:nth-child(2n+1),#edd-edit-order-form .columns-3 .column:nth-child(2n+1),#edd-edit-order-form .columns-4 .column:nth-child(3n+1){margin-right:0}#edd-purchased-files.columns-4 li.download{width:33%}#edd-purchased-files.columns-3 .inside>ul>li.price,#edd-purchased-files.columns-3 .row>ul>li.price,#edd-purchased-files.columns-4 li.price{width:14%}#edd-purchased-files.columns-4 li.actions{width:25%;margin-top:0;margin-right:0}}@media screen and (max-width:1284px){#edd-edit-order-form .column strong{display:block}}#edd_product_stats .label{width:70px;display:inline-block}#edd_product_stats hr{border-style:solid;border-width:1px;border-color:#ccc #fff #fff #ccc}.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{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;padding-top:6px;color:#777;width:100%}.edd_dashboard_widget .label_heading{margin:0 0 8px 12px;display:block;font-size:12px;font-family:Helvetica,Arial,sans-serif;color:#8f8f8f;font-weight:400;padding-top:10px;border-top:1px solid #ececec}.edd_dashboard_widget .edd_dashboard_widget_subheading{margin:1em 0 0;border-top:1px solid #ececec;padding-top:10px;color:#8f8f8f;font-size:14px}.edd_dashboard_widget .edd_dashboard_widget_subheading+.table{margin:8px 0 0}.edd_dashboard_widget .edd_price_label{background:#00769c;padding:2px 4px;border-radius:3px;color:#fff;margin-right:2px;font-size:10px}.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;margin-right:6px;height:24px;line-height:24px}.edd-export-form{position:relative}.edd-export-form .edd-progress{background:#ddd;position:absolute;bottom:-20px;height:15px;width:100%}.edd-export-form .edd-progress div{height:100%;background:#ccc;width:0}.admin-color-fresh .edd-export-form .edd-progress div{background:#0073aa}.admin-color-light .edd-export-form .edd-progress div{background:#888}.admin-color-blue .edd-export-form .edd-progress div{background:#096484}.admin-color-coffee .edd-export-form .edd-progress div{background:#c7a589}.admin-color-ectoplasm .edd-export-form .edd-progress div{background:#a3b745}.admin-color-midnight .edd-export-form .edd-progress div{background:#e14d43}.admin-color-sunrise .edd-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{padding:10px;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04);border:1px solid #e5e5e5}.edd-mix-chart{display:inline-block;width:49%}.edd-graph-notes{color:#9c9c9c}.edd-graph-notes span{display:block}.edd-pie-graph .legend{display:none}.edd-pie-legend{margin-top:10px;overflow:auto}.edd-legend-item-wrapper{width:48%;display:inline-block;font-size:8pt;color:#333;padding:2px 5px 0;height:20px}.edd-legend-color{display:inline-block;height:15px;width:20px;border:1px solid #cfcfcf;margin-right:5px}.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}.post-type-download .fixed .column-name{width:27%}.post-type-download .fixed .column-description{width:30%}.post-type-download .fixed .column-slug{width:23%}.post-type-download .fixed .column-posts{text-align:left;width:17%}#system-info-textarea{width:800px;height:400px;font-family:Menlo,Monaco,monospace;background:0 0;white-space:pre;overflow:auto;display:block}#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:300px}.chosen-container-multi .chosen-choices{-webkit-border-radius:3px;border-radius:3px;border-color:#dfdfdf;background-image:none}.chosen-container-multi .chosen-choices input{margin:2px;height:27px!important;border-color:#dfdfdf}.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{-webkit-border-top-left-radius:3px;border-radius:3px 3px 0 0;-webkit-border-top-right-radius:3px;-webkit-border-bottom-left-radius:0;border-color:#aaa;-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{padding:10px 10px 4px;margin:0;background:#f0f0f0;border:1px solid #DFDFDF;width:300px;max-height:200px;overflow-y:scroll}@media screen and (max-width:1100px){.edd-mix-chart{display:block;width:100%}}@media screen and (max-width:782px){.post-type-download .nav-tab-wrapper a{padding:2px 4px;font-size:50%}.download_page_edd-tools .apikeys .column-user{width:80px}}#customer-tab-wrapper{margin-left:-1px;z-index:1;text-align:center;display:inline-block}#customer-tab-wrapper-list li{background-color:#fff;width:32px;height:32px}#customer-tab-wrapper-list .inactive{background-color:#fff;color:#eee;border-left:1px solid #e5e5e5}#customer-tab-wrapper-list .active{border-width:1px 1px 1px 0;border-style:solid;border-color:#e5e5e5}#customer-tab-wrapper-list :not(:last-child){margin-bottom:3px}#customer-tab-wrapper-list .dashicons{font-size:24px;line-height:32px}#edd-customer-card-wrapper .left{float:left}#edd-customer-card-wrapper .right{float:right}#edd-customer-card-wrapper input{font-weight:400}#edd-customer-card-wrapper{display:inline-block;margin-left:-1px;z-index:2;width:700px;background-color:#FFF;min-height:200px;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)}#edd-customer-card-wrapper .customer-section{border-bottom:1px solid #eee;margin-bottom:10px;overflow:auto}#edd-customer-card-wrapper .customer-section table{margin-bottom:20px}#edd-customer-card-wrapper>div{padding:0 20px}#edd-customer-card-wrapper>div:first-child{padding-top:20px}#edd-customer-card-wrapper>div:last-child{padding-bottom:20px;border:none}#edd-customer-card-wrapper .avatar-wrap{padding-right:10px;text-align:center}#edd-customer-card-wrapper .customer-id{font-size:24px;font-weight:600}#edd-customer-card-wrapper .customer-main-wrapper input{width:200px}#edd-customer-card-wrapper .customer-address-wrapper{max-width:33%;margin-right:25px;width:202px}#edd-customer-card-wrapper .customer-address-wrapper select{width:200px}#edd-customer-card-wrapper .customer-info{margin-top:5px;min-height:185px;margin-bottom:10px}#edd-customer-card-wrapper .info-wrapper{min-height:125px}#edd-customer-card-wrapper a.delete{text-decoration:none;color:red;margin-right:5px}.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{text-align:center;margin-bottom:20px;line-height:28px}#customer-edit-actions .button-secondary{margin-right:10px}#edd-customer-card-wrapper .info-item{line-height:16px;display:block;padding-bottom:5px}#edd-customer-card-wrapper .edit-item{display:none}#edd-customer-card-wrapper .edd_user_search_results{left:1px;top:16px}#edd-customer-card-wrapper .edd_user_search_results ul{width:200px}#customer-stats-wrapper{margin:0 auto;text-align:center;min-height:30px}#customer-stats-wrapper li{width:50%;float:left;line-height:22px;font-size:14px}#customer-stats-wrapper a{text-decoration:none}#customer-stats-wrapper .dashicons{color:#888}#customer-tables-wrapper table{width:100%;text-align:center}#customer-tables-wrapper th{text-align:center}#customer-tables-wrapper .downloads tr>td:first-child,#customer-tables-wrapper .downloads tr>th:first-child{text-align:left}#customer-tables-wrapper .downloads tr>td:only-child{text-align:center}#customer-notes-wrapper{min-height:50px}.customer-notes-header img,.customer-notes-header span{font-weight:600;line-height:30px;vertical-align:middle}.customer-note-input{width:100%;margin-bottom:5px}#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}
1
+ .edd-admin-box .label,.edd-admin-box-inside .strong{font-weight:600}.edd-mobile-link,.edd_repeatable_row td{vertical-align:middle}#customer-stats-wrapper a,#edd-customer-card-wrapper a.delete,.edd-wrap a{text-decoration:none}.edd-hidden{display:none}.edd-clearfix:after{display:block;visibility:hidden;content:".";text-indent:-9999px;height:0}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.regular-text~label,.download_page_edd-settings .form-table select+label{display:block}.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>strong{font-size:18px;font-style:italic}.edd-tab-span{float:right;bottom:15px;position:relative}.edd-add-ons-footer{padding-top:10px}#edd-add-ons h2{margin:0 0 15px}#edd-add-ons h2 .button-primary{position:absolute}#edd-add-ons .edd-extension{float:left;margin:0 15px 15px 0;background:#fff;border:1px solid #ccc;width:320px;padding:14px;height:315px;position:relative}#edd-add-ons .edd-extension h3{margin:0 0 8px;font-size:13px}#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{border-color:#62a9d7;background-color:#85c0e5;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=checkbox],#edd-edit-discount input[type=checkbox]{width:15px}#edd-payment-filters{clear:both;background:#f5f5f5;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;overflow:auto;margin:8px 0;padding:12px;border-width:1px;border-style:solid;border-radius:3px;font-size:13px;line-height:2.1em}#edd-payments-filter ul.subsubsub{margin-bottom:8px}#edd-payment-filters p{color:#777}tr.status-refunded td{background:#cecece;border-top-color:#ccc}.wp-list-table.downloads th#ID{width:80px}.wp-list-table.downloads th#details{width:130px}.wp-list-table.downloads th#date{width:140px}.wp-list-table.downloads th#user{width:130px}.edd-mobile-link{line-height:32px}.edd-mobile-link img{max-width:80%;height:auto;float:left}@media handheld,only screen and (max-width:640px){.wp-list-table.downloads th{width:auto!important}}.download_page_edd-payment-history .ui-dialog .ui-dialog-titlebar-close span{margin-left:-8px;margin-top:-8px}#edd-download-link-textarea{width:100%}.edd_files_name_label{width:225px;float:left}.edd_files_url_label{width:220px;float:left}#postbox-container-1 .edd_files_name_label,#postbox-container-1 .edd_files_url_label{width:80px}.edd_add_repeatable{display:inline-block}#downloadinformation .edd_meta_table_wrap table input,#downloadinformation .edd_meta_table_wrap table select,#downloadinformation .edd_meta_table_wrap table textarea{margin:4px 0;width:100%}#downloadinformation .edd_meta_table_wrap table .submit input{width:auto}.edd_repeatable_upload_wrapper .edd_repeatable_upload_field_container{position:relative}.edd_upload_file{position:absolute;top:3px;right:7px;padding:2px 8px;display:block;background:#fff}.edd_upload_field{padding-right:8em}.edd_remove_repeatable{margin:8px 0 0;cursor:pointer;width:10px;height:10px;display:inline-block;text-indent:-9999px;overflow:hidden}.edd_remove_repeatable:active,.edd_remove_repeatable:hover{background-position:-10px 0!important}.edd_draghandle{display:block;width:20px;height:20px;background:url(../images/edd-cross-hair.png);cursor:move;margin:4px 0 0}textarea#edd-payment-note{width:100%;height:4em;margin:0}.edd_repeatable_product_wrapper .edd-select,.edd_repeatable_upload_wrapper .pricing select{min-width:100%}#edd_product_notes_field{width:98%;margin:0;height:4em}.edd_repeatable_default_wrapper{text-align:center;width:25px}#edd-purchased-files ul li.remove,td.edd_order_price{text-align:right}.edd-admin-box-inside{margin:0;padding:3px 12px;clear:both;border-bottom:1px solid #eee}.rtl .edd-admin-box-inside{padding:5px 10px 5px 0}.edd-payment-fees .fee-label{font-weight:400;color:#666}.edd-admin-box .right{float:right}.rtl .edd-admin-box .right{float:left;margin-left:10px}#edd-customer-details .actions,#edd-order-recalc-total{float:right}#edd-order-details .inside,#edd-order-update .inside{margin:0;padding:0}#edd-order-update input.edd_datepicker{width:180px}#edd-order-update input[type=number].edd-payment-time-hour,#edd-order-update input[type=number].edd-payment-time-min{width:50px}.edd-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-purchased-files .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-purchased-files ul{clear:both;display:block}.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-purchased-files .inside>ul>li,#edd-purchased-files .row>ul>li{display:inline-block;position:relative;vertical-align:middle;margin-right:5%;line-height:30px}#edd-purchased-files li.actions{text-align:right;min-width:200px}#edd-purchased-files .row{padding:12px;border-bottom:1px solid #eee}#edd-purchased-files ul{font-size:0}#edd-purchased-files ul li{font-size:13px}#edd-order-data .data span{color:#666;font-weight:600}#edd-purchased-files .inside{padding:12px}.edd-price-field{width:80px}#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}@media screen and (max-width:782px){.order-data-column input[type=email]{padding:6px 10px}}@media screen and (min-width:851px){#edd-purchased-files .inside li.actions{text-align:right}}@media screen and (max-width:1024px){#edd-edit-order-form .column{width:49%}}@media screen and (max-width:1280px) and (min-width:1279px){#edd-purchased-files .inside li.actions{width:35%}#edd-edit-order-form .column{width:32%}}@media screen and (min-width:1280px){#edd-edit-order-form .column,#edd-purchased-files.columns-3 .inside>ul>li,#edd-purchased-files.columns-3 .row>ul>li{width:32%;margin-right:3%}#edd-edit-order-form .columns-4 .column,#edd-purchased-files.columns-4 .inside>ul>li,#edd-purchased-files.columns-4 .row>ul>li{width:22%;margin-right:2%}#edd-edit-order-form .column:nth-child(2n+1),#edd-edit-order-form .columns-3 .column:nth-child(2n+1),#edd-edit-order-form .columns-4 .column:nth-child(3n+1){margin-right:0}#edd-purchased-files.columns-4 li.download{width:33%}#edd-purchased-files.columns-3 .inside>ul>li.price,#edd-purchased-files.columns-3 .row>ul>li.price,#edd-purchased-files.columns-4 li.price{width:14%}#edd-purchased-files.columns-4 li.actions{width:25%;margin-top:0;margin-right:0}}@media screen and (max-width:1284px){#edd-edit-order-form .column strong{display:block}}#edd_product_stats .label{width:70px;display:inline-block}#edd_product_stats hr{border-style:solid;border-width:1px;border-color:#ccc #fff #fff #ccc}.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{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;padding-top:6px;color:#777;width:100%}.edd_dashboard_widget .label_heading{margin:0 0 8px 12px;display:block;font-size:12px;font-family:Helvetica,Arial,sans-serif;color:#8f8f8f;font-weight:400;padding-top:10px;border-top:1px solid #ececec}.edd_dashboard_widget .edd_dashboard_widget_subheading{margin:1em 0 0;border-top:1px solid #ececec;padding-top:10px;color:#8f8f8f;font-size:14px}.edd_dashboard_widget .edd_dashboard_widget_subheading+.table{margin:8px 0 0}.edd_dashboard_widget .edd_price_label{background:#00769c;padding:2px 4px;border-radius:3px;color:#fff;margin-right:2px;font-size:10px}.edd_dashboard_widget table{width:100%;margin-left:0;margin-bottom:1em}td.edd_order_label{width:80%}@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;margin-right:6px;height:24px;line-height:24px}.edd-export-form{position:relative}.edd-export-form .edd-progress{background:#ddd;position:absolute;bottom:-20px;height:15px;width:100%}.edd-export-form .edd-progress div{height:100%;background:#ccc;width:0}.admin-color-fresh .edd-export-form .edd-progress div{background:#0073aa}.admin-color-light .edd-export-form .edd-progress div{background:#888}.admin-color-blue .edd-export-form .edd-progress div{background:#096484}.admin-color-coffee .edd-export-form .edd-progress div{background:#c7a589}.admin-color-ectoplasm .edd-export-form .edd-progress div{background:#a3b745}.admin-color-midnight .edd-export-form .edd-progress div{background:#e14d43}.admin-color-sunrise .edd-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{padding:10px;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04);border:1px solid #e5e5e5}.edd-mix-chart{display:inline-block;width:49%}.edd-graph-notes{color:#9c9c9c}.edd-graph-notes span{display:block}.edd-pie-graph .legend{display:none}.edd-pie-legend{margin-top:10px;overflow:auto}.edd-legend-item-wrapper{width:48%;display:inline-block;font-size:8pt;color:#333;padding:2px 5px 0;height:20px}.edd-legend-color{display:inline-block;height:15px;width:20px;border:1px solid #cfcfcf;margin-right:5px}.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}.post-type-download .fixed .column-name{width:27%}.post-type-download .fixed .column-description{width:30%}.post-type-download .fixed .column-slug{width:23%}.post-type-download .fixed .column-posts{text-align:left;width:17%}#system-info-textarea{width:800px;height:400px;font-family:Menlo,Monaco,monospace;background:0 0;white-space:pre;overflow:auto;display:block}#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:300px}.chosen-container-multi .chosen-choices{-webkit-border-radius:3px;border-radius:3px;border-color:#dfdfdf;background-image:none}.chosen-container-multi .chosen-choices input{margin:2px;height:27px!important;border-color:#dfdfdf}.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{-webkit-border-top-left-radius:3px;-webkit-border-top-right-radius:3px;-webkit-border-bottom-left-radius:0;border-color:#aaa;-webkit-box-shadow:1px 1px 2px rgba(0,0,0,.1);box-shadow:1px 1px 2px rgba(0,0,0,.1);border-radius:3px 3px 0 0}.download_page_edd-tools .tablenav .actions{overflow:visible}.edd_user_search_wrap{position:relative;overflow:visible}.edd_user_search_results{position:absolute;left:0;top:27px}.edd_user_search_results a.edd-ajax-user-cancel{position:absolute;right:6px;top:2px}.edd_user_search_results ul{padding:10px 10px 4px;margin:0;background:#f0f0f0;border:1px solid #DFDFDF;width:300px;max-height:200px;overflow-y:scroll}@media screen and (max-width:1100px){.edd-mix-chart{display:block;width:100%}}@media screen and (max-width:782px){.post-type-download .nav-tab-wrapper a{padding:2px 4px;font-size:50%}.download_page_edd-tools .apikeys .column-user{width:80px}}#customer-tab-wrapper{margin-left:-1px;z-index:1;text-align:center;display:inline-block}#customer-tab-wrapper-list li{background-color:#fff;width:32px;height:32px}#customer-tab-wrapper-list .inactive{background-color:#fff;color:#eee;border-left:1px solid #e5e5e5}#customer-tab-wrapper-list .active{border-width:1px 1px 1px 0;border-style:solid;border-color:#e5e5e5}#customer-tab-wrapper-list :not(:last-child){margin-bottom:3px}#customer-tab-wrapper-list .dashicons{font-size:24px;line-height:32px}#edd-customer-card-wrapper .left{float:left}#edd-customer-card-wrapper .right{float:right}#edd-customer-card-wrapper input{font-weight:400}#edd-customer-card-wrapper .customer-id,.customer-info .customer-name{font-size:24px;font-weight:600}#edd-customer-card-wrapper{display:inline-block;margin-left:-1px;z-index:2;width:700px;background-color:#FFF;min-height:200px;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)}#edd-customer-card-wrapper .customer-section{border-bottom:1px solid #eee;margin-bottom:10px;overflow:auto}#edd-customer-card-wrapper .customer-section table{margin-bottom:20px}#edd-customer-card-wrapper>div{padding:0 20px}#edd-customer-card-wrapper>div:first-child{padding-top:20px}#edd-customer-card-wrapper>div:last-child{padding-bottom:20px;border:none}#edd-customer-card-wrapper .avatar-wrap{padding-right:10px;text-align:center}#edd-customer-card-wrapper .customer-main-wrapper input{width:200px}#edd-customer-card-wrapper .customer-address-wrapper{max-width:33%;margin-right:25px;width:202px}#edd-customer-card-wrapper .customer-address-wrapper select,#edd-customer-card-wrapper .edd_user_search_results ul{width:200px}#edd-customer-card-wrapper .customer-info{margin-top:5px;min-height:185px;margin-bottom:10px}#edd-customer-card-wrapper .info-wrapper{min-height:125px}#edd-customer-card-wrapper a.delete{color:red;margin-right:5px}.customer-edit-link a,.disconnect-user a{font-size:12px;font-weight:400;text-decoration:none}#customer-edit-actions{text-align:center;margin-bottom:20px;line-height:28px}#customer-edit-actions .button-secondary{margin-right:10px}#edd-customer-card-wrapper .info-item{line-height:16px;display:block;padding-bottom:5px}#edd-customer-card-wrapper .edit-item{display:none}#edd-customer-card-wrapper .edd_user_search_results{left:1px;top:16px}#customer-stats-wrapper{margin:0 auto;text-align:center;min-height:30px}#customer-stats-wrapper li{width:50%;float:left;line-height:22px;font-size:14px}#customer-stats-wrapper .dashicons{color:#888}#customer-tables-wrapper table{width:100%;text-align:center}#customer-tables-wrapper th{text-align:center}#customer-tables-wrapper .downloads tr>td:first-child,#customer-tables-wrapper .downloads tr>th:first-child{text-align:left}#customer-tables-wrapper .downloads tr>td:only-child,.delete-customer{text-align:center}#customer-notes-wrapper{min-height:50px}.customer-notes-header img,.customer-notes-header span{font-weight:600;line-height:30px;vertical-align:middle}.customer-note-input{width:100%;margin-bottom:5px}#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}
assets/images/edd-logo-pdf.png ADDED
Binary file
assets/images/edd-logo.svg ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
+ width="210px" height="210px" viewBox="0 0 210 210" enable-background="new 0 0 210 210" xml:space="preserve">
6
+ <path fill="#1D2428" d="M116.226,155.494c-2.052-1.334-4.651-2.533-7.787-3.574c-2.398-0.827-4.371-1.606-5.911-2.358
7
+ c-1.527-0.744-2.656-1.571-3.377-2.441c-0.739-0.888-1.085-1.951-1.085-3.172c0-0.976,0.293-1.903,0.923-2.782
8
+ c0.617-0.875,1.584-1.606,2.896-2.157c1.326-0.56,3.014-0.862,5.11-0.871c1.689,0.009,3.229,0.144,4.624,0.385
9
+ c1.378,0.249,2.599,0.551,3.644,0.897c1.059,0.359,1.916,0.696,2.59,1.015l2.332-7.031c-1.409-0.709-3.176-1.295-5.32-1.772
10
+ c-1.82-0.402-3.903-0.634-6.269-0.713v-7.275h-6.409v7.639c-1.028,0.166-2.013,0.39-2.944,0.661
11
+ c-2.358,0.696-4.384,1.663-6.059,2.923c-1.663,1.256-2.949,2.726-3.833,4.41c-0.888,1.684-1.326,3.539-1.343,5.534
12
+ c0.013,2.31,0.617,4.344,1.811,6.103c1.194,1.759,2.896,3.286,5.093,4.594c2.188,1.304,4.799,2.428,7.818,3.373
13
+ c2.266,0.726,4.113,1.483,5.521,2.262c1.409,0.774,2.441,1.628,3.084,2.559c0.656,0.932,0.98,2.012,0.967,3.22
14
+ c0,1.326-0.389,2.476-1.151,3.469c-0.752,0.98-1.864,1.75-3.325,2.297c-1.461,0.551-3.246,0.823-5.337,0.84
15
+ c-1.702-0.013-3.351-0.158-4.961-0.433c-1.597-0.289-3.098-0.661-4.48-1.124c-1.396-0.464-2.616-0.967-3.675-1.531l-2.253,7.324
16
+ c1.019,0.56,2.292,1.063,3.85,1.527c1.557,0.468,3.272,0.84,5.149,1.124c1.864,0.276,3.78,0.415,5.727,0.433l0.341-0.005v7.521
17
+ h6.409v-8.124c0.814-0.157,1.588-0.346,2.323-0.564c2.572-0.774,4.707-1.829,6.396-3.181c1.702-1.339,2.962-2.892,3.797-4.642
18
+ c0.831-1.75,1.247-3.601,1.247-5.574c0-2.31-0.495-4.353-1.514-6.112C119.818,158.39,118.287,156.837,116.226,155.494z"/>
19
+ <g id="EDD_logo">
20
+ <path fill="#1D2428" d="M179.244,30.752C160.247,11.751,133.993,0,105.004,0C76.007,0,49.757,11.751,30.756,30.752
21
+ C11.751,49.753,0,76.007,0,105s11.751,55.247,30.752,74.248C49.753,198.253,76.007,210,105.004,210
22
+ c28.993,0,55.248-11.756,74.244-30.752C198.249,160.243,210,133.993,210,105S198.244,49.753,179.244,30.752z M175.779,175.779
23
+ c-18.112,18.113-43.137,29.317-70.779,29.317s-52.671-11.204-70.783-29.317C16.105,157.666,4.9,132.641,4.9,105
24
+ s11.205-52.666,29.317-70.779C52.329,16.109,77.355,4.904,104.996,4.904s52.666,11.205,70.779,29.317
25
+ c18.113,18.113,29.317,43.138,29.317,70.779C205.096,132.641,193.891,157.666,175.779,175.779z"/>
26
+ <path fill="#1D2428" d="M195.326,104.125c-0.472-49.486-40.727-89.456-90.322-89.456c-49.599,0-89.858,39.974-90.322,89.46
27
+ l41.418-41.418l13.891,13.891l-30.31,30.31h130.646l-30.31-30.31l13.891-13.891L195.326,104.125z M105,88.603L66.513,48.217h25.576
28
+ V28.311c0-5.167,5.81-9.402,12.911-9.402s12.911,4.231,12.911,9.402v19.906h25.576L105,88.603z"/>
29
+ </g>
30
+ </svg>
assets/js/admin-scripts.js CHANGED
@@ -39,9 +39,13 @@ jQuery(document).ready(function ($) {
39
  clone.find( 'input, select, textarea' ).each(function() {
40
  var name = $( this ).attr( 'name' );
41
 
42
- name = name.replace( /\[(\d+)\]/, '[' + parseInt( key ) + ']');
 
 
 
 
 
43
 
44
- $( this ).attr( 'name', name ).attr( 'id', name );
45
  });
46
 
47
  clone.find( 'span.edd_price_id' ).each(function() {
@@ -52,16 +56,29 @@ jQuery(document).ready(function ($) {
52
  $( this ).val( parseInt( key ) ).removeAttr('checked');
53
  })
54
 
 
 
 
 
55
  return clone;
56
  },
57
 
58
  add : function() {
59
- $( 'body' ).on( 'click', '.submit .edd_add_repeatable', function(e) {
60
  e.preventDefault();
61
  var button = $( this ),
62
  row = button.parent().parent().prev( 'tr' ),
63
  clone = EDD_Download_Configuration.clone_repeatable(row);
 
64
  clone.insertAfter( row ).find('input, textarea, select').filter(':visible').eq(0).focus();
 
 
 
 
 
 
 
 
65
  });
66
  },
67
 
@@ -82,7 +99,7 @@ jQuery(document).ready(function ($) {
82
  },
83
 
84
  remove : function() {
85
- $( 'body' ).on( 'click', '.edd_remove_repeatable', function(e) {
86
  e.preventDefault();
87
 
88
  var row = $(this).parent().parent( 'tr' ),
@@ -126,7 +143,7 @@ jQuery(document).ready(function ($) {
126
 
127
  type : function() {
128
 
129
- $( 'body' ).on( 'change', '#_edd_product_type', function(e) {
130
 
131
  var edd_products = $( '#edd_products' ),
132
  edd_download_files = $( '#edd_download_files' ),
@@ -147,7 +164,7 @@ jQuery(document).ready(function ($) {
147
  },
148
 
149
  prices : function() {
150
- $( 'body' ).on( 'change', '#edd_variable_pricing', function(e) {
151
  $( '.edd_pricing_fields,.edd_repeatable_table .pricing' ).toggle();
152
  });
153
  },
@@ -158,7 +175,7 @@ jQuery(document).ready(function ($) {
158
  if ( $( '.edd_upload_file_button' ).length > 0 ) {
159
  window.formfield = '';
160
 
161
- $('body').on('click', '.edd_upload_file_button', function(e) {
162
  e.preventDefault();
163
  window.formfield = $(this).parent().prev();
164
  window.tbframe_interval = setInterval(function() {
@@ -190,7 +207,7 @@ jQuery(document).ready(function ($) {
190
  var file_frame;
191
  window.formfield = '';
192
 
193
- $('body').on('click', '.edd_upload_file_button', function(e) {
194
 
195
  e.preventDefault();
196
 
@@ -352,7 +369,7 @@ jQuery(document).ready(function ($) {
352
  // Remove a download from a purchase
353
  $('#edd-purchased-files').on('click', '.edd-order-remove-download', function() {
354
 
355
- var count = $('body').find( '#edd-purchased-files > .row' ).length;
356
 
357
  if ( count === 1 ) {
358
  alert( edd_vars.one_download_min );
@@ -590,7 +607,7 @@ jQuery(document).ready(function ($) {
590
 
591
  remove_note : function() {
592
 
593
- $('body').on('click', '.edd-delete-payment-note', function(e) {
594
 
595
  e.preventDefault();
596
 
@@ -626,13 +643,13 @@ jQuery(document).ready(function ($) {
626
  },
627
 
628
  resend_receipt : function() {
629
- $( 'body' ).on( 'click', '#edd-resend-receipt', function( e ) {
630
  return confirm( edd_vars.resend_receipt );
631
  } );
632
  },
633
 
634
  copy_download_link : function() {
635
- $( 'body' ).on( 'click', '.edd-copy-download-link', function( e ) {
636
  e.preventDefault();
637
  var $this = $(this);
638
  var postData = {
@@ -799,7 +816,7 @@ jQuery(document).ready(function ($) {
799
  if ( edd_settings_upload_button.length > 0 ) {
800
  window.formfield = '';
801
 
802
- $('body').on('click', edd_settings_upload_button, function(e) {
803
  e.preventDefault();
804
  window.formfield = $(this).parent().prev();
805
  window.tbframe_interval = setInterval(function() {
@@ -828,7 +845,7 @@ jQuery(document).ready(function ($) {
828
  var file_frame;
829
  window.formfield = '';
830
 
831
- $('body').on('click', '.edd_settings_upload_button', function(e) {
832
 
833
  e.preventDefault();
834
 
@@ -917,7 +934,7 @@ jQuery(document).ready(function ($) {
917
  });
918
 
919
  // Update tax rate state field based on selected rate country
920
- $('body').on('change', '#edd_tax_rates select.edd-tax-country', function() {
921
  var $this = $(this);
922
  data = {
923
  action: 'edd_get_shop_states',
@@ -959,7 +976,7 @@ jQuery(document).ready(function ($) {
959
  });
960
 
961
  // Remove tax row
962
- $('body').on('click', '#edd_tax_rates .edd_remove_tax_rate', function() {
963
  if( confirm( edd_vars.delete_tax_rate ) ) {
964
  var tax_rates = $('#edd_tax_rates tr:visible');
965
  var count = tax_rates.length;
@@ -1057,7 +1074,7 @@ jQuery(document).ready(function ($) {
1057
 
1058
 
1059
  // Bulk edit save
1060
- $( 'body' ).on( 'click', '#bulk_edit', function() {
1061
 
1062
  // define the bulk edit row
1063
  var $bulk_row = $( '#bulk-edit' );
@@ -1184,12 +1201,12 @@ jQuery(document).ready(function ($) {
1184
  },
1185
 
1186
  revoke_api_key : function() {
1187
- $( 'body' ).on( 'click', '.edd-revoke-api-key', function( e ) {
1188
  return confirm( edd_vars.revoke_api_key );
1189
  } );
1190
  },
1191
  regenerate_api_key : function() {
1192
- $( 'body' ).on( 'click', '.edd-regenerate-api-key', function( e ) {
1193
  return confirm( edd_vars.regenerate_api_key );
1194
  } );
1195
  },
@@ -1209,15 +1226,22 @@ jQuery(document).ready(function ($) {
1209
 
1210
  var self = this;
1211
 
1212
- $('body').on( 'submit', '.edd-export-form', function(e) {
1213
  e.preventDefault();
1214
 
1215
- var data = $(this).serialize();
 
 
1216
 
1217
- $(this).append( '<span class="spinner is-active"></span><div class="edd-progress"><div></div></div>' );
1218
 
1219
- // start the process
1220
- self.process_step( 1, data, self );
 
 
 
 
 
1221
 
1222
  });
1223
  },
@@ -1241,6 +1265,7 @@ jQuery(document).ready(function ($) {
1241
 
1242
  export_form.find('.spinner').remove();
1243
  export_form.find('.edd-progress').remove();
 
1244
 
1245
  window.location = response.url;
1246
 
@@ -1288,7 +1313,7 @@ jQuery(document).ready(function ($) {
1288
  this.delete_checked();
1289
  },
1290
  edit_customer: function() {
1291
- $( 'body' ).on( 'click', '#edit-customer', function( e ) {
1292
  e.preventDefault();
1293
 
1294
  EDD_Customer.vars.customer_card_wrap_editable.hide();
@@ -1297,14 +1322,14 @@ jQuery(document).ready(function ($) {
1297
  },
1298
  user_search: function() {
1299
  // Upon selecting a user from the dropdown, we need to update the User ID
1300
- $('body').on('click.eddSelectUser', '.edd_user_search_results a', function( e ) {
1301
  e.preventDefault();
1302
  var user_id = $(this).data('userid');
1303
  EDD_Customer.vars.user_id.val(user_id);
1304
  });
1305
  },
1306
  remove_user: function() {
1307
- $( 'body' ).on( 'click', '#disconnect-customer', function( e ) {
1308
  e.preventDefault();
1309
  var customer_id = $('input[name="customerinfo[id]"]').val();
1310
 
@@ -1323,7 +1348,7 @@ jQuery(document).ready(function ($) {
1323
  });
1324
  },
1325
  cancel_edit: function() {
1326
- $( 'body' ).on( 'click', '#edd-edit-customer-cancel', function( e ) {
1327
  e.preventDefault();
1328
  EDD_Customer.vars.customer_card_wrap_edit_item.hide();
1329
  EDD_Customer.vars.customer_card_wrap_editable.show();
@@ -1351,7 +1376,7 @@ jQuery(document).ready(function ($) {
1351
  });
1352
  },
1353
  add_note : function() {
1354
- $( 'body' ).on( 'click', '#add-customer-note', function( e ) {
1355
  e.preventDefault();
1356
  var postData = {
1357
  edd_action : 'add-customer-note',
@@ -1439,7 +1464,7 @@ jQuery(document).ready(function ($) {
1439
  });
1440
  });
1441
 
1442
- $('body').on('click.eddSelectUser', '.edd_user_search_results span a', function(e) {
1443
  e.preventDefault();
1444
  var login = $(this).data('login');
1445
  $('.edd-ajax-user-search').val(login);
@@ -1447,7 +1472,7 @@ jQuery(document).ready(function ($) {
1447
  $('.edd_user_search_results span').html('');
1448
  });
1449
 
1450
- $('body').on('click.eddCancelUserSearch', '.edd_user_search_results a.edd-ajax-user-cancel', function(e) {
1451
  e.preventDefault();
1452
  $('.edd-ajax-user-search').val('');
1453
  $('.edd_user_search_results').addClass('hidden');
39
  clone.find( 'input, select, textarea' ).each(function() {
40
  var name = $( this ).attr( 'name' );
41
 
42
+ if( name ) {
43
+
44
+ name = name.replace( /\[(\d+)\]/, '[' + parseInt( key ) + ']');
45
+ $( this ).attr( 'name', name ).attr( 'id', name );
46
+
47
+ }
48
 
 
49
  });
50
 
51
  clone.find( 'span.edd_price_id' ).each(function() {
56
  $( this ).val( parseInt( key ) ).removeAttr('checked');
57
  })
58
 
59
+ // Remove Chosen elements
60
+ clone.find( '.search-choice' ).remove();
61
+ clone.find( '.chosen-container' ).remove();
62
+
63
  return clone;
64
  },
65
 
66
  add : function() {
67
+ $( document.body ).on( 'click', '.submit .edd_add_repeatable', function(e) {
68
  e.preventDefault();
69
  var button = $( this ),
70
  row = button.parent().parent().prev( 'tr' ),
71
  clone = EDD_Download_Configuration.clone_repeatable(row);
72
+
73
  clone.insertAfter( row ).find('input, textarea, select').filter(':visible').eq(0).focus();
74
+
75
+ // Setup chosen fields again if they exist
76
+ clone.find('.edd-select-chosen').chosen({
77
+ inherit_select_classes: true,
78
+ placeholder_text_single: edd_vars.one_option,
79
+ placeholder_text_multiple: edd_vars.one_or_more_option,
80
+ });
81
+ clone.find( '.edd-select-chosen' ).css( 'width', '100%' );
82
  });
83
  },
84
 
99
  },
100
 
101
  remove : function() {
102
+ $( document.body ).on( 'click', '.edd_remove_repeatable', function(e) {
103
  e.preventDefault();
104
 
105
  var row = $(this).parent().parent( 'tr' ),
143
 
144
  type : function() {
145
 
146
+ $( document.body ).on( 'change', '#_edd_product_type', function(e) {
147
 
148
  var edd_products = $( '#edd_products' ),
149
  edd_download_files = $( '#edd_download_files' ),
164
  },
165
 
166
  prices : function() {
167
+ $( document.body ).on( 'change', '#edd_variable_pricing', function(e) {
168
  $( '.edd_pricing_fields,.edd_repeatable_table .pricing' ).toggle();
169
  });
170
  },
175
  if ( $( '.edd_upload_file_button' ).length > 0 ) {
176
  window.formfield = '';
177
 
178
+ $( document.body ).on('click', '.edd_upload_file_button', function(e) {
179
  e.preventDefault();
180
  window.formfield = $(this).parent().prev();
181
  window.tbframe_interval = setInterval(function() {
207
  var file_frame;
208
  window.formfield = '';
209
 
210
+ $( document.body ).on('click', '.edd_upload_file_button', function(e) {
211
 
212
  e.preventDefault();
213
 
369
  // Remove a download from a purchase
370
  $('#edd-purchased-files').on('click', '.edd-order-remove-download', function() {
371
 
372
+ var count = $( document.body ).find( '#edd-purchased-files > .row' ).length;
373
 
374
  if ( count === 1 ) {
375
  alert( edd_vars.one_download_min );
607
 
608
  remove_note : function() {
609
 
610
+ $( document.body ).on('click', '.edd-delete-payment-note', function(e) {
611
 
612
  e.preventDefault();
613
 
643
  },
644
 
645
  resend_receipt : function() {
646
+ $( document.body ).on( 'click', '#edd-resend-receipt', function( e ) {
647
  return confirm( edd_vars.resend_receipt );
648
  } );
649
  },
650
 
651
  copy_download_link : function() {
652
+ $( document.body ).on( 'click', '.edd-copy-download-link', function( e ) {
653
  e.preventDefault();
654
  var $this = $(this);
655
  var postData = {
816
  if ( edd_settings_upload_button.length > 0 ) {
817
  window.formfield = '';
818
 
819
+ $( document.body ).on('click', edd_settings_upload_button, function(e) {
820
  e.preventDefault();
821
  window.formfield = $(this).parent().prev();
822
  window.tbframe_interval = setInterval(function() {
845
  var file_frame;
846
  window.formfield = '';
847
 
848
+ $( document.body ).on('click', '.edd_settings_upload_button', function(e) {
849
 
850
  e.preventDefault();
851
 
934
  });
935
 
936
  // Update tax rate state field based on selected rate country
937
+ $( document.body ).on('change', '#edd_tax_rates select.edd-tax-country', function() {
938
  var $this = $(this);
939
  data = {
940
  action: 'edd_get_shop_states',
976
  });
977
 
978
  // Remove tax row
979
+ $( document.body ).on('click', '#edd_tax_rates .edd_remove_tax_rate', function() {
980
  if( confirm( edd_vars.delete_tax_rate ) ) {
981
  var tax_rates = $('#edd_tax_rates tr:visible');
982
  var count = tax_rates.length;
1074
 
1075
 
1076
  // Bulk edit save
1077
+ $( document.body ).on( 'click', '#bulk_edit', function() {
1078
 
1079
  // define the bulk edit row
1080
  var $bulk_row = $( '#bulk-edit' );
1201
  },
1202
 
1203
  revoke_api_key : function() {
1204
+ $( document.body ).on( 'click', '.edd-revoke-api-key', function( e ) {
1205
  return confirm( edd_vars.revoke_api_key );
1206
  } );
1207
  },
1208
  regenerate_api_key : function() {
1209
+ $( document.body ).on( 'click', '.edd-regenerate-api-key', function( e ) {
1210
  return confirm( edd_vars.regenerate_api_key );
1211
  } );
1212
  },
1226
 
1227
  var self = this;
1228
 
1229
+ $( document.body ).on( 'submit', '.edd-export-form', function(e) {
1230
  e.preventDefault();
1231
 
1232
+ var submitButton = $(this).find( 'input[type="submit"]' );
1233
+
1234
+ if ( ! submitButton.hasClass( 'button-disabled' ) ) {
1235
 
1236
+ var data = $(this).serialize();
1237
 
1238
+ submitButton.addClass( 'button-disabled' );
1239
+ $(this).append( '<span class="spinner is-active"></span><div class="edd-progress"><div></div></div>' );
1240
+
1241
+ // start the process
1242
+ self.process_step( 1, data, self );
1243
+
1244
+ }
1245
 
1246
  });
1247
  },
1265
 
1266
  export_form.find('.spinner').remove();
1267
  export_form.find('.edd-progress').remove();
1268
+ export_form.find('.button-disabled').removeClass('button-disabled');
1269
 
1270
  window.location = response.url;
1271
 
1313
  this.delete_checked();
1314
  },
1315
  edit_customer: function() {
1316
+ $( document.body ).on( 'click', '#edit-customer', function( e ) {
1317
  e.preventDefault();
1318
 
1319
  EDD_Customer.vars.customer_card_wrap_editable.hide();
1322
  },
1323
  user_search: function() {
1324
  // Upon selecting a user from the dropdown, we need to update the User ID
1325
+ $( document.body ).on('click.eddSelectUser', '.edd_user_search_results a', function( e ) {
1326
  e.preventDefault();
1327
  var user_id = $(this).data('userid');
1328
  EDD_Customer.vars.user_id.val(user_id);
1329
  });
1330
  },
1331
  remove_user: function() {
1332
+ $( document.body ).on( 'click', '#disconnect-customer', function( e ) {
1333
  e.preventDefault();
1334
  var customer_id = $('input[name="customerinfo[id]"]').val();
1335
 
1348
  });
1349
  },
1350
  cancel_edit: function() {
1351
+ $( document.body ).on( 'click', '#edd-edit-customer-cancel', function( e ) {
1352
  e.preventDefault();
1353
  EDD_Customer.vars.customer_card_wrap_edit_item.hide();
1354
  EDD_Customer.vars.customer_card_wrap_editable.show();
1376
  });
1377
  },
1378
  add_note : function() {
1379
+ $( document.body ).on( 'click', '#add-customer-note', function( e ) {
1380
  e.preventDefault();
1381
  var postData = {
1382
  edd_action : 'add-customer-note',
1464
  });
1465
  });
1466
 
1467
+ $( document.body ).on('click.eddSelectUser', '.edd_user_search_results span a', function(e) {
1468
  e.preventDefault();
1469
  var login = $(this).data('login');
1470
  $('.edd-ajax-user-search').val(login);
1472
  $('.edd_user_search_results span').html('');
1473
  });
1474
 
1475
+ $( document.body ).on('click.eddCancelUserSearch', '.edd_user_search_results a.edd-ajax-user-cancel', function(e) {
1476
  e.preventDefault();
1477
  $('.edd-ajax-user-search').val('');
1478
  $('.edd_user_search_results').addClass('hidden');
assets/js/admin-scripts.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready(function(e){var t={init:function(){this.add(),this.move(),this.remove(),this.type(),this.prices(),this.files(),this.updatePrices()},clone_repeatable:function(t){var d=highest=1;return t.parent().find("tr.edd_repeatable_row").each(function(){var t=e(this).data("key");parseInt(t)>highest&&(highest=t)}),d=highest+=1,clone=t.clone(),clone.find("select").each(function(){e(this).val(t.find('select[name="'+e(this).attr("name")+'"]').val())}),clone.removeClass("edd_add_blank"),clone.attr("data-key",d),clone.find("td input, td select, textarea").val(""),clone.find("input, select, textarea").each(function(){var t=e(this).attr("name");t=t.replace(/\[(\d+)\]/,"["+parseInt(d)+"]"),e(this).attr("name",t).attr("id",t)}),clone.find("span.edd_price_id").each(function(){e(this).text(parseInt(d))}),clone.find(".edd_repeatable_default_input").each(function(){e(this).val(parseInt(d)).removeAttr("checked")}),clone},add:function(){e("body").on("click",".submit .edd_add_repeatable",function(d){d.preventDefault();var n=e(this),a=n.parent().parent().prev("tr"),i=t.clone_repeatable(a);i.insertAfter(a).find("input, textarea, select").filter(":visible").eq(0).focus()})},move:function(){e(".edd_repeatable_table tbody").sortable({handle:".edd_draghandle",items:".edd_repeatable_row",opacity:.6,cursor:"move",axis:"y",update:function(){var t=0;e(this).find("tr").each(function(){e(this).find("input.edd_repeatable_index").each(function(){e(this).val(t)}),t++})}})},remove:function(){e("body").on("click",".edd_remove_repeatable",function(t){t.preventDefault();var d=e(this).parent().parent("tr"),n=d.parent().find("tr").length-1,a=e(this).data("type"),i="tr.edd_repeatable_"+a+"s";if("price"===a){var o=d.data("key");e('.edd_repeatable_condition_field option[value="'+o+'"]').remove()}if(n>1)e("input, select",d).val(""),d.fadeOut("fast").remove();else switch(a){case"price":alert(edd_vars.one_price_min);break;case"file":e("input, select",d).val("");break;default:alert(edd_vars.one_field_min)}e(i).each(function(t){e(this).find("input, select").each(function(){var d=e(this).attr("name");d=d.replace(/\[(\d+)\]/,"["+t+"]"),e(this).attr("name",d).attr("id",d)})})})},type:function(){e("body").on("change","#_edd_product_type",function(){var t=e("#edd_products"),d=e("#edd_download_files"),n=e("#edd_download_limit_wrap");"bundle"===e(this).val()?(t.show(),d.hide(),n.hide()):(t.hide(),d.show(),n.show())})},prices:function(){e("body").on("change","#edd_variable_pricing",function(){e(".edd_pricing_fields,.edd_repeatable_table .pricing").toggle()})},files:function(){if("undefined"==typeof wp||"1"!==edd_vars.new_media_ui)e(".edd_upload_file_button").length>0&&(window.formfield="",e("body").on("click",".edd_upload_file_button",function(t){if(t.preventDefault(),window.formfield=e(this).parent().prev(),window.tbframe_interval=setInterval(function(){jQuery("#TB_iframeContent").contents().find(".savesend .button").val(edd_vars.use_this_file).end().find("#insert-gallery, .wp-post-thumbnail").hide()},2e3),null!=edd_vars.post_id)var d="post_id="+edd_vars.post_id+"&";tb_show(edd_vars.add_new_download,"media-upload.php?"+d+"TB_iframe=true")}),window.edd_send_to_editor=window.send_to_editor,window.send_to_editor=function(t){window.formfield?(imgurl=e("a","<div>"+t+"</div>").attr("href"),window.formfield.val(imgurl),window.clearInterval(window.tbframe_interval),tb_remove()):window.edd_send_to_editor(t),window.send_to_editor=window.edd_send_to_editor,window.formfield="",window.imagefield=!1});else{var d;window.formfield="",e("body").on("click",".edd_upload_file_button",function(n){n.preventDefault();var a=e(this);return window.formfield=e(this).closest(".edd_repeatable_upload_wrapper"),d?void d.open():(d=wp.media.frames.file_frame=wp.media({frame:"post",state:"insert",title:a.data("uploader-title"),button:{text:a.data("uploader-button-text")},multiple:"0"==e(this).data("multiple")?!1:!0}),d.on("menu:render:default",function(e){var t={};e.unset("library-separator"),e.unset("gallery"),e.unset("featured-image"),e.unset("embed"),e.set(t)}),d.on("insert",function(){var e=d.state().get("selection");e.each(function(e,d){if(e=e.toJSON(),0===d)window.formfield.find(".edd_repeatable_attachment_id_field").val(e.id),window.formfield.find(".edd_repeatable_upload_field").val(e.url),window.formfield.find(".edd_repeatable_name_field").val(e.title);else{var n=window.formfield,a=t.clone_repeatable(n);a.find(".edd_repeatable_attachment_id_field").val(e.id),a.find(".edd_repeatable_upload_field").val(e.url),a.find(".edd_repeatable_name_field").val(e.title.length>0?e.title:e.filename),a.insertAfter(n)}})}),void d.open())});var d;window.formfield=""}},updatePrices:function(){e("#edd_price_fields").on("keyup",".edd_variable_prices_name",function(){var t=e(this).parents("tr").data("key"),d=e(this).val(),n=e(".edd_repeatable_condition_field option[value="+t+"]");n.length>0?n.text(d):e(".edd_repeatable_condition_field").append(e("<option></option>").attr("value",t).text(d))})}};t.init();var d=e(".edd_datepicker");if(d.length>0){var n="mm/dd/yy";d.datepicker({dateFormat:n})}var a={init:function(){this.edit_address(),this.remove_download(),this.add_download(),this.new_customer(),this.recalculate_total(),this.variable_prices_check(),this.add_note(),this.remove_note(),this.resend_receipt(),this.copy_download_link()},edit_address:function(){e('select[name="edd-payment-address[0][country]"]').change(function(){var t=e(this);return data={action:"edd_get_shop_states",country:t.val(),field_name:"edd-payment-address[0][state]"},e.post(ajaxurl,data,function(t){var d=e("#edd-order-address-state-wrap select, #edd-order-address-state-wrap input");d.replaceWith("nostates"==t?'<input type="text" name="edd-payment-address[0][state]" value="" class="edd-edit-toggles medium-text"/>':t)}),!1})},remove_download:function(){e("#edd-purchased-files").on("click",".edd-order-remove-download",function(){var t=e("body").find("#edd-purchased-files > .row").length;if(1===t)return alert(edd_vars.one_download_min),!1;if(confirm(edd_vars.delete_payment_download)){var d=e(this).data("key"),n=(e(".edd-payment-id").val(),e('input[name="edd-payment-details-downloads['+d+'][id]"]').val()),a=e('input[name="edd-payment-details-downloads['+d+'][price_id]"]').val(),i=e('input[name="edd-payment-details-downloads['+d+'][quantity]"]').val(),o=e('input[name="edd-payment-details-downloads['+d+'][amount]"]').val(),r=e('input[name="edd-payment-removed"]').val();r=e.parseJSON(r),r.length<1&&(r={});var s=[{id:n,price_id:a,quantity:i,amount:o}];r[d]=s,e('input[name="edd-payment-removed"]').val(JSON.stringify(r)),e(this).parent().parent().parent().remove(),e("#edd-payment-downloads-changed").val(1),e(".edd-order-payment-recalc-totals").show()}return!1})},new_customer:function(){e("#edd-customer-details").on("click",".edd-payment-new-customer, .edd-payment-new-customer-cancel",function(t){t.preventDefault(),e(".customer-info").toggle(),e(".new-customer").toggle();var d=e("#edd-new-customer");d.val(e(".new-customer").is(":visible")?1:0)})},add_download:function(){e("#edd-purchased-files").on("click","#edd-order-add-download",function(t){t.preventDefault();var d=e("#edd_order_download_select"),n=e("#edd-order-download-quantity"),a=e("#edd-order-download-amount"),i=e(".edd_price_options_select option:selected"),o=d.val(),r=d.find(":selected").text(),s=n.val(),c=a.val(),l=i.val(),u=i.text();if(1>o)return!1;if(c||(c=0),c=parseFloat(c),isNaN(c))return alert(edd_vars.numeric_item_price),!1;if("1"===edd_vars.quantities_enabled){if(isNaN(parseInt(s)))return alert(edd_vars.numeric_quantity),!1;c*=s}c=c.toFixed(edd_vars.currency_decimals);var _=c+edd_vars.currency_sign;"before"===edd_vars.currency_pos&&(_=edd_vars.currency_sign+c),u&&(r=r+" - "+u);var p=e("#edd-purchased-files div.row").length,f=e("#edd-purchased-files div.row:last").clone();f.find(".download span").html('<a href="post.php?post='+o+'&action=edit"></a>'),f.find(".download span a").text(r),f.find(".price-text").text(_),f.find(".item-quantity").text(s),f.find(".item-price").text(edd_vars.currency_sign+(c/s).toFixed(edd_vars.currency_decimals)),f.find("input.edd-payment-details-download-id").val(o),f.find("input.edd-payment-details-download-price-id").val(l),f.find("input.edd-payment-details-download-amount").val(c),f.find("input.edd-payment-details-download-quantity").val(s),f.find("input.edd-payment-details-download-has-log").val(0),f.find("input").each(function(){var t=e(this).attr("name");t=t.replace(/\[(\d+)\]/,"["+parseInt(p)+"]"),e(this).attr("name",t).attr("id",t)}),e("#edd-payment-downloads-changed").val(1),e(f).insertAfter("#edd-purchased-files div.row:last"),e(".edd-order-payment-recalc-totals").show()})},recalculate_total:function(){e("#edd-order-recalc-total").on("click",function(t){t.preventDefault();var d=0,n=e("#edd-purchased-files .row .edd-payment-details-download-amount");n.length&&n.each(function(){d+=parseFloat(e(this).val())}),e(".edd-payment-fees").length&&e(".edd-payment-fees span.fee-amount").each(function(){d+=parseFloat(e(this).data("fee"))}),e("input[name=edd-payment-total]").val(d)})},variable_prices_check:function(){e("#edd-purchased-files").on("change","select#edd_order_download_select",function(){var t=e(this),d=t.val();if(parseInt(d)>0){var n={action:"edd_check_for_download_price_variations",download_id:d};e.ajax({type:"POST",data:n,url:ajaxurl,success:function(d){e(".edd_price_options_select").remove(),e(d).insertAfter(t.next())}}).fail(function(e){window.console&&window.console.log&&console.log(e)})}})},add_note:function(){e("#edd-add-payment-note").on("click",function(t){t.preventDefault();var d={action:"edd_insert_payment_note",payment_id:e(this).data("payment-id"),note:e("#edd-payment-note").val()};if(d.note)e.ajax({type:"POST",data:d,url:ajaxurl,success:function(t){e("#edd-payment-notes-inner").append(t),e(".edd-no-payment-notes").hide(),e("#edd-payment-note").val("")}}).fail(function(e){window.console&&window.console.log&&console.log(e)});else{var n=e("#edd-payment-note").css("border-color");e("#edd-payment-note").css("border-color","red"),setTimeout(function(){e("#edd-payment-note").css("border-color",n)},500)}})},remove_note:function(){e("body").on("click",".edd-delete-payment-note",function(t){if(t.preventDefault(),confirm(edd_vars.delete_payment_note)){var d={action:"edd_delete_payment_note",payment_id:e(this).data("payment-id"),note_id:e(this).data("note-id")};return e.ajax({type:"POST",data:d,url:ajaxurl,success:function(){return e("#edd-payment-note-"+d.note_id).remove(),e(".edd-payment-note").length||e(".edd-no-payment-notes").show(),!1}}).fail(function(e){window.console&&window.console.log&&console.log(e)}),!0}})},resend_receipt:function(){e("body").on("click","#edd-resend-receipt",function(){return confirm(edd_vars.resend_receipt)})},copy_download_link:function(){e("body").on("click",".edd-copy-download-link",function(t){t.preventDefault();var d=e(this),n={action:"edd_get_file_download_link",payment_id:e('input[name="edd_payment_id"]').val(),download_id:d.data("download-id"),price_id:d.data("price-id")};e.ajax({type:"POST",data:n,url:ajaxurl,success:function(t){return e("#edd-download-link").dialog({width:400}).html('<textarea rows="10" cols="40" id="edd-download-link-textarea">'+t+"</textarea>"),e("#edd-download-link-textarea").focus().select(),!1}}).fail(function(e){window.console&&window.console.log&&console.log(e)})})}};a.init();var i={init:function(){this.type_select(),this.product_requirements()},type_select:function(){e("#edd-edit-discount #edd-type, #edd-add-discount #edd-type").change(function(){e(".edd-amount-description").toggle()})},product_requirements:function(){e("#products").change(function(){var t=e("#edd-discount-product-conditions");e(this).val()?t.show():t.hide()})}};i.init();var o={init:function(){this.date_options(),this.customers_export()},date_options:function(){e("#edd-graphs-date-options").change(function(){var t=e(this),d=e("#edd-date-range-options");"other"===t.val()?d.show():d.hide()})},customers_export:function(){e("#edd_customer_export_download").change(function(){var t=e(this),d=e("option:selected",t).val(),n=e("#edd_customer_export_option");if("0"===t.val()?n.show():n.hide(),0!=parseInt(d)){var a={action:"edd_check_for_download_price_variations",download_id:d},i=e(".edd_price_options_select");e.post(ajaxurl,a,function(e){i.remove(),t.after(e)})}else i.remove()})}};o.init();var r={init:function(){this.general(),this.taxes(),this.emails(),this.misc()},general:function(){var t=e(".edd-color-picker");if(t.length&&t.wpColorPicker(),"undefined"==typeof wp||"1"!==edd_vars.new_media_ui){var d=e(".edd_settings_upload_button");d.length>0&&(window.formfield="",e("body").on("click",d,function(t){t.preventDefault(),window.formfield=e(this).parent().prev(),window.tbframe_interval=setInterval(function(){jQuery("#TB_iframeContent").contents().find(".savesend .button").val(edd_vars.use_this_file).end().find("#insert-gallery, .wp-post-thumbnail").hide()},2e3),tb_show(edd_vars.add_new_download,"media-upload.php?TB_iframe=true")}),window.edd_send_to_editor=window.send_to_editor,window.send_to_editor=function(t){window.formfield?(imgurl=e("a","<div>"+t+"</div>").attr("href"),window.formfield.val(imgurl),window.clearInterval(window.tbframe_interval),tb_remove()):window.edd_send_to_editor(t),window.send_to_editor=window.edd_send_to_editor,window.formfield="",window.imagefield=!1})}else{var n;window.formfield="",e("body").on("click",".edd_settings_upload_button",function(t){t.preventDefault();var d=e(this);return window.formfield=e(this).parent().prev(),n?void n.open():(n=wp.media.frames.file_frame=wp.media({frame:"post",state:"insert",title:d.data("uploader_title"),button:{text:d.data("uploader_button_text")},multiple:!1}),n.on("menu:render:default",function(e){var t={};e.unset("library-separator"),e.unset("gallery"),e.unset("featured-image"),e.unset("embed"),e.set(t)}),n.on("insert",function(){var e=n.state().get("selection");e.each(function(e){e=e.toJSON(),window.formfield.val(e.url)})}),void n.open())});var n;window.formfield=""}},taxes:function(){var t=e("select.edd-no-states");t.length&&t.closest("tr").hide(),e('select[name="edd_settings[base_country]"]').change(function(){var t=e(this),d=t.closest("tr");return data={action:"edd_get_shop_states",country:e(this).val(),field_name:"edd_settings[base_state]"},e.post(ajaxurl,data,function(e){"nostates"==e?d.next().hide():(d.next().show(),d.next().find("select").replaceWith(e))}),!1}),e("body").on("change","#edd_tax_rates select.edd-tax-country",function(){var t=e(this);return data={action:"edd_get_shop_states",country:e(this).val(),field_name:t.attr("name").replace("country","state")},e.post(ajaxurl,data,function(e){if("nostates"==e){var d='<input type="text" name="'+data.field_name+'" value=""/>';t.parent().next().find("select").replaceWith(d)}else t.parent().next().find("input,select").show(),t.parent().next().find("input,select").replaceWith(e)}),!1}),e("#edd_add_tax_rate").on("click",function(){var t=e("#edd_tax_rates tr:last"),d=t.clone(),n=t.parent().find("tr").length;return d.find("td input").not(":input[type=checkbox]").val(""),d.find('td [type="checkbox"]').attr("checked",!1),d.find("input, select").each(function(){var t=e(this).attr("name");t=t.replace(/\[(\d+)\]/,"["+parseInt(n)+"]"),e(this).attr("name",t).attr("id",t)}),d.find("label").each(function(){var t=e(this).attr("for");t=t.replace(/\[(\d+)\]/,"["+parseInt(n)+"]"),e(this).attr("for",t)}),d.insertAfter(t),!1}),e("body").on("click","#edd_tax_rates .edd_remove_tax_rate",function(){if(confirm(edd_vars.delete_tax_rate)){var t=e("#edd_tax_rates tr:visible"),d=t.length;2===d?(e("#edd_tax_rates select").val(""),e('#edd_tax_rates input[type="text"]').val(""),e('#edd_tax_rates input[type="number"]').val(""),e('#edd_tax_rates input[type="checkbox"]').attr("checked",!1)):e(this).closest("tr").remove(),e("#edd_tax_rates tr").each(function(t){e(this).children().find("input, select").each(function(){var d=e(this).attr("name");d=d.replace(/\[(\d+)\]/,"["+(t-1)+"]"),e(this).attr("name",d).attr("id",d)})})}return!1})},emails:function(){var t=e("#email-preview-wrap");if(t.length){var d=e("#email-preview");t.colorbox({inline:!0,href:d,width:"80%",height:"auto"})}},misc:function(){var t=e('select[name="edd_settings[download_method]"]'),d=t.parent().parent().next();"direct"==t.val()&&(d.hide(),d.find("input").prop("checked",!1)),t.on("change",function(){"direct"==e(this).val()?(d.hide(),d.find("input").prop("checked",!1)):d.show()})}};r.init(),e(".download_page_edd-payment-history .row-actions .delete a").on("click",function(){return confirm(edd_vars.delete_payment)?!0:!1}),e("#the-list").on("click",".editinline",function(){inlineEditPost.revert();var t=e(this).closest("tr").attr("id");t=t.replace("post-","");var d=e("#post-"+t),n=d.find(".column-price .downloadprice-"+t).val();n!=e("#post-"+t+".column-price .downloadprice-"+t).val()?e(".regprice","#edd-download-data").val(n).attr("disabled",!1):e(".regprice","#edd-download-data").val(edd_vars.quick_edit_warning).attr("disabled","disabled")}),e("body").on("click","#bulk_edit",function(){var t=e("#bulk-edit"),d=new Array;t.find("#bulk-titles").children().each(function(){d.push(e(this).attr("id").replace(/^(ttle)/i,""))});var n=e('#edd-download-data input[name="_edd_regprice"]').val(),a={action:"edd_save_bulk_edit",edd_bulk_nonce:d,post_ids:d,price:n};e.post(ajaxurl,a)}),e(".edd-select-chosen").chosen({inherit_select_classes:!0,placeholder_text_single:edd_vars.one_option,placeholder_text_multiple:edd_vars.one_or_more_option}),e(".chosen-choices").on("click",function(){e(this).children("li").children("input").attr("placeholder",edd_vars.type_to_search)});var s,c=342;e(".edd-select.chosen-container .chosen-search input, .edd-select.chosen-container .search-field input").keyup(function(t){var d=e(this).val(),n=e(this).closest(".edd-select-chosen"),a=n.attr("id").replace("_chosen",""),i=(t.which,"edd_download_search");n.attr("id").indexOf("customer")>=0&&(i="edd_customer_search"),d.length<=3&&"edd_download_search"==i||16==t.which||13==t.which||91==t.which||17==t.which||37==t.which||38==t.which||39==t.which||40==t.which||(clearTimeout(s),s=setTimeout(function(){e.ajax({type:"GET",url:ajaxurl,data:{action:i,s:d,current_id:edd_vars.post_id},dataType:"json",beforeSend:function(){e("ul.chosen-results").empty()},success:function(t){e("#"+a+" option:not(:selected)").remove(),e.each(t,function(t,d){e("#"+a+' option[value="'+d.id+'"]').length||e("#"+a).prepend('<option value="'+d.id+'">'+d.name+"</option>")}),e(".edd-select-chosen").trigger("chosen:updated"),e("#"+a).next().find("input").val(d)}}).fail(function(e){window.console&&window.console.log&&console.log(e)}).done(function(){})},c))}),e("#post").on("click",".edd-thickbox",function(){e(".edd-select-chosen","#choose-download").css("width","100%")});var l={init:function(){this.revoke_api_key(),this.regenerate_api_key()},revoke_api_key:function(){e("body").on("click",".edd-revoke-api-key",function(){return confirm(edd_vars.revoke_api_key)})},regenerate_api_key:function(){e("body").on("click",".edd-regenerate-api-key",function(){return confirm(edd_vars.regenerate_api_key)})}};l.init();var u={init:function(){this.submit()},submit:function(){var t=this;e("body").on("submit",".edd-export-form",function(d){d.preventDefault();var n=e(this).serialize();e(this).append('<span class="spinner is-active"></span><div class="edd-progress"><div></div></div>'),t.process_step(1,n,t)})},process_step:function(t,d,n){e.ajax({type:"POST",url:ajaxurl,data:{form:d,action:"edd_do_ajax_export",step:t},dataType:"json",success:function(t){if("done"==t.step){var a=e(".edd-export-form");a.find(".spinner").remove(),a.find(".edd-progress").remove(),window.location=t.url}else e(".edd-progress div").animate({width:t.percentage+"%"},50,function(){}),n.process_step(parseInt(t.step),d,n)}}).fail(function(e){window.console&&window.console.log&&console.log(e)})}};u.init();var _={vars:{customer_card_wrap_editable:e("#edd-customer-card-wrapper .editable"),customer_card_wrap_edit_item:e("#edd-customer-card-wrapper .edit-item"),user_id:e('input[name="customerinfo[user_id]"]'),state_input:e(':input[name="customerinfo[state]"]'),note:e("#customer-note")},init:function(){this.edit_customer(),this.user_search(),this.remove_user(),this.cancel_edit(),this.change_country(),this.add_note(),this.delete_checked()},edit_customer:function(){e("body").on("click","#edit-customer",function(e){e.preventDefault(),_.vars.customer_card_wrap_editable.hide(),_.vars.customer_card_wrap_edit_item.fadeIn().css("display","block")})},user_search:function(){e("body").on("click.eddSelectUser",".edd_user_search_results a",function(t){t.preventDefault();var d=e(this).data("userid");_.vars.user_id.val(d)})},remove_user:function(){e("body").on("click","#disconnect-customer",function(t){t.preventDefault();var d=e('input[name="customerinfo[id]"]').val(),n={edd_action:"disconnect-userid",customer_id:d,_wpnonce:e("#edit-customer-info #_wpnonce").val()};e.post(ajaxurl,n,function(){window.location.href=window.location.href},"json")})},cancel_edit:function(){e("body").on("click","#edd-edit-customer-cancel",function(t){t.preventDefault(),_.vars.customer_card_wrap_edit_item.hide(),_.vars.customer_card_wrap_editable.show(),e(".edd_user_search_results").html("")})},change_country:function(){e('select[name="customerinfo[country]"]').change(function(){var t=e(this);return data={action:"edd_get_shop_states",country:t.val(),field_name:"customerinfo[state]"},e.post(ajaxurl,data,function(e){_.vars.state_input.replaceWith("nostates"==e?'<input type="text" name="'+data.field_name+'" value="" class="edd-edit-toggles medium-text"/>':e)}),!1})},add_note:function(){e("body").on("click","#add-customer-note",function(t){t.preventDefault();var d={edd_action:"add-customer-note",customer_id:e("#customer-id").val(),customer_note:_.vars.note.val(),add_customer_note_nonce:e("#add_customer_note_nonce").val()};if(d.customer_note)e.ajax({type:"POST",data:d,url:ajaxurl,success:function(t){e("#edd-customer-notes").prepend(t),e(".edd-no-customer-notes").hide(),_.vars.note.val("")}}).fail(function(e){window.console&&window.console.log&&console.log(e)});else{var n=_.vars.note.css("border-color");_.vars.note.css("border-color","red"),setTimeout(function(){_.vars.note.css("border-color",n)},500)}})},delete_checked:function(){e("#edd-customer-delete-confirm").change(function(){var t=e("#edd-customer-delete-records"),d=e("#edd-delete-customer");e(this).prop("checked")?(t.attr("disabled",!1),d.attr("disabled",!1)):(t.attr("disabled",!0),t.prop("checked",!1),d.attr("disabled",!0))})}};_.init(),e(".edd-ajax-user-search").keyup(function(){var t=e(this).val(),d="";e(this).data("exclude")&&(d=e(this).data("exclude")),e(".edd-ajax").show(),data={action:"edd_search_users",user_name:t,exclude:d},document.body.style.cursor="wait",e.ajax({type:"POST",data:data,dataType:"json",url:ajaxurl,success:function(t){e(".edd-ajax").hide(),e(".edd_user_search_results").removeClass("hidden"),e(".edd_user_search_results span").html(""),e(t.results).appendTo(".edd_user_search_results span"),document.body.style.cursor="default"}})}),e("body").on("click.eddSelectUser",".edd_user_search_results span a",function(t){t.preventDefault();var d=e(this).data("login");e(".edd-ajax-user-search").val(d),e(".edd_user_search_results").addClass("hidden"),e(".edd_user_search_results span").html("")}),e("body").on("click.eddCancelUserSearch",".edd_user_search_results a.edd-ajax-user-cancel",function(t){t.preventDefault(),e(".edd-ajax-user-search").val(""),e(".edd_user_search_results").addClass("hidden"),e(".edd_user_search_results span").html("")}),e.ajax({type:"GET",data:{action:"edd_load_dashboard_widget"},url:ajaxurl,success:function(t){e("#edd_dashboard_sales .inside").html(t)}}),e(document).on("keydown",".customer-note-input",function(t){13==t.keyCode&&(t.metaKey||t.ctrlKey)&&e("#add-customer-note").click()})});var eddFormatCurrency=function(e){var t=parseFloat(e),d=edd_vars.currency,n=edd_vars.currency_decimals;return t.toLocaleString(d,{style:"currency",currency:d,minimumFractionDigits:n,maximumFractionDigits:n})},eddFormatNumber=function(e){{var t=parseFloat(e),d=edd_vars.currency;edd_vars.currency_decimals}return t.toLocaleString(d,{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:0})},eddLabelFormatter=function(e){return'<div style="font-size:12px; text-align:center; padding:2px">'+e+"</div>"},eddLegendFormatterSales=function(e,t){var d=e.toLowerCase().replace(/\s/g,"-"),n='<div class="edd-legend-color" style="background-color: '+t.color+'"></div>',a='<div class="edd-pie-legend-item">'+e+": "+Math.round(t.percent)+"% ("+eddFormatNumber(t.data[0][1])+")</div>",i='<div id="'+t.edd_vars.id+d+'" class="edd-legend-item-wrapper">'+n+a+"</div>";return jQuery("#edd-pie-legend-"+t.edd_vars.id).append(i),i},eddLegendFormatterEarnings=function(e,t){var d=e.toLowerCase().replace(/\s/g,"-"),n='<div class="edd-legend-color" style="background-color: '+t.color+'"></div>',a='<div class="edd-pie-legend-item">'+e+": "+Math.round(t.percent)+"% ("+eddFormatCurrency(t.data[0][1])+")</div>",i='<div id="'+t.edd_vars.id+d+'" class="edd-legend-item-wrapper">'+n+a+"</div>";return jQuery("#edd-pie-legend-"+t.edd_vars.id).append(i),i};
1
+ jQuery(document).ready(function(e){var t={init:function(){this.add(),this.move(),this.remove(),this.type(),this.prices(),this.files(),this.updatePrices()},clone_repeatable:function(t){var d=highest=1;return t.parent().find("tr.edd_repeatable_row").each(function(){var t=e(this).data("key");parseInt(t)>highest&&(highest=t)}),d=highest+=1,clone=t.clone(),clone.find("select").each(function(){e(this).val(t.find('select[name="'+e(this).attr("name")+'"]').val())}),clone.removeClass("edd_add_blank"),clone.attr("data-key",d),clone.find("td input, td select, textarea").val(""),clone.find("input, select, textarea").each(function(){var t=e(this).attr("name");t&&(t=t.replace(/\[(\d+)\]/,"["+parseInt(d)+"]"),e(this).attr("name",t).attr("id",t))}),clone.find("span.edd_price_id").each(function(){e(this).text(parseInt(d))}),clone.find(".edd_repeatable_default_input").each(function(){e(this).val(parseInt(d)).removeAttr("checked")}),clone.find(".search-choice").remove(),clone.find(".chosen-container").remove(),clone},add:function(){e(document.body).on("click",".submit .edd_add_repeatable",function(d){d.preventDefault();var n=e(this),a=n.parent().parent().prev("tr"),i=t.clone_repeatable(a);i.insertAfter(a).find("input, textarea, select").filter(":visible").eq(0).focus(),i.find(".edd-select-chosen").chosen({inherit_select_classes:!0,placeholder_text_single:edd_vars.one_option,placeholder_text_multiple:edd_vars.one_or_more_option}),i.find(".edd-select-chosen").css("width","100%")})},move:function(){e(".edd_repeatable_table tbody").sortable({handle:".edd_draghandle",items:".edd_repeatable_row",opacity:.6,cursor:"move",axis:"y",update:function(){var t=0;e(this).find("tr").each(function(){e(this).find("input.edd_repeatable_index").each(function(){e(this).val(t)}),t++})}})},remove:function(){e(document.body).on("click",".edd_remove_repeatable",function(t){t.preventDefault();var d=e(this).parent().parent("tr"),n=d.parent().find("tr").length-1,a=e(this).data("type"),i="tr.edd_repeatable_"+a+"s";if("price"===a){var o=d.data("key");e('.edd_repeatable_condition_field option[value="'+o+'"]').remove()}if(n>1)e("input, select",d).val(""),d.fadeOut("fast").remove();else switch(a){case"price":alert(edd_vars.one_price_min);break;case"file":e("input, select",d).val("");break;default:alert(edd_vars.one_field_min)}e(i).each(function(t){e(this).find("input, select").each(function(){var d=e(this).attr("name");d=d.replace(/\[(\d+)\]/,"["+t+"]"),e(this).attr("name",d).attr("id",d)})})})},type:function(){e(document.body).on("change","#_edd_product_type",function(){var t=e("#edd_products"),d=e("#edd_download_files"),n=e("#edd_download_limit_wrap");"bundle"===e(this).val()?(t.show(),d.hide(),n.hide()):(t.hide(),d.show(),n.show())})},prices:function(){e(document.body).on("change","#edd_variable_pricing",function(){e(".edd_pricing_fields,.edd_repeatable_table .pricing").toggle()})},files:function(){if("undefined"==typeof wp||"1"!==edd_vars.new_media_ui)e(".edd_upload_file_button").length>0&&(window.formfield="",e(document.body).on("click",".edd_upload_file_button",function(t){if(t.preventDefault(),window.formfield=e(this).parent().prev(),window.tbframe_interval=setInterval(function(){jQuery("#TB_iframeContent").contents().find(".savesend .button").val(edd_vars.use_this_file).end().find("#insert-gallery, .wp-post-thumbnail").hide()},2e3),null!=edd_vars.post_id)var d="post_id="+edd_vars.post_id+"&";tb_show(edd_vars.add_new_download,"media-upload.php?"+d+"TB_iframe=true")}),window.edd_send_to_editor=window.send_to_editor,window.send_to_editor=function(t){window.formfield?(imgurl=e("a","<div>"+t+"</div>").attr("href"),window.formfield.val(imgurl),window.clearInterval(window.tbframe_interval),tb_remove()):window.edd_send_to_editor(t),window.send_to_editor=window.edd_send_to_editor,window.formfield="",window.imagefield=!1});else{var d;window.formfield="",e(document.body).on("click",".edd_upload_file_button",function(n){n.preventDefault();var a=e(this);return window.formfield=e(this).closest(".edd_repeatable_upload_wrapper"),d?void d.open():(d=wp.media.frames.file_frame=wp.media({frame:"post",state:"insert",title:a.data("uploader-title"),button:{text:a.data("uploader-button-text")},multiple:"0"==e(this).data("multiple")?!1:!0}),d.on("menu:render:default",function(e){var t={};e.unset("library-separator"),e.unset("gallery"),e.unset("featured-image"),e.unset("embed"),e.set(t)}),d.on("insert",function(){var e=d.state().get("selection");e.each(function(e,d){if(e=e.toJSON(),0===d)window.formfield.find(".edd_repeatable_attachment_id_field").val(e.id),window.formfield.find(".edd_repeatable_upload_field").val(e.url),window.formfield.find(".edd_repeatable_name_field").val(e.title);else{var n=window.formfield,a=t.clone_repeatable(n);a.find(".edd_repeatable_attachment_id_field").val(e.id),a.find(".edd_repeatable_upload_field").val(e.url),a.find(".edd_repeatable_name_field").val(e.title.length>0?e.title:e.filename),a.insertAfter(n)}})}),void d.open())});var d;window.formfield=""}},updatePrices:function(){e("#edd_price_fields").on("keyup",".edd_variable_prices_name",function(){var t=e(this).parents("tr").data("key"),d=e(this).val(),n=e(".edd_repeatable_condition_field option[value="+t+"]");n.length>0?n.text(d):e(".edd_repeatable_condition_field").append(e("<option></option>").attr("value",t).text(d))})}};t.init();var d=e(".edd_datepicker");if(d.length>0){var n="mm/dd/yy";d.datepicker({dateFormat:n})}var a={init:function(){this.edit_address(),this.remove_download(),this.add_download(),this.new_customer(),this.recalculate_total(),this.variable_prices_check(),this.add_note(),this.remove_note(),this.resend_receipt(),this.copy_download_link()},edit_address:function(){e('select[name="edd-payment-address[0][country]"]').change(function(){var t=e(this);return data={action:"edd_get_shop_states",country:t.val(),field_name:"edd-payment-address[0][state]"},e.post(ajaxurl,data,function(t){var d=e("#edd-order-address-state-wrap select, #edd-order-address-state-wrap input");d.replaceWith("nostates"==t?'<input type="text" name="edd-payment-address[0][state]" value="" class="edd-edit-toggles medium-text"/>':t)}),!1})},remove_download:function(){e("#edd-purchased-files").on("click",".edd-order-remove-download",function(){var t=e(document.body).find("#edd-purchased-files > .row").length;if(1===t)return alert(edd_vars.one_download_min),!1;if(confirm(edd_vars.delete_payment_download)){var d=e(this).data("key"),n=(e(".edd-payment-id").val(),e('input[name="edd-payment-details-downloads['+d+'][id]"]').val()),a=e('input[name="edd-payment-details-downloads['+d+'][price_id]"]').val(),i=e('input[name="edd-payment-details-downloads['+d+'][quantity]"]').val(),o=e('input[name="edd-payment-details-downloads['+d+'][amount]"]').val(),r=e('input[name="edd-payment-removed"]').val();r=e.parseJSON(r),r.length<1&&(r={});var s=[{id:n,price_id:a,quantity:i,amount:o}];r[d]=s,e('input[name="edd-payment-removed"]').val(JSON.stringify(r)),e(this).parent().parent().parent().remove(),e("#edd-payment-downloads-changed").val(1),e(".edd-order-payment-recalc-totals").show()}return!1})},new_customer:function(){e("#edd-customer-details").on("click",".edd-payment-new-customer, .edd-payment-new-customer-cancel",function(t){t.preventDefault(),e(".customer-info").toggle(),e(".new-customer").toggle();var d=e("#edd-new-customer");d.val(e(".new-customer").is(":visible")?1:0)})},add_download:function(){e("#edd-purchased-files").on("click","#edd-order-add-download",function(t){t.preventDefault();var d=e("#edd_order_download_select"),n=e("#edd-order-download-quantity"),a=e("#edd-order-download-amount"),i=e(".edd_price_options_select option:selected"),o=d.val(),r=d.find(":selected").text(),s=n.val(),c=a.val(),l=i.val(),u=i.text();if(1>o)return!1;if(c||(c=0),c=parseFloat(c),isNaN(c))return alert(edd_vars.numeric_item_price),!1;if("1"===edd_vars.quantities_enabled){if(isNaN(parseInt(s)))return alert(edd_vars.numeric_quantity),!1;c*=s}c=c.toFixed(edd_vars.currency_decimals);var _=c+edd_vars.currency_sign;"before"===edd_vars.currency_pos&&(_=edd_vars.currency_sign+c),u&&(r=r+" - "+u);var p=e("#edd-purchased-files div.row").length,f=e("#edd-purchased-files div.row:last").clone();f.find(".download span").html('<a href="post.php?post='+o+'&action=edit"></a>'),f.find(".download span a").text(r),f.find(".price-text").text(_),f.find(".item-quantity").text(s),f.find(".item-price").text(edd_vars.currency_sign+(c/s).toFixed(edd_vars.currency_decimals)),f.find("input.edd-payment-details-download-id").val(o),f.find("input.edd-payment-details-download-price-id").val(l),f.find("input.edd-payment-details-download-amount").val(c),f.find("input.edd-payment-details-download-quantity").val(s),f.find("input.edd-payment-details-download-has-log").val(0),f.find("input").each(function(){var t=e(this).attr("name");t=t.replace(/\[(\d+)\]/,"["+parseInt(p)+"]"),e(this).attr("name",t).attr("id",t)}),e("#edd-payment-downloads-changed").val(1),e(f).insertAfter("#edd-purchased-files div.row:last"),e(".edd-order-payment-recalc-totals").show()})},recalculate_total:function(){e("#edd-order-recalc-total").on("click",function(t){t.preventDefault();var d=0,n=e("#edd-purchased-files .row .edd-payment-details-download-amount");n.length&&n.each(function(){d+=parseFloat(e(this).val())}),e(".edd-payment-fees").length&&e(".edd-payment-fees span.fee-amount").each(function(){d+=parseFloat(e(this).data("fee"))}),e("input[name=edd-payment-total]").val(d)})},variable_prices_check:function(){e("#edd-purchased-files").on("change","select#edd_order_download_select",function(){var t=e(this),d=t.val();if(parseInt(d)>0){var n={action:"edd_check_for_download_price_variations",download_id:d};e.ajax({type:"POST",data:n,url:ajaxurl,success:function(d){e(".edd_price_options_select").remove(),e(d).insertAfter(t.next())}}).fail(function(e){window.console&&window.console.log&&console.log(e)})}})},add_note:function(){e("#edd-add-payment-note").on("click",function(t){t.preventDefault();var d={action:"edd_insert_payment_note",payment_id:e(this).data("payment-id"),note:e("#edd-payment-note").val()};if(d.note)e.ajax({type:"POST",data:d,url:ajaxurl,success:function(t){e("#edd-payment-notes-inner").append(t),e(".edd-no-payment-notes").hide(),e("#edd-payment-note").val("")}}).fail(function(e){window.console&&window.console.log&&console.log(e)});else{var n=e("#edd-payment-note").css("border-color");e("#edd-payment-note").css("border-color","red"),setTimeout(function(){e("#edd-payment-note").css("border-color",n)},500)}})},remove_note:function(){e(document.body).on("click",".edd-delete-payment-note",function(t){if(t.preventDefault(),confirm(edd_vars.delete_payment_note)){var d={action:"edd_delete_payment_note",payment_id:e(this).data("payment-id"),note_id:e(this).data("note-id")};return e.ajax({type:"POST",data:d,url:ajaxurl,success:function(){return e("#edd-payment-note-"+d.note_id).remove(),e(".edd-payment-note").length||e(".edd-no-payment-notes").show(),!1}}).fail(function(e){window.console&&window.console.log&&console.log(e)}),!0}})},resend_receipt:function(){e(document.body).on("click","#edd-resend-receipt",function(){return confirm(edd_vars.resend_receipt)})},copy_download_link:function(){e(document.body).on("click",".edd-copy-download-link",function(t){t.preventDefault();var d=e(this),n={action:"edd_get_file_download_link",payment_id:e('input[name="edd_payment_id"]').val(),download_id:d.data("download-id"),price_id:d.data("price-id")};e.ajax({type:"POST",data:n,url:ajaxurl,success:function(t){return e("#edd-download-link").dialog({width:400}).html('<textarea rows="10" cols="40" id="edd-download-link-textarea">'+t+"</textarea>"),e("#edd-download-link-textarea").focus().select(),!1}}).fail(function(e){window.console&&window.console.log&&console.log(e)})})}};a.init();var i={init:function(){this.type_select(),this.product_requirements()},type_select:function(){e("#edd-edit-discount #edd-type, #edd-add-discount #edd-type").change(function(){e(".edd-amount-description").toggle()})},product_requirements:function(){e("#products").change(function(){var t=e("#edd-discount-product-conditions");e(this).val()?t.show():t.hide()})}};i.init();var o={init:function(){this.date_options(),this.customers_export()},date_options:function(){e("#edd-graphs-date-options").change(function(){var t=e(this),d=e("#edd-date-range-options");"other"===t.val()?d.show():d.hide()})},customers_export:function(){e("#edd_customer_export_download").change(function(){var t=e(this),d=e("option:selected",t).val(),n=e("#edd_customer_export_option");if("0"===t.val()?n.show():n.hide(),0!=parseInt(d)){var a={action:"edd_check_for_download_price_variations",download_id:d},i=e(".edd_price_options_select");e.post(ajaxurl,a,function(e){i.remove(),t.after(e)})}else i.remove()})}};o.init();var r={init:function(){this.general(),this.taxes(),this.emails(),this.misc()},general:function(){var t=e(".edd-color-picker");if(t.length&&t.wpColorPicker(),"undefined"==typeof wp||"1"!==edd_vars.new_media_ui){var d=e(".edd_settings_upload_button");d.length>0&&(window.formfield="",e(document.body).on("click",d,function(t){t.preventDefault(),window.formfield=e(this).parent().prev(),window.tbframe_interval=setInterval(function(){jQuery("#TB_iframeContent").contents().find(".savesend .button").val(edd_vars.use_this_file).end().find("#insert-gallery, .wp-post-thumbnail").hide()},2e3),tb_show(edd_vars.add_new_download,"media-upload.php?TB_iframe=true")}),window.edd_send_to_editor=window.send_to_editor,window.send_to_editor=function(t){window.formfield?(imgurl=e("a","<div>"+t+"</div>").attr("href"),window.formfield.val(imgurl),window.clearInterval(window.tbframe_interval),tb_remove()):window.edd_send_to_editor(t),window.send_to_editor=window.edd_send_to_editor,window.formfield="",window.imagefield=!1})}else{var n;window.formfield="",e(document.body).on("click",".edd_settings_upload_button",function(t){t.preventDefault();var d=e(this);return window.formfield=e(this).parent().prev(),n?void n.open():(n=wp.media.frames.file_frame=wp.media({frame:"post",state:"insert",title:d.data("uploader_title"),button:{text:d.data("uploader_button_text")},multiple:!1}),n.on("menu:render:default",function(e){var t={};e.unset("library-separator"),e.unset("gallery"),e.unset("featured-image"),e.unset("embed"),e.set(t)}),n.on("insert",function(){var e=n.state().get("selection");e.each(function(e){e=e.toJSON(),window.formfield.val(e.url)})}),void n.open())});var n;window.formfield=""}},taxes:function(){var t=e("select.edd-no-states");t.length&&t.closest("tr").hide(),e('select[name="edd_settings[base_country]"]').change(function(){var t=e(this),d=t.closest("tr");return data={action:"edd_get_shop_states",country:e(this).val(),field_name:"edd_settings[base_state]"},e.post(ajaxurl,data,function(e){"nostates"==e?d.next().hide():(d.next().show(),d.next().find("select").replaceWith(e))}),!1}),e(document.body).on("change","#edd_tax_rates select.edd-tax-country",function(){var t=e(this);return data={action:"edd_get_shop_states",country:e(this).val(),field_name:t.attr("name").replace("country","state")},e.post(ajaxurl,data,function(e){if("nostates"==e){var d='<input type="text" name="'+data.field_name+'" value=""/>';t.parent().next().find("select").replaceWith(d)}else t.parent().next().find("input,select").show(),t.parent().next().find("input,select").replaceWith(e)}),!1}),e("#edd_add_tax_rate").on("click",function(){var t=e("#edd_tax_rates tr:last"),d=t.clone(),n=t.parent().find("tr").length;return d.find("td input").not(":input[type=checkbox]").val(""),d.find('td [type="checkbox"]').attr("checked",!1),d.find("input, select").each(function(){var t=e(this).attr("name");t=t.replace(/\[(\d+)\]/,"["+parseInt(n)+"]"),e(this).attr("name",t).attr("id",t)}),d.find("label").each(function(){var t=e(this).attr("for");t=t.replace(/\[(\d+)\]/,"["+parseInt(n)+"]"),e(this).attr("for",t)}),d.insertAfter(t),!1}),e(document.body).on("click","#edd_tax_rates .edd_remove_tax_rate",function(){if(confirm(edd_vars.delete_tax_rate)){var t=e("#edd_tax_rates tr:visible"),d=t.length;2===d?(e("#edd_tax_rates select").val(""),e('#edd_tax_rates input[type="text"]').val(""),e('#edd_tax_rates input[type="number"]').val(""),e('#edd_tax_rates input[type="checkbox"]').attr("checked",!1)):e(this).closest("tr").remove(),e("#edd_tax_rates tr").each(function(t){e(this).children().find("input, select").each(function(){var d=e(this).attr("name");d=d.replace(/\[(\d+)\]/,"["+(t-1)+"]"),e(this).attr("name",d).attr("id",d)})})}return!1})},emails:function(){var t=e("#email-preview-wrap");if(t.length){var d=e("#email-preview");t.colorbox({inline:!0,href:d,width:"80%",height:"auto"})}},misc:function(){var t=e('select[name="edd_settings[download_method]"]'),d=t.parent().parent().next();"direct"==t.val()&&(d.hide(),d.find("input").prop("checked",!1)),t.on("change",function(){"direct"==e(this).val()?(d.hide(),d.find("input").prop("checked",!1)):d.show()})}};r.init(),e(".download_page_edd-payment-history .row-actions .delete a").on("click",function(){return confirm(edd_vars.delete_payment)?!0:!1}),e("#the-list").on("click",".editinline",function(){inlineEditPost.revert();var t=e(this).closest("tr").attr("id");t=t.replace("post-","");var d=e("#post-"+t),n=d.find(".column-price .downloadprice-"+t).val();n!=e("#post-"+t+".column-price .downloadprice-"+t).val()?e(".regprice","#edd-download-data").val(n).attr("disabled",!1):e(".regprice","#edd-download-data").val(edd_vars.quick_edit_warning).attr("disabled","disabled")}),e(document.body).on("click","#bulk_edit",function(){var t=e("#bulk-edit"),d=new Array;t.find("#bulk-titles").children().each(function(){d.push(e(this).attr("id").replace(/^(ttle)/i,""))});var n=e('#edd-download-data input[name="_edd_regprice"]').val(),a={action:"edd_save_bulk_edit",edd_bulk_nonce:d,post_ids:d,price:n};e.post(ajaxurl,a)}),e(".edd-select-chosen").chosen({inherit_select_classes:!0,placeholder_text_single:edd_vars.one_option,placeholder_text_multiple:edd_vars.one_or_more_option}),e(".chosen-choices").on("click",function(){e(this).children("li").children("input").attr("placeholder",edd_vars.type_to_search)});var s,c=342;e(".edd-select.chosen-container .chosen-search input, .edd-select.chosen-container .search-field input").keyup(function(t){var d=e(this).val(),n=e(this).closest(".edd-select-chosen"),a=n.attr("id").replace("_chosen",""),i=(t.which,"edd_download_search");n.attr("id").indexOf("customer")>=0&&(i="edd_customer_search"),d.length<=3&&"edd_download_search"==i||16==t.which||13==t.which||91==t.which||17==t.which||37==t.which||38==t.which||39==t.which||40==t.which||(clearTimeout(s),s=setTimeout(function(){e.ajax({type:"GET",url:ajaxurl,data:{action:i,s:d,current_id:edd_vars.post_id},dataType:"json",beforeSend:function(){e("ul.chosen-results").empty()},success:function(t){e("#"+a+" option:not(:selected)").remove(),e.each(t,function(t,d){e("#"+a+' option[value="'+d.id+'"]').length||e("#"+a).prepend('<option value="'+d.id+'">'+d.name+"</option>")}),e(".edd-select-chosen").trigger("chosen:updated"),e("#"+a).next().find("input").val(d)}}).fail(function(e){window.console&&window.console.log&&console.log(e)}).done(function(){})},c))}),e("#post").on("click",".edd-thickbox",function(){e(".edd-select-chosen","#choose-download").css("width","100%")});var l={init:function(){this.revoke_api_key(),this.regenerate_api_key()},revoke_api_key:function(){e(document.body).on("click",".edd-revoke-api-key",function(){return confirm(edd_vars.revoke_api_key)})},regenerate_api_key:function(){e(document.body).on("click",".edd-regenerate-api-key",function(){return confirm(edd_vars.regenerate_api_key)})}};l.init();var u={init:function(){this.submit()},submit:function(){var t=this;e(document.body).on("submit",".edd-export-form",function(d){d.preventDefault();var n=e(this).find('input[type="submit"]');if(!n.hasClass("button-disabled")){var a=e(this).serialize();n.addClass("button-disabled"),e(this).append('<span class="spinner is-active"></span><div class="edd-progress"><div></div></div>'),t.process_step(1,a,t)}})},process_step:function(t,d,n){e.ajax({type:"POST",url:ajaxurl,data:{form:d,action:"edd_do_ajax_export",step:t},dataType:"json",success:function(t){if("done"==t.step){var a=e(".edd-export-form");a.find(".spinner").remove(),a.find(".edd-progress").remove(),a.find(".button-disabled").removeClass("button-disabled"),window.location=t.url}else e(".edd-progress div").animate({width:t.percentage+"%"},50,function(){}),n.process_step(parseInt(t.step),d,n)}}).fail(function(e){window.console&&window.console.log&&console.log(e)})}};u.init();var _={vars:{customer_card_wrap_editable:e("#edd-customer-card-wrapper .editable"),customer_card_wrap_edit_item:e("#edd-customer-card-wrapper .edit-item"),user_id:e('input[name="customerinfo[user_id]"]'),state_input:e(':input[name="customerinfo[state]"]'),note:e("#customer-note")},init:function(){this.edit_customer(),this.user_search(),this.remove_user(),this.cancel_edit(),this.change_country(),this.add_note(),this.delete_checked()},edit_customer:function(){e(document.body).on("click","#edit-customer",function(e){e.preventDefault(),_.vars.customer_card_wrap_editable.hide(),_.vars.customer_card_wrap_edit_item.fadeIn().css("display","block")})},user_search:function(){e(document.body).on("click.eddSelectUser",".edd_user_search_results a",function(t){t.preventDefault();var d=e(this).data("userid");_.vars.user_id.val(d)})},remove_user:function(){e(document.body).on("click","#disconnect-customer",function(t){t.preventDefault();var d=e('input[name="customerinfo[id]"]').val(),n={edd_action:"disconnect-userid",customer_id:d,_wpnonce:e("#edit-customer-info #_wpnonce").val()};e.post(ajaxurl,n,function(){window.location.href=window.location.href},"json")})},cancel_edit:function(){e(document.body).on("click","#edd-edit-customer-cancel",function(t){t.preventDefault(),_.vars.customer_card_wrap_edit_item.hide(),_.vars.customer_card_wrap_editable.show(),e(".edd_user_search_results").html("")})},change_country:function(){e('select[name="customerinfo[country]"]').change(function(){var t=e(this);return data={action:"edd_get_shop_states",country:t.val(),field_name:"customerinfo[state]"},e.post(ajaxurl,data,function(e){_.vars.state_input.replaceWith("nostates"==e?'<input type="text" name="'+data.field_name+'" value="" class="edd-edit-toggles medium-text"/>':e)}),!1})},add_note:function(){e(document.body).on("click","#add-customer-note",function(t){t.preventDefault();var d={edd_action:"add-customer-note",customer_id:e("#customer-id").val(),customer_note:_.vars.note.val(),add_customer_note_nonce:e("#add_customer_note_nonce").val()};if(d.customer_note)e.ajax({type:"POST",data:d,url:ajaxurl,success:function(t){e("#edd-customer-notes").prepend(t),e(".edd-no-customer-notes").hide(),_.vars.note.val("")}}).fail(function(e){window.console&&window.console.log&&console.log(e)});else{var n=_.vars.note.css("border-color");_.vars.note.css("border-color","red"),setTimeout(function(){_.vars.note.css("border-color",n)},500)}})},delete_checked:function(){e("#edd-customer-delete-confirm").change(function(){var t=e("#edd-customer-delete-records"),d=e("#edd-delete-customer");e(this).prop("checked")?(t.attr("disabled",!1),d.attr("disabled",!1)):(t.attr("disabled",!0),t.prop("checked",!1),d.attr("disabled",!0))})}};_.init(),e(".edd-ajax-user-search").keyup(function(){var t=e(this).val(),d="";e(this).data("exclude")&&(d=e(this).data("exclude")),e(".edd-ajax").show(),data={action:"edd_search_users",user_name:t,exclude:d},document.body.style.cursor="wait",e.ajax({type:"POST",data:data,dataType:"json",url:ajaxurl,success:function(t){e(".edd-ajax").hide(),e(".edd_user_search_results").removeClass("hidden"),e(".edd_user_search_results span").html(""),e(t.results).appendTo(".edd_user_search_results span"),document.body.style.cursor="default"}})}),e(document.body).on("click.eddSelectUser",".edd_user_search_results span a",function(t){t.preventDefault();var d=e(this).data("login");e(".edd-ajax-user-search").val(d),e(".edd_user_search_results").addClass("hidden"),e(".edd_user_search_results span").html("")}),e(document.body).on("click.eddCancelUserSearch",".edd_user_search_results a.edd-ajax-user-cancel",function(t){t.preventDefault(),e(".edd-ajax-user-search").val(""),e(".edd_user_search_results").addClass("hidden"),e(".edd_user_search_results span").html("")}),e.ajax({type:"GET",data:{action:"edd_load_dashboard_widget"},url:ajaxurl,success:function(t){e("#edd_dashboard_sales .inside").html(t)}}),e(document).on("keydown",".customer-note-input",function(t){13==t.keyCode&&(t.metaKey||t.ctrlKey)&&e("#add-customer-note").click()})});var eddFormatCurrency=function(e){var t=parseFloat(e),d=edd_vars.currency,n=edd_vars.currency_decimals;return t.toLocaleString(d,{style:"currency",currency:d,minimumFractionDigits:n,maximumFractionDigits:n})},eddFormatNumber=function(e){{var t=parseFloat(e),d=edd_vars.currency;edd_vars.currency_decimals}return t.toLocaleString(d,{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:0})},eddLabelFormatter=function(e){return'<div style="font-size:12px; text-align:center; padding:2px">'+e+"</div>"},eddLegendFormatterSales=function(e,t){var d=e.toLowerCase().replace(/\s/g,"-"),n='<div class="edd-legend-color" style="background-color: '+t.color+'"></div>',a='<div class="edd-pie-legend-item">'+e+": "+Math.round(t.percent)+"% ("+eddFormatNumber(t.data[0][1])+")</div>",i='<div id="'+t.edd_vars.id+d+'" class="edd-legend-item-wrapper">'+n+a+"</div>";return jQuery("#edd-pie-legend-"+t.edd_vars.id).append(i),i},eddLegendFormatterEarnings=function(e,t){var d=e.toLowerCase().replace(/\s/g,"-"),n='<div class="edd-legend-color" style="background-color: '+t.color+'"></div>',a='<div class="edd-pie-legend-item">'+e+": "+Math.round(t.percent)+"% ("+eddFormatCurrency(t.data[0][1])+")</div>",i='<div id="'+t.edd_vars.id+d+'" class="edd-legend-item-wrapper">'+n+a+"</div>";return jQuery("#edd-pie-legend-"+t.edd_vars.id).append(i),i};
assets/js/edd-ajax.js CHANGED
@@ -110,6 +110,9 @@ jQuery(document).ready(function ($) {
110
 
111
  if ( form.find('.edd_price_option_' + download).is('input:hidden') ) {
112
  item_price_ids[0] = $('.edd_price_option_' + download, form).val();
 
 
 
113
  } else {
114
  if( ! form.find('.edd_price_option_' + download + ':checked', form).length ) {
115
  // hide the spinner
110
 
111
  if ( form.find('.edd_price_option_' + download).is('input:hidden') ) {
112
  item_price_ids[0] = $('.edd_price_option_' + download, form).val();
113
+ if ( form.find('.edd-submit').data('price') && form.find('.edd-submit').data('price') > 0 ) {
114
+ free_items = false;
115
+ }
116
  } else {
117
  if( ! form.find('.edd_price_option_' + download + ':checked', form).length ) {
118
  // hide the spinner
assets/js/edd-ajax.min.js CHANGED
@@ -1 +1 @@
1
- function edd_load_gateway(a){jQuery(".edd-cart-ajax").show(),jQuery("#edd_purchase_form_wrap").html('<img src="'+edd_scripts.ajax_loader+'"/>'),jQuery.post(edd_scripts.ajaxurl+"?payment-mode="+a,{action:"edd_load_gateway",edd_payment_mode:a},function(a){jQuery("#edd_purchase_form_wrap").html(a),jQuery(".edd-no-js").hide()})}var edd_scripts;jQuery(document).ready(function(a){a(".edd-no-js").hide(),a("a.edd-add-to-cart").addClass("edd-has-js"),a("body").on("click.eddRemoveFromCart",".edd-remove-from-cart",function(){var c=a(this),d=c.data("cart-item"),e=c.data("action"),f=c.data("download-id"),g={action:e,cart_item:d};return a.ajax({type:"POST",data:g,dataType:"json",url:edd_scripts.ajaxurl,xhrFields:{withCredentials:!0},success:function(b){if(b.removed){if(parseInt(edd_scripts.position_in_cart,10)===parseInt(d,10))return window.location=window.location,!1;a(".edd-cart").find("[data-cart-item='"+d+"']").parent().remove();var c=0;a(".edd-cart").find("[data-cart-item]").each(function(){a(this).attr("data-cart-item",c),c+=1}),a("#edd_purchase_"+f).length&&(a("#edd_purchase_"+f+" .edd_go_to_checkout").hide(),a("#edd_purchase_"+f+" a.edd-add-to-cart").show().removeAttr("data-edd-loading"),"1"==edd_scripts.quantities_enabled&&a("#edd_purchase_"+f+" .edd_download_quantity_wrapper").show()),a("span.edd-cart-quantity").text(b.cart_quantity),a("body").trigger("edd_quantity_updated",[b.cart_quantity]),edd_scripts.taxes_enabled&&(a(".cart_item.edd_subtotal span").html(b.subtotal),a(".cart_item.edd_cart_tax span").html(b.tax)),a(".cart_item.edd_total span").html(b.total),0==b.cart_quantity&&(a(".cart_item.edd_subtotal,.edd-cart-number-of-items,.cart_item.edd_checkout,.cart_item.edd_cart_tax,.cart_item.edd_total").hide(),a(".edd-cart").append('<li class="cart_item empty">'+edd_scripts.empty_cart_message+"</li>")),a("body").trigger("edd_cart_item_removed",[b])}}}).fail(function(a){window.console&&window.console.log&&console.log(a)}).done(function(){}),!1}),a("body").on("click.eddAddToCart",".edd-add-to-cart",function(b){b.preventDefault();var c=a(this),d=c.closest("form"),e=c.find(".edd-loading"),f=c.closest("div"),g=e.width(),h=e.height();c.attr("data-edd-loading",""),e.css({"margin-left":g/-2,"margin-top":h/-2});var d=c.parents("form").last(),i=c.data("download-id"),j=c.data("variable-price"),k=c.data("price-mode"),l=[],m=!0;if("yes"==j)if(d.find(".edd_price_option_"+i).is("input:hidden"))l[0]=a(".edd_price_option_"+i,d).val();else{if(!d.find(".edd_price_option_"+i+":checked",d).length)return c.removeAttr("data-edd-loading"),alert(edd_scripts.select_option),void 0;d.find(".edd_price_option_"+i+":checked",d).each(function(b){if(l[b]=a(this).val(),!0===m){var c=a(this).data("price");c&&c>0&&(m=!1)}})}else l[0]=i,c.data("price")&&c.data("price")>0&&(m=!1);if(m&&d.find(".edd_action_input").val("add_to_cart"),"straight_to_gateway"==d.find(".edd_action_input").val())return d.submit(),!0;var n=c.data("action"),o={action:n,download_id:i,price_ids:l,post_data:a(d).serialize()};return a.ajax({type:"POST",data:o,dataType:"json",url:edd_scripts.ajaxurl,xhrFields:{withCredentials:!0},success:function(b){if("1"==edd_scripts.redirect_to_checkout&&"1"==d.find("#edd_redirect_to_checkout").val())window.location=edd_scripts.checkout_page;else{if("1"===edd_scripts.taxes_enabled&&(a(".cart_item.edd_subtotal").show(),a(".cart_item.edd_cart_tax").show()),a(".cart_item.edd_total").show(),a(".cart_item.edd_checkout").show(),a(".cart_item.empty").length?(a(b.cart_item).insertBefore(".edd-cart-meta:first"),a(".cart_item.empty").hide()):a(b.cart_item).insertBefore(".edd-cart-meta:first"),"1"===edd_scripts.taxes_enabled&&(a(".edd-cart-meta.edd_subtotal span").html(b.subtotal),a(".edd-cart-meta.edd_cart_tax span").html(b.tax)),a(".edd-cart-meta.edd_total span").html(b.total),a(".edd-cart-item-title",b.cart_item).length,a("span.edd-cart-quantity").each(function(){a(this).text(b.cart_quantity),a("body").trigger("edd_quantity_updated",[b.cart_quantity])}),"none"==a(".edd-cart-number-of-items").css("display")&&a(".edd-cart-number-of-items").show("slow"),("no"==j||"multi"!=k)&&(a("a.edd-add-to-cart",f).toggle(),a(".edd_go_to_checkout",f).css("display","inline-block")),"multi"==k&&c.removeAttr("data-edd-loading"),a(".edd_download_purchase_form").length&&("no"==j||!d.find(".edd_price_option_"+i).is("input:hidden"))){var g=a('.edd_download_purchase_form *[data-download-id="'+i+'"]').parents("form");a("a.edd-add-to-cart",g).hide(),"multi"!=k&&g.find(".edd_download_quantity_wrapper").slideUp(),a(".edd_go_to_checkout",g).show().removeAttr("data-edd-loading")}"incart"!=b&&(a(".edd-cart-added-alert",f).fadeIn(),setTimeout(function(){a(".edd-cart-added-alert",f).fadeOut()},3e3)),a("body").trigger("edd_cart_item_added",[b])}}}).fail(function(a){window.console&&window.console.log&&console.log(a)}).done(function(){}),!1}),a("#edd_checkout_form_wrap").on("click",".edd_checkout_register_login",function(){var b=a(this),c={action:b.data("action")};return a(".edd-cart-ajax").show(),a.post(edd_scripts.ajaxurl,c,function(b){a("#edd_checkout_login_register").html(edd_scripts.loading),a("#edd_checkout_login_register").html(b),a(".edd-cart-ajax").hide()}),!1}),a(document).on("click","#edd_purchase_form #edd_login_fields input[type=submit]",function(b){b.preventDefault();var c=a(this).val();a(this).val(edd_global_vars.purchase_loading),a(this).after('<span class="edd-cart-ajax"><i class="edd-icon-spinner edd-icon-spin"></i></span>');var d={action:"edd_process_checkout_login",edd_ajax:1,edd_user_login:a("#edd_login_fields #edd_user_login").val(),edd_user_pass:a("#edd_login_fields #edd_user_pass").val()};a.post(edd_global_vars.ajaxurl,d,function(b){"success"==a.trim(b)?(a(".edd_errors").remove(),window.location=edd_scripts.checkout_page):(a("#edd_login_fields input[type=submit]").val(c),a(".edd-cart-ajax").remove(),a(".edd_errors").remove(),a("#edd-user-login-submit").before(b))})}),a("select#edd-gateway, input.edd-gateway").change(function(){var c=a("#edd-gateway option:selected, input.edd-gateway:checked").val();return"0"==c?!1:(edd_load_gateway(c),!1)}),"1"==edd_scripts.is_checkout&&a("select#edd-gateway, input.edd-gateway").length&&setTimeout(function(){edd_load_gateway(edd_scripts.default_gateway)},200),a(document).on("click","#edd_purchase_form #edd_purchase_submit input[type=submit]",function(b){var c=document.getElementById("edd_purchase_form");if("function"!=typeof c.checkValidity||!1!==c.checkValidity()){b.preventDefault();var d=a(this).val();a(this).val(edd_global_vars.purchase_loading),a(this).after('<span class="edd-cart-ajax"><i class="edd-icon-spinner edd-icon-spin"></i></span>'),a.post(edd_global_vars.ajaxurl,a("#edd_purchase_form").serialize()+"&action=edd_process_checkout&edd_ajax=true",function(b){"success"==a.trim(b)?(a(".edd_errors").remove(),a(".edd-error").hide(),a(c).submit()):(a("#edd-purchase-button").val(d),a(".edd-cart-ajax").remove(),a(".edd_errors").remove(),a(".edd-error").hide(),a("#edd_purchase_submit").before(b))})}})});
1
+ function edd_load_gateway(e){jQuery(".edd-cart-ajax").show(),jQuery("#edd_purchase_form_wrap").html('<img src="'+edd_scripts.ajax_loader+'"/>'),jQuery.post(edd_scripts.ajaxurl+"?payment-mode="+e,{action:"edd_load_gateway",edd_payment_mode:e},function(e){jQuery("#edd_purchase_form_wrap").html(e),jQuery(".edd-no-js").hide()})}var edd_scripts;jQuery(document).ready(function(e){e(".edd-no-js").hide(),e("a.edd-add-to-cart").addClass("edd-has-js"),e("body").on("click.eddRemoveFromCart",".edd-remove-from-cart",function(){var d=e(this),t=d.data("cart-item"),a=d.data("action"),i=d.data("download-id"),r={action:a,cart_item:t};return e.ajax({type:"POST",data:r,dataType:"json",url:edd_scripts.ajaxurl,xhrFields:{withCredentials:!0},success:function(d){if(d.removed){if(parseInt(edd_scripts.position_in_cart,10)===parseInt(t,10))return window.location=window.location,!1;e(".edd-cart").find("[data-cart-item='"+t+"']").parent().remove();var a=0;e(".edd-cart").find("[data-cart-item]").each(function(){e(this).attr("data-cart-item",a),a+=1}),e("#edd_purchase_"+i).length&&(e("#edd_purchase_"+i+" .edd_go_to_checkout").hide(),e("#edd_purchase_"+i+" a.edd-add-to-cart").show().removeAttr("data-edd-loading"),"1"==edd_scripts.quantities_enabled&&e("#edd_purchase_"+i+" .edd_download_quantity_wrapper").show()),e("span.edd-cart-quantity").text(d.cart_quantity),e("body").trigger("edd_quantity_updated",[d.cart_quantity]),edd_scripts.taxes_enabled&&(e(".cart_item.edd_subtotal span").html(d.subtotal),e(".cart_item.edd_cart_tax span").html(d.tax)),e(".cart_item.edd_total span").html(d.total),0==d.cart_quantity&&(e(".cart_item.edd_subtotal,.edd-cart-number-of-items,.cart_item.edd_checkout,.cart_item.edd_cart_tax,.cart_item.edd_total").hide(),e(".edd-cart").append('<li class="cart_item empty">'+edd_scripts.empty_cart_message+"</li>")),e("body").trigger("edd_cart_item_removed",[d])}}}).fail(function(e){window.console&&window.console.log&&console.log(e)}).done(function(){}),!1}),e("body").on("click.eddAddToCart",".edd-add-to-cart",function(d){d.preventDefault();var t=e(this),a=t.closest("form"),i=t.find(".edd-loading"),r=t.closest("div"),o=i.width(),c=i.height();t.attr("data-edd-loading",""),i.css({"margin-left":o/-2,"margin-top":c/-2});var a=t.parents("form").last(),n=t.data("download-id"),s=t.data("variable-price"),_=t.data("price-mode"),l=[],u=!0;if("yes"==s)if(a.find(".edd_price_option_"+n).is("input:hidden"))l[0]=e(".edd_price_option_"+n,a).val();else{if(!a.find(".edd_price_option_"+n+":checked",a).length)return t.removeAttr("data-edd-loading"),void alert(edd_scripts.select_option);a.find(".edd_price_option_"+n+":checked",a).each(function(d){if(l[d]=e(this).val(),!0===u){var t=e(this).data("price");t&&t>0&&(u=!1)}})}else l[0]=n,t.data("price")&&t.data("price")>0&&(u=!1);if(u&&a.find(".edd_action_input").val("add_to_cart"),"straight_to_gateway"==a.find(".edd_action_input").val())return a.submit(),!0;var p=t.data("action"),m={action:p,download_id:n,price_ids:l,post_data:e(a).serialize()};return e.ajax({type:"POST",data:m,dataType:"json",url:edd_scripts.ajaxurl,xhrFields:{withCredentials:!0},success:function(d){if("1"==edd_scripts.redirect_to_checkout&&"1"==a.find("#edd_redirect_to_checkout").val())window.location=edd_scripts.checkout_page;else{"1"===edd_scripts.taxes_enabled&&(e(".cart_item.edd_subtotal").show(),e(".cart_item.edd_cart_tax").show()),e(".cart_item.edd_total").show(),e(".cart_item.edd_checkout").show(),e(".cart_item.empty").length?(e(d.cart_item).insertBefore(".edd-cart-meta:first"),e(".cart_item.empty").hide()):e(d.cart_item).insertBefore(".edd-cart-meta:first"),"1"===edd_scripts.taxes_enabled&&(e(".edd-cart-meta.edd_subtotal span").html(d.subtotal),e(".edd-cart-meta.edd_cart_tax span").html(d.tax)),e(".edd-cart-meta.edd_total span").html(d.total);{e(".edd-cart-item-title",d.cart_item).length}if(e("span.edd-cart-quantity").each(function(){e(this).text(d.cart_quantity),e("body").trigger("edd_quantity_updated",[d.cart_quantity])}),"none"==e(".edd-cart-number-of-items").css("display")&&e(".edd-cart-number-of-items").show("slow"),("no"==s||"multi"!=_)&&(e("a.edd-add-to-cart",r).toggle(),e(".edd_go_to_checkout",r).css("display","inline-block")),"multi"==_&&t.removeAttr("data-edd-loading"),e(".edd_download_purchase_form").length&&("no"==s||!a.find(".edd_price_option_"+n).is("input:hidden"))){var i=e('.edd_download_purchase_form *[data-download-id="'+n+'"]').parents("form");e("a.edd-add-to-cart",i).hide(),"multi"!=_&&i.find(".edd_download_quantity_wrapper").slideUp(),e(".edd_go_to_checkout",i).show().removeAttr("data-edd-loading")}"incart"!=d&&(e(".edd-cart-added-alert",r).fadeIn(),setTimeout(function(){e(".edd-cart-added-alert",r).fadeOut()},3e3)),e("body").trigger("edd_cart_item_added",[d])}}}).fail(function(e){window.console&&window.console.log&&console.log(e)}).done(function(){}),!1}),e("#edd_checkout_form_wrap").on("click",".edd_checkout_register_login",function(){var d=e(this),t={action:d.data("action")};return e(".edd-cart-ajax").show(),e.post(edd_scripts.ajaxurl,t,function(d){e("#edd_checkout_login_register").html(edd_scripts.loading),e("#edd_checkout_login_register").html(d),e(".edd-cart-ajax").hide()}),!1}),e(document).on("click","#edd_purchase_form #edd_login_fields input[type=submit]",function(d){d.preventDefault();var t=e(this).val();e(this).val(edd_global_vars.purchase_loading),e(this).after('<span class="edd-cart-ajax"><i class="edd-icon-spinner edd-icon-spin"></i></span>');var a={action:"edd_process_checkout_login",edd_ajax:1,edd_user_login:e("#edd_login_fields #edd_user_login").val(),edd_user_pass:e("#edd_login_fields #edd_user_pass").val()};e.post(edd_global_vars.ajaxurl,a,function(d){"success"==e.trim(d)?(e(".edd_errors").remove(),window.location=edd_scripts.checkout_page):(e("#edd_login_fields input[type=submit]").val(t),e(".edd-cart-ajax").remove(),e(".edd_errors").remove(),e("#edd-user-login-submit").before(d))})}),e("select#edd-gateway, input.edd-gateway").change(function(){var d=e("#edd-gateway option:selected, input.edd-gateway:checked").val();return"0"==d?!1:(edd_load_gateway(d),!1)}),"1"==edd_scripts.is_checkout&&e("select#edd-gateway, input.edd-gateway").length&&setTimeout(function(){edd_load_gateway(edd_scripts.default_gateway)},200),e(document).on("click","#edd_purchase_form #edd_purchase_submit input[type=submit]",function(d){var t=document.getElementById("edd_purchase_form");if("function"!=typeof t.checkValidity||!1!==t.checkValidity()){d.preventDefault();var a=e(this).val();e(this).val(edd_global_vars.purchase_loading),e(this).after('<span class="edd-cart-ajax"><i class="edd-icon-spinner edd-icon-spin"></i></span>'),e.post(edd_global_vars.ajaxurl,e("#edd_purchase_form").serialize()+"&action=edd_process_checkout&edd_ajax=true",function(d){"success"==e.trim(d)?(e(".edd_errors").remove(),e(".edd-error").hide(),e(t).submit()):(e("#edd-purchase-button").val(a),e(".edd-cart-ajax").remove(),e(".edd_errors").remove(),e(".edd-error").hide(),e("#edd_purchase_submit").before(d))})}})});
easy-digital-downloads.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Serve Digital Downloads Through WordPress
6
  * Author: Pippin Williamson
7
  * Author URI: https://pippinsplugins.com
8
- * Version: 2.4.2
9
  * Text Domain: edd
10
  * Domain Path: languages
11
  *
@@ -25,7 +25,7 @@
25
  * @package EDD
26
  * @category Core
27
  * @author Pippin Williamson
28
- * @version 2.4.2
29
  */
30
 
31
  // Exit if accessed directly
@@ -187,7 +187,7 @@ final class Easy_Digital_Downloads {
187
 
188
  // Plugin version
189
  if ( ! defined( 'EDD_VERSION' ) ) {
190
- define( 'EDD_VERSION', '2.4.2' );
191
  }
192
 
193
  // Plugin Folder Path
5
  * Description: Serve Digital Downloads Through WordPress
6
  * Author: Pippin Williamson
7
  * Author URI: https://pippinsplugins.com
8
+ * Version: 2.4.3
9
  * Text Domain: edd
10
  * Domain Path: languages
11
  *
25
  * @package EDD
26
  * @category Core
27
  * @author Pippin Williamson
28
+ * @version 2.4.3
29
  */
30
 
31
  // Exit if accessed directly
187
 
188
  // Plugin version
189
  if ( ! defined( 'EDD_VERSION' ) ) {
190
+ define( 'EDD_VERSION', '2.4.3' );
191
  }
192
 
193
  // Plugin Folder Path
includes/EDD_SL_Plugin_Updater.php CHANGED
@@ -89,6 +89,10 @@ class EDD_SL_Plugin_Updater {
89
 
90
  if( version_compare( $this->version, $version_info->new_version, '<' ) ) {
91
 
 
 
 
 
92
  $_transient_data->response[ $this->name ] = $version_info;
93
 
94
  }
89
 
90
  if( version_compare( $this->version, $version_info->new_version, '<' ) ) {
91
 
92
+ if ( empty( $version_info->plugin ) ) {
93
+ $version_info->plugin = $this->name;
94
+ }
95
+
96
  $_transient_data->response[ $this->name ] = $version_info;
97
 
98
  }
includes/admin/add-ons.php CHANGED
@@ -12,21 +12,6 @@
12
  // Exit if accessed directly
13
  if ( ! defined( 'ABSPATH' ) ) exit;
14
 
15
- /**
16
- * Add-ons Page Init
17
- *
18
- * Hooks check feed to the page load action.
19
- *
20
- * @since 1.0
21
- * @global $edd_add_ons_page EDD Add-ons Pages
22
- * @return void
23
- */
24
- function edd_add_ons_init() {
25
- global $edd_add_ons_page;
26
- add_action( 'load-' . $edd_add_ons_page, 'edd_add_ons_check_feed' );
27
- }
28
- add_action( 'admin_menu', 'edd_add_ons_init');
29
-
30
  /**
31
  * Add-ons Page
32
  *
12
  // Exit if accessed directly
13
  if ( ! defined( 'ABSPATH' ) ) exit;
14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  /**
16
  * Add-ons Page
17
  *
includes/admin/admin-pages.php CHANGED
@@ -212,7 +212,7 @@ function edd_is_admin_page( $passed_page = '', $passed_view = '' ) {
212
  }
213
  break;
214
  case 'logs':
215
- if ( ( 'download' == $typenow || 'download' === $post_type ) && $pagenow == 'edit.php' && 'edd-reports' === $page && 'logs' === $ivew ) {
216
  $found = true;
217
  }
218
  break;
212
  }
213
  break;
214
  case 'logs':
215
+ if ( ( 'download' == $typenow || 'download' === $post_type ) && $pagenow == 'edit.php' && 'edd-reports' === $page && 'logs' === $view ) {
216
  $found = true;
217
  }
218
  break;
includes/admin/class-edd-notices.php CHANGED
@@ -56,7 +56,7 @@ class EDD_Notices {
56
 
57
  echo '<div class="error">';
58
  echo '<p>' . sprintf( __( 'The download files in <strong>%s</strong> are not currently protected due to your site running on NGINX.', 'edd' ), edd_get_upload_dir() ) . '</p>';
59
- echo '<p>' . __( 'To protect them, you must add a redirect rule as explained in <a href="https://docs.easydigitaldownloads.com/article/682-protected-download-files-on-nginx">this guide</a>.', 'edd' ) . '</p>';
60
  echo '<p>' . __( 'If you have already added the redirect rule, you may safely dismiss this notice', 'edd' ) . '</p>';
61
  echo '<p><a href="' . add_query_arg( array( 'edd_action' => 'dismiss_notices', 'edd_notice' => 'nginx_redirect' ) ) . '">' . __( 'Dismiss Notice', 'edd' ) . '</a></p>';
62
  echo '</div>';
56
 
57
  echo '<div class="error">';
58
  echo '<p>' . sprintf( __( 'The download files in <strong>%s</strong> are not currently protected due to your site running on NGINX.', 'edd' ), edd_get_upload_dir() ) . '</p>';
59
+ echo '<p>' . __( 'To protect them, you must add a redirect rule as explained in <a href="http://docs.easydigitaldownloads.com/article/682-protected-download-files-on-nginx">this guide</a>.', 'edd' ) . '</p>';
60
  echo '<p>' . __( 'If you have already added the redirect rule, you may safely dismiss this notice', 'edd' ) . '</p>';
61
  echo '<p><a href="' . add_query_arg( array( 'edd_action' => 'dismiss_notices', 'edd_notice' => 'nginx_redirect' ) ) . '">' . __( 'Dismiss Notice', 'edd' ) . '</a></p>';
62
  echo '</div>';
includes/admin/customers/customers.php CHANGED
@@ -284,7 +284,7 @@ function edd_customers_view( $customer ) {
284
  <span class="customer-user-id info-item editable">
285
  <?php _e( 'User ID', 'edd' ); ?>:&nbsp;
286
  <?php if( intval( $customer->user_id ) > 0 ) : ?>
287
- <span data-key="user_id"><?php echo $customer->user_id; ?></span>
288
  <?php else : ?>
289
  <span data-key="user_id"><?php _e( 'none', 'edd' ); ?></span>
290
  <?php endif; ?>
284
  <span class="customer-user-id info-item editable">
285
  <?php _e( 'User ID', 'edd' ); ?>:&nbsp;
286
  <?php if( intval( $customer->user_id ) > 0 ) : ?>
287
+ <span data-key="user_id"><a href="<?php echo admin_url( 'user-edit.php?user_id=' . $customer->user_id ); ?>"><?php echo $customer->user_id; ?></a></span>
288
  <?php else : ?>
289
  <span data-key="user_id"><?php _e( 'none', 'edd' ); ?></span>
290
  <?php endif; ?>
includes/admin/dashboard-widgets.php CHANGED
@@ -146,6 +146,7 @@ function edd_load_dashboard_sales_widget( ) {
146
  </table>
147
  </div>
148
  <div style="clear: both"></div>
 
149
  <?php
150
  $p_query = new EDD_Payments_Query( array(
151
  'number' => 5,
@@ -193,6 +194,7 @@ function edd_load_dashboard_sales_widget( ) {
193
  </table>
194
  </div>
195
  <?php } // End if ?>
 
196
  </div>
197
  <?php
198
  die();
146
  </table>
147
  </div>
148
  <div style="clear: both"></div>
149
+ <?php do_action( 'edd_sales_summary_widget_after_stats', $stats ); ?>
150
  <?php
151
  $p_query = new EDD_Payments_Query( array(
152
  'number' => 5,
194
  </table>
195
  </div>
196
  <?php } // End if ?>
197
+ <?php do_action( 'edd_sales_summary_widget_after_purchases', $payments ); ?>
198
  </div>
199
  <?php
200
  die();
includes/admin/discounts/contextual-help.php CHANGED
@@ -28,7 +28,7 @@ function edd_discounts_contextual_help() {
28
  __( '<a href="%s">Post an issue</a> on <a href="%s">GitHub</a>. View <a href="%s">extensions</a> or <a href="%s">themes</a>.', 'edd' ),
29
  esc_url( 'https://github.com/easydigitaldownloads/Easy-Digital-Downloads/issues' ),
30
  esc_url( 'https://github.com/easydigitaldownloads/Easy-Digital-Downloads' ),
31
- esc_url( 'https://easydigitaldownloads.com/extensions/' ),
32
  esc_url( 'https://easydigitaldownloads.com/themes/' )
33
  ) . '</p>'
34
  );
@@ -65,4 +65,4 @@ function edd_discounts_contextual_help() {
65
 
66
  do_action( 'edd_discounts_contextual_help', $screen );
67
  }
68
- add_action( 'load-download_page_edd-discounts', 'edd_discounts_contextual_help' );
28
  __( '<a href="%s">Post an issue</a> on <a href="%s">GitHub</a>. View <a href="%s">extensions</a> or <a href="%s">themes</a>.', 'edd' ),
29
  esc_url( 'https://github.com/easydigitaldownloads/Easy-Digital-Downloads/issues' ),
30
  esc_url( 'https://github.com/easydigitaldownloads/Easy-Digital-Downloads' ),
31
+ esc_url( 'https://easydigitaldownloads.com/downloads/' ),
32
  esc_url( 'https://easydigitaldownloads.com/themes/' )
33
  ) . '</p>'
34
  );
65
 
66
  do_action( 'edd_discounts_contextual_help', $screen );
67
  }
68
+ add_action( 'load-download_page_edd-discounts', 'edd_discounts_contextual_help' );
includes/admin/downloads/contextual-help.php CHANGED
@@ -31,7 +31,7 @@ function edd_downloads_contextual_help() {
31
  __( '<a href="%s">Post an issue</a> on <a href="%s">GitHub</a>. View <a href="%s">extensions</a> or <a href="%s">themes</a>.', 'edd' ),
32
  esc_url( 'https://github.com/easydigitaldownloads/Easy-Digital-Downloads/issues' ),
33
  esc_url( 'https://github.com/easydigitaldownloads/Easy-Digital-Downloads' ),
34
- esc_url( 'https://easydigitaldownloads.com/extensions/' ),
35
  esc_url( 'https://easydigitaldownloads.com/themes/' )
36
  ) . '</p>'
37
  );
@@ -60,7 +60,7 @@ function edd_downloads_contextual_help() {
60
  'id' => 'edd-download-files',
61
  'title' => sprintf( __( '%s Files', 'edd' ), edd_get_label_singular() ),
62
  'content' =>
63
- '<p>' . __( '<strong>Product Type Options</strong> - Choose a default product type or a bundle. Bundled products automatically include access other download&#39;s files when purchased.', 'edd' ) . '</p>' .
64
 
65
  '<p>' . __( '<strong>File Downloads</strong> - Define download file names and their respsective file URL. Multiple files can be assigned to a single price, or variable prices.', 'edd' ) . '</p>'
66
  ) );
@@ -92,10 +92,10 @@ function edd_downloads_contextual_help() {
92
  </ul>' .
93
  '<p>' . sprintf( __( 'For more information, see <a href="%s">using Shortcodes</a> on the WordPress.org Codex or <a href="%s">Easy Digital Downloads Documentation</a>', 'edd' ), 'https://codex.wordpress.org/Shortcode', 'https://easydigitaldownloads.com/docs/display-purchase-buttons-purchase_link/' ) . '</p>'
94
  ) );
95
-
96
  /**
97
  * Fires off in the EDD Downloads Contextual Help Screen
98
- *
99
  * @since 1.2.3
100
  * @param object $screen The current admin screen
101
  */
31
  __( '<a href="%s">Post an issue</a> on <a href="%s">GitHub</a>. View <a href="%s">extensions</a> or <a href="%s">themes</a>.', 'edd' ),
32
  esc_url( 'https://github.com/easydigitaldownloads/Easy-Digital-Downloads/issues' ),
33
  esc_url( 'https://github.com/easydigitaldownloads/Easy-Digital-Downloads' ),
34
+ esc_url( 'https://easydigitaldownloads.com/downloads/' ),
35
  esc_url( 'https://easydigitaldownloads.com/themes/' )
36
  ) . '</p>'
37
  );
60
  'id' => 'edd-download-files',
61
  'title' => sprintf( __( '%s Files', 'edd' ), edd_get_label_singular() ),
62
  'content' =>
63
+ '<p>' . __( '<strong>Product Type Options</strong> - Choose a default product type or a bundle. Bundled products automatically include access other download&#39;s files when purchased.', 'edd' ) . '</p>' .
64
 
65
  '<p>' . __( '<strong>File Downloads</strong> - Define download file names and their respsective file URL. Multiple files can be assigned to a single price, or variable prices.', 'edd' ) . '</p>'
66
  ) );
92
  </ul>' .
93
  '<p>' . sprintf( __( 'For more information, see <a href="%s">using Shortcodes</a> on the WordPress.org Codex or <a href="%s">Easy Digital Downloads Documentation</a>', 'edd' ), 'https://codex.wordpress.org/Shortcode', 'https://easydigitaldownloads.com/docs/display-purchase-buttons-purchase_link/' ) . '</p>'
94
  ) );
95
+
96
  /**
97
  * Fires off in the EDD Downloads Contextual Help Screen
98
+ *
99
  * @since 1.2.3
100
  * @param object $screen The current admin screen
101
  */
includes/admin/payments/actions.php CHANGED
@@ -172,6 +172,8 @@ function edd_update_payment_details( $data ) {
172
  edd_decrease_purchase_count( $deleted_download['id'], $deleted_download['quantity'] );
173
  edd_decrease_earnings( $deleted_download['id'], $deleted_download['amount'] );
174
 
 
 
175
  }
176
 
177
 
172
  edd_decrease_purchase_count( $deleted_download['id'], $deleted_download['quantity'] );
173
  edd_decrease_earnings( $deleted_download['id'], $deleted_download['amount'] );
174
 
175
+ do_action( 'edd_remove_download_from_payment', $payment_id, $deleted_download['id'] );
176
+
177
  }
178
 
179
 
includes/admin/payments/class-payments-table.php CHANGED
@@ -217,14 +217,14 @@ class EDD_Payment_History_Table extends WP_List_Table {
217
  */
218
  public function get_columns() {
219
  $columns = array(
220
- 'cb' => '<input type="checkbox" />', //Render a checkbox instead of text
221
- 'ID' => __( 'ID', 'edd' ),
222
- 'email' => __( 'Email', 'edd' ),
223
- 'details' => __( 'Details', 'edd' ),
224
- 'amount' => __( 'Amount', 'edd' ),
225
- 'date' => __( 'Date', 'edd' ),
226
- 'user' => __( 'User', 'edd' ),
227
- 'status' => __( 'Status', 'edd' )
228
  );
229
 
230
  return apply_filters( 'edd_payments_table_columns', $columns );
@@ -343,25 +343,19 @@ class EDD_Payment_History_Table extends WP_List_Table {
343
  }
344
 
345
  /**
346
- * Render the User Column
347
  *
348
  * @access public
349
- * @since 1.4
350
  * @param array $payment Contains all the data of the payment
351
  * @return string Data shown in the User column
352
  */
353
- public function column_user( $payment ) {
354
-
355
- $user_id = edd_get_payment_user_id( $payment->ID );
356
 
357
- if ( $user_id && $user_id > 0 ) {
358
- $user = get_userdata( $user_id ) ;
359
- $display_name = is_object( $user ) ? $user->display_name : __( 'guest', 'edd' );
360
- } else {
361
- $display_name = __( 'guest', 'edd' );
362
- }
363
 
364
- $value = '<a href="' . esc_url( add_query_arg( array( 'user' => urlencode( $payment->user_info['email'] ), 'paged' => false ) ) ) . '">' . $display_name . '</a>';
365
  return apply_filters( 'edd_payments_table_column', $value, $payment->ID, 'user' );
366
  }
367
 
217
  */
218
  public function get_columns() {
219
  $columns = array(
220
+ 'cb' => '<input type="checkbox" />', //Render a checkbox instead of text
221
+ 'ID' => __( 'ID', 'edd' ),
222
+ 'email' => __( 'Email', 'edd' ),
223
+ 'details' => __( 'Details', 'edd' ),
224
+ 'amount' => __( 'Amount', 'edd' ),
225
+ 'date' => __( 'Date', 'edd' ),
226
+ 'customer' => __( 'Customer', 'edd' ),
227
+ 'status' => __( 'Status', 'edd' )
228
  );
229
 
230
  return apply_filters( 'edd_payments_table_columns', $columns );
343
  }
344
 
345
  /**
346
+ * Render the Customer Column
347
  *
348
  * @access public
349
+ * @since 2.4.3
350
  * @param array $payment Contains all the data of the payment
351
  * @return string Data shown in the User column
352
  */
353
+ public function column_customer( $payment ) {
 
 
354
 
355
+ $customer_id = edd_get_payment_customer_id( $payment->ID );
356
+ $customer = new EDD_Customer( $customer_id );
 
 
 
 
357
 
358
+ $value = '<a href="' . esc_url( add_query_arg( array( 'user' => urlencode( $customer->email ), 'paged' => false ) ) ) . '">' . $customer->name . '</a>';
359
  return apply_filters( 'edd_payments_table_column', $value, $payment->ID, 'user' );
360
  }
361
 
includes/admin/payments/contextual-help.php CHANGED
@@ -32,7 +32,7 @@ function edd_payments_contextual_help() {
32
  __( '<a href="%s">Post an issue</a> on <a href="%s">GitHub</a>. View <a href="%s">extensions</a> or <a href="%s">themes</a>.', 'edd' ),
33
  esc_url( 'https://github.com/easydigitaldownloads/Easy-Digital-Downloads/issues' ),
34
  esc_url( 'https://github.com/easydigitaldownloads/Easy-Digital-Downloads' ),
35
- esc_url( 'https://easydigitaldownloads.com/extensions/' ),
36
  esc_url( 'https://easydigitaldownloads.com/themes/' )
37
  ) . '</p>'
38
  );
@@ -41,7 +41,7 @@ function edd_payments_contextual_help() {
41
  'id' => 'edd-payments-overview',
42
  'title' => __( 'Overview', 'edd' ),
43
  'content' =>
44
- '<p>' . __( "This screen provides access to all of your store's transactions.", 'edd' ) . '</p>' .
45
  '<p>' . __( 'Payments can be searched by email address, user name, or filtered by status (completed, pending, etc.)', 'edd' ) . '</p>' .
46
  '<p>' . __( 'You also have the option to bulk delete payment should you wish.', 'edd' ) . '</p>'
47
  ) );
@@ -65,7 +65,7 @@ function edd_payments_contextual_help() {
65
  'id' => 'edd-payments-details',
66
  'title' => __( 'Payment Details', 'edd' ),
67
  'content' =>
68
- '<p>' . __( 'Each payment can be further inspected by clicking the corresponding <em>View Order Details</em> link. This will provide more information including:', 'edd' ) . '</p>' .
69
 
70
  '<ul>
71
  <li><strong>Purchased File</strong> - ' . __( 'The file associated with the purchase.', 'edd' ) . '</li>
32
  __( '<a href="%s">Post an issue</a> on <a href="%s">GitHub</a>. View <a href="%s">extensions</a> or <a href="%s">themes</a>.', 'edd' ),
33
  esc_url( 'https://github.com/easydigitaldownloads/Easy-Digital-Downloads/issues' ),
34
  esc_url( 'https://github.com/easydigitaldownloads/Easy-Digital-Downloads' ),
35
+ esc_url( 'https://easydigitaldownloads.com/downloads/' ),
36
  esc_url( 'https://easydigitaldownloads.com/themes/' )
37
  ) . '</p>'
38
  );
41
  'id' => 'edd-payments-overview',
42
  'title' => __( 'Overview', 'edd' ),
43
  'content' =>
44
+ '<p>' . __( "This screen provides access to all of your store's transactions.", 'edd' ) . '</p>' .
45
  '<p>' . __( 'Payments can be searched by email address, user name, or filtered by status (completed, pending, etc.)', 'edd' ) . '</p>' .
46
  '<p>' . __( 'You also have the option to bulk delete payment should you wish.', 'edd' ) . '</p>'
47
  ) );
65
  'id' => 'edd-payments-details',
66
  'title' => __( 'Payment Details', 'edd' ),
67
  'content' =>
68
+ '<p>' . __( 'Each payment can be further inspected by clicking the corresponding <em>View Order Details</em> link. This will provide more information including:', 'edd' ) . '</p>' .
69
 
70
  '<ul>
71
  <li><strong>Purchased File</strong> - ' . __( 'The file associated with the purchase.', 'edd' ) . '</li>
includes/admin/payments/payments-history.php CHANGED
@@ -41,7 +41,7 @@ function edd_payment_history_page() {
41
  <?php $payments_table->views() ?>
42
 
43
  <?php $payments_table->advanced_filters(); ?>
44
-
45
  <?php $payments_table->display() ?>
46
  </form>
47
  <?php do_action( 'edd_payments_page_bottom' ); ?>
@@ -56,15 +56,15 @@ function edd_payment_history_page() {
56
  * @since 1.8.4
57
  * @return void
58
  */
59
- function edd_payment_history_mobile_link() {
60
  ?>
61
  <p class="edd-mobile-link">
62
- <a href="https://easydigitaldownloads.com/extensions/ios-sales-earnings-tracker/" target="_blank">
63
  <img src="<?php echo EDD_PLUGIN_URL . 'assets/images/icons/iphone.png'; ?>"/>
64
  <?php _e( 'Get the EDD Sales / Earnings tracker for iOS', 'edd' ); ?>
65
  </a>
66
  </p>
67
- <?php
68
  }
69
  add_action( 'edd_payments_page_bottom', 'edd_payment_history_mobile_link' );
70
 
41
  <?php $payments_table->views() ?>
42
 
43
  <?php $payments_table->advanced_filters(); ?>
44
+
45
  <?php $payments_table->display() ?>
46
  </form>
47
  <?php do_action( 'edd_payments_page_bottom' ); ?>
56
  * @since 1.8.4
57
  * @return void
58
  */
59
+ function edd_payment_history_mobile_link() {
60
  ?>
61
  <p class="edd-mobile-link">
62
+ <a href="https://easydigitaldownloads.com/downloads/ios-sales-earnings-tracker/?utm_source=payments&utm_medium=mobile-link&utm_campaign=admin" target="_blank">
63
  <img src="<?php echo EDD_PLUGIN_URL . 'assets/images/icons/iphone.png'; ?>"/>
64
  <?php _e( 'Get the EDD Sales / Earnings tracker for iOS', 'edd' ); ?>
65
  </a>
66
  </p>
67
+ <?php
68
  }
69
  add_action( 'edd_payments_page_bottom', 'edd_payment_history_mobile_link' );
70
 
includes/admin/plugins.php CHANGED
@@ -47,11 +47,10 @@ function edd_plugin_row_meta( $input, $file ) {
47
  return $input;
48
 
49
  $edd_link = esc_url( add_query_arg( array(
50
- 'utm_source' => 'admin-plugins-page',
51
- 'utm_medium' => 'plugin',
52
- 'utm_campaign' => 'EDDPluginsPage',
53
- 'utm_content' => 'plugin-page-link'
54
- ), 'https://easydigitaldownloads.com/extensions/' )
55
  );
56
 
57
  $links = array(
47
  return $input;
48
 
49
  $edd_link = esc_url( add_query_arg( array(
50
+ 'utm_source' => 'plugins-page',
51
+ 'utm_medium' => 'plugin-row',
52
+ 'utm_campaign' => 'admin',
53
+ ), 'https://easydigitaldownloads.com/downloads/' )
 
54
  );
55
 
56
  $links = array(
includes/admin/reporting/class-sales-logs-list-table.php CHANGED
@@ -68,8 +68,9 @@ class EDD_Sales_Log_Table extends WP_List_Table {
68
  return '<a href="' . add_query_arg( 'download', $item[ $column_name ] ) . '" >' . get_the_title( $item[ $column_name ] ) . '</a>';
69
 
70
  case 'user_id' :
 
71
  return '<a href="' .
72
- admin_url( 'edit.php?post_type=download&page=edd-payment-history&user=' . urlencode( $item['user_id'] ) ) .
73
  '">' . $item['user_name'] . '</a>';
74
 
75
  case 'amount' :
68
  return '<a href="' . add_query_arg( 'download', $item[ $column_name ] ) . '" >' . get_the_title( $item[ $column_name ] ) . '</a>';
69
 
70
  case 'user_id' :
71
+ $user = ! empty( $item['user_id'] ) ? $item['user_id'] : edd_get_payment_user_email( $item['payment_id'] );
72
  return '<a href="' .
73
+ admin_url( 'edit.php?post_type=download&page=edd-payment-history&user=' . urlencode( $user ) ) .
74
  '">' . $item['user_name'] . '</a>';
75
 
76
  case 'amount' :
includes/admin/reporting/contextual-help.php CHANGED
@@ -32,7 +32,7 @@ function edd_reporting_contextual_help() {
32
  __( '<a href="%s">Post an issue</a> on <a href="%s">GitHub</a>. View <a href="%s">extensions</a> or <a href="%s">themes</a>.', 'edd' ),
33
  esc_url( 'https://github.com/easydigitaldownloads/Easy-Digital-Downloads/issues' ),
34
  esc_url( 'https://github.com/easydigitaldownloads/Easy-Digital-Downloads' ),
35
- esc_url( 'https://easydigitaldownloads.com/extensions/' ),
36
  esc_url( 'https://easydigitaldownloads.com/themes/' )
37
  ) . '</p>'
38
  );
@@ -47,7 +47,7 @@ function edd_reporting_contextual_help() {
47
  'id' => 'edd-reports-export',
48
  'title' => __( 'Export', 'edd' ),
49
  'content' =>
50
- '<p>' . __( 'This screen allows you to export your reports into a PDF or CSV format.', 'edd' ) . '</p>' .
51
  '<p>' . __( '<strong>Sales and Earnings</strong> - This report exports all of the sales and earnings that you have made in the current year. This report includes your sales and earnings for each product as well a graphs of sales and earnings so you can compare them for each month.', 'edd' ) . '</p>' .
52
  '<p>' . __( '<strong>Payment History</strong> - This report exports all of payments you have received on your EDD store in a CSV format. The report includes the contact details of the customer, the products they have purchased as well as any discount codes they have used and the final price they have paid.', 'edd' ) . '</p>' .
53
  '<p>' . __( "<strong>Customers</strong> - This report exports all of your customers in a CSV format. It exports the customer's name and email address and the amount of products they have purchased as well as the final price of their total purchases.", 'edd' ) . '</p>' .
@@ -70,4 +70,4 @@ function edd_reporting_contextual_help() {
70
 
71
  do_action( 'edd_reports_contextual_help', $screen );
72
  }
73
- add_action( 'load-download_page_edd-reports', 'edd_reporting_contextual_help' );
32
  __( '<a href="%s">Post an issue</a> on <a href="%s">GitHub</a>. View <a href="%s">extensions</a> or <a href="%s">themes</a>.', 'edd' ),
33
  esc_url( 'https://github.com/easydigitaldownloads/Easy-Digital-Downloads/issues' ),
34
  esc_url( 'https://github.com/easydigitaldownloads/Easy-Digital-Downloads' ),
35
+ esc_url( 'https://easydigitaldownloads.com/downloads/' ),
36
  esc_url( 'https://easydigitaldownloads.com/themes/' )
37
  ) . '</p>'
38
  );
47
  'id' => 'edd-reports-export',
48
  'title' => __( 'Export', 'edd' ),
49
  'content' =>
50
+ '<p>' . __( 'This screen allows you to export your reports into a PDF or CSV format.', 'edd' ) . '</p>' .
51
  '<p>' . __( '<strong>Sales and Earnings</strong> - This report exports all of the sales and earnings that you have made in the current year. This report includes your sales and earnings for each product as well a graphs of sales and earnings so you can compare them for each month.', 'edd' ) . '</p>' .
52
  '<p>' . __( '<strong>Payment History</strong> - This report exports all of payments you have received on your EDD store in a CSV format. The report includes the contact details of the customer, the products they have purchased as well as any discount codes they have used and the final price they have paid.', 'edd' ) . '</p>' .
53
  '<p>' . __( "<strong>Customers</strong> - This report exports all of your customers in a CSV format. It exports the customer's name and email address and the amount of products they have purchased as well as the final price of their total purchases.", 'edd' ) . '</p>' .
70
 
71
  do_action( 'edd_reports_contextual_help', $screen );
72
  }
73
+ add_action( 'load-download_page_edd-reports', 'edd_reporting_contextual_help' );
includes/admin/reporting/pdf-reports.php CHANGED
@@ -45,7 +45,7 @@ function edd_generate_pdf( $data ) {
45
  $pdf->SetAuthor( utf8_decode( __( 'Easy Digital Downloads', 'edd' ) ) );
46
  $pdf->SetCreator( utf8_decode( __( 'Easy Digital Downloads', 'edd' ) ) );
47
 
48
- $pdf->Image( EDD_PLUGIN_URL . 'assets/images/edd-logo.png', 205, 10 );
49
 
50
  $pdf->SetMargins( 8, 8, 8 );
51
  $pdf->SetX( 8 );
45
  $pdf->SetAuthor( utf8_decode( __( 'Easy Digital Downloads', 'edd' ) ) );
46
  $pdf->SetCreator( utf8_decode( __( 'Easy Digital Downloads', 'edd' ) ) );
47
 
48
+ $pdf->Image( EDD_PLUGIN_URL . 'assets/images/edd-logo-pdf.png', 205, 10 );
49
 
50
  $pdf->SetMargins( 8, 8, 8 );
51
  $pdf->SetX( 8 );
includes/admin/settings/contextual-help.php CHANGED
@@ -32,7 +32,7 @@ function edd_settings_contextual_help() {
32
  __( '<a href="%s">Post an issue</a> on <a href="%s">GitHub</a>. View <a href="%s">extensions</a> or <a href="%s">themes</a>.', 'edd' ),
33
  esc_url( 'https://github.com/easydigitaldownloads/Easy-Digital-Downloads/issues' ),
34
  esc_url( 'https://github.com/easydigitaldownloads/Easy-Digital-Downloads' ),
35
- esc_url( 'https://easydigitaldownloads.com/extensions/' ),
36
  esc_url( 'https://easydigitaldownloads.com/themes/' )
37
  ) . '</p>'
38
  );
@@ -47,7 +47,7 @@ function edd_settings_contextual_help() {
47
  'id' => 'edd-settings-payment-gateways',
48
  'title' => __( 'Payment Gateways', 'edd' ),
49
  'content' =>
50
- '<p>' . __( 'This screen provides ways to toggle payment gateways on or off, as well as configure gateway-specific settings. Any extra payment gateway extensions you have installed will appear on this page, and can be configured to suit your needs.', 'edd' ) . '</p>' .
51
  '<p>' . __( '<strong>Test Payment</strong> - This included gateway is great for testing your store, as it requires no payment, and leads straight to product downloads. However, please remember to turn it off once your site is live!', 'edd' ) . '</p>' .
52
  '<p>' . __( '<strong>PayPal</strong> - A PayPal payment gateway is included as standard with Easy Digital Downloads. To test the PayPal gateway, you need a Sandbox account for PayPal and the site must be placed in Test Mode from the General settings tab. Please remember to enter your PayPal account email address in order for payments to get processed.', 'edd' ) . '</p>'
53
  ) );
@@ -63,13 +63,13 @@ function edd_settings_contextual_help() {
63
  $screen->add_help_tab( array(
64
  'id' => 'edd-settings-styles',
65
  'title' => __( 'Styles', 'edd' ),
66
- 'content' => '<p>' . __( "This screen allows customization of your store's styles. For complete control, you can completely disable all styles generated by the plugin.", 'edd' ) . '</p>'
67
  ) );
68
 
69
  $screen->add_help_tab( array(
70
  'id' => 'edd-settings-taxes',
71
  'title' => __( 'Taxes', 'edd' ),
72
- 'content' =>
73
  '<p>' . __( 'This screen allows youto configure the tax rules for your store.', 'edd' ) . '</p>' .
74
  '<p>' . __( 'If you do not wish to charge any tax on purchase, simply leave the Enable Taxes option unchecked.', 'edd' ) . '</p>' .
75
  '<p>' . __( '<strong>Default Tax Rate</strong>: The default tax rate is the tax rate charged to customers located in your base country / state or province.', 'edd' ) . '</p>' .
32
  __( '<a href="%s">Post an issue</a> on <a href="%s">GitHub</a>. View <a href="%s">extensions</a> or <a href="%s">themes</a>.', 'edd' ),
33
  esc_url( 'https://github.com/easydigitaldownloads/Easy-Digital-Downloads/issues' ),
34
  esc_url( 'https://github.com/easydigitaldownloads/Easy-Digital-Downloads' ),
35
+ esc_url( 'https://easydigitaldownloads.com/downloads/' ),
36
  esc_url( 'https://easydigitaldownloads.com/themes/' )
37
  ) . '</p>'
38
  );
47
  'id' => 'edd-settings-payment-gateways',
48
  'title' => __( 'Payment Gateways', 'edd' ),
49
  'content' =>
50
+ '<p>' . __( 'This screen provides ways to toggle payment gateways on or off, as well as configure gateway-specific settings. Any extra payment gateway extensions you have installed will appear on this page, and can be configured to suit your needs.', 'edd' ) . '</p>' .
51
  '<p>' . __( '<strong>Test Payment</strong> - This included gateway is great for testing your store, as it requires no payment, and leads straight to product downloads. However, please remember to turn it off once your site is live!', 'edd' ) . '</p>' .
52
  '<p>' . __( '<strong>PayPal</strong> - A PayPal payment gateway is included as standard with Easy Digital Downloads. To test the PayPal gateway, you need a Sandbox account for PayPal and the site must be placed in Test Mode from the General settings tab. Please remember to enter your PayPal account email address in order for payments to get processed.', 'edd' ) . '</p>'
53
  ) );
63
  $screen->add_help_tab( array(
64
  'id' => 'edd-settings-styles',
65
  'title' => __( 'Styles', 'edd' ),
66
+ 'content' => '<p>' . __( "This screen allows customization of your store's styles. For complete control, you can completely disable all styles generated by the plugin.", 'edd' ) . '</p>'
67
  ) );
68
 
69
  $screen->add_help_tab( array(
70
  'id' => 'edd-settings-taxes',
71
  'title' => __( 'Taxes', 'edd' ),
72
+ 'content' =>
73
  '<p>' . __( 'This screen allows youto configure the tax rules for your store.', 'edd' ) . '</p>' .
74
  '<p>' . __( 'If you do not wish to charge any tax on purchase, simply leave the Enable Taxes option unchecked.', 'edd' ) . '</p>' .
75
  '<p>' . __( '<strong>Default Tax Rate</strong>: The default tax rate is the tax rate charged to customers located in your base country / state or province.', 'edd' ) . '</p>' .
includes/admin/settings/register-settings.php CHANGED
@@ -332,7 +332,7 @@ function edd_get_registered_settings() {
332
  'id' => 'allow_tracking',
333
  'name' => __( 'Allow Usage Tracking?', 'edd' ),
334
  'desc' => sprintf(
335
- __( 'Allow Easy Digital Downloads to anonymously track how this plugin is used and help us make the plugin better. Opt-in to tracking and our newsletter and immediately be emailed a 20%% discount to the EDD shop, valid twoards the <a href="%s" target="_blank">purchase of extensions</a>. No sensitive data is tracked.', 'edd' ),
336
  'https://easydigitaldownloads.com/extensions?utm_source=' . substr( md5( get_bloginfo( 'name' ) ), 0, 10 ) . '&utm_medium=admin&utm_term=settings&utm_campaign=EDDUsageTracking'
337
  ),
338
  'type' => 'checkbox'
332
  'id' => 'allow_tracking',
333
  'name' => __( 'Allow Usage Tracking?', 'edd' ),
334
  'desc' => sprintf(
335
+ __( 'Allow Easy Digital Downloads to anonymously track how this plugin is used and help us make the plugin better. Opt-in to tracking and our newsletter and immediately be emailed a 20%% discount to the EDD shop, valid towards the <a href="%s" target="_blank">purchase of extensions</a>. No sensitive data is tracked.', 'edd' ),
336
  'https://easydigitaldownloads.com/extensions?utm_source=' . substr( md5( get_bloginfo( 'name' ) ), 0, 10 ) . '&utm_medium=admin&utm_term=settings&utm_campaign=EDDUsageTracking'
337
  ),
338
  'type' => 'checkbox'
includes/admin/tools.php CHANGED
@@ -166,9 +166,9 @@ function edd_tools_api_keys_display() {
166
  ?>
167
  <p>
168
  <?php printf(
169
- __( 'These API keys allow you to use the <a href="%s">EDD REST API</a> to retrieve store data in JSON or XML for external applications or devices, such as the <a href="%s">EDD mobile apps</a>.', 'edd' ),
170
- 'https://easydigitaldownloads.com/docs/edd-api-reference/',
171
- 'https://easydigitaldownloads.com/blog/extensions/categories/mobile/'
172
  ); ?>
173
  </p>
174
  <?php
166
  ?>
167
  <p>
168
  <?php printf(
169
+ __( 'These API keys allow you to use the <a href="%s">EDD REST API</a> to retrieve store data in JSON or XML for external applications or devices, such as the <a href="%s">EDD mobile app</a>.', 'edd' ),
170
+ 'http://docs.easydigitaldownloads.com/article/544-edd-api-reference/',
171
+ 'https://easydigitaldownloads.com/downloads/ios-sales-earnings-tracker/'
172
  ); ?>
173
  </p>
174
  <?php
includes/admin/tracking.php CHANGED
@@ -248,7 +248,7 @@ class EDD_Tracking {
248
  $source = substr( md5( get_bloginfo( 'name' ) ), 0, 10 );
249
  $extensions_url = 'https://easydigitaldownloads.com/extensions?utm_source=' . $source . '&utm_medium=admin&utm_term=notice&utm_campaign=EDDUsageTracking';
250
  echo '<div class="updated"><p>';
251
- echo sprintf( __( 'Allow Easy Digital Downloads to track plugin usage? Opt-in to tracking and our newsletter and immediately be emailed a 20%% discount to the EDD shop, valid twoards the <a href="%s" target="_blank">purchase of extensions</a>. No sensitive data is tracked.', 'edd' ), $extensions_url );
252
  echo '&nbsp;<a href="' . esc_url( $optin_url ) . '" class="button-secondary">' . __( 'Allow', 'edd' ) . '</a>';
253
  echo '&nbsp;<a href="' . esc_url( $optout_url ) . '" class="button-secondary">' . __( 'Do not allow', 'edd' ) . '</a>';
254
  echo '</p></div>';
248
  $source = substr( md5( get_bloginfo( 'name' ) ), 0, 10 );
249
  $extensions_url = 'https://easydigitaldownloads.com/extensions?utm_source=' . $source . '&utm_medium=admin&utm_term=notice&utm_campaign=EDDUsageTracking';
250
  echo '<div class="updated"><p>';
251
+ echo sprintf( __( 'Allow Easy Digital Downloads to track plugin usage? Opt-in to tracking and our newsletter and immediately be emailed a 20%% discount to the EDD shop, valid towards the <a href="%s" target="_blank">purchase of extensions</a>. No sensitive data is tracked.', 'edd' ), $extensions_url );
252
  echo '&nbsp;<a href="' . esc_url( $optin_url ) . '" class="button-secondary">' . __( 'Allow', 'edd' ) . '</a>';
253
  echo '&nbsp;<a href="' . esc_url( $optout_url ) . '" class="button-secondary">' . __( 'Do not allow', 'edd' ) . '</a>';
254
  echo '</p></div>';
includes/admin/upgrades/upgrade-functions.php CHANGED
@@ -131,6 +131,13 @@ function edd_show_upgrade_notices() {
131
  );
132
  }
133
 
 
 
 
 
 
 
 
134
  /*
135
  * NOTICE:
136
  *
@@ -1039,3 +1046,71 @@ function edd_upgrade_user_api_keys() {
1039
  }
1040
  }
1041
  add_action( 'edd_upgrade_user_api_keys', 'edd_upgrade_user_api_keys' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
131
  );
132
  }
133
 
134
+ if ( version_compare( $edd_version, '2.4.3', '<' ) || ! edd_has_upgrade_completed( 'remove_refunded_sale_logs' ) ) {
135
+ printf(
136
+ '<div class="updated"><p>' . __( 'Easy Digital Downloads needs to upgrade the payments database, click <a href="%s">here</a> to start the upgrade.', 'edd' ) . '</p></div>',
137
+ esc_url( admin_url( 'index.php?page=edd-upgrades&edd-upgrade=remove_refunded_sale_logs' ) )
138
+ );
139
+ }
140
+
141
  /*
142
  * NOTICE:
143
  *
1046
  }
1047
  }
1048
  add_action( 'edd_upgrade_user_api_keys', 'edd_upgrade_user_api_keys' );
1049
+
1050
+ /**
1051
+ * Remove sale logs from refunded orders
1052
+ *
1053
+ * @since 2.4.3
1054
+ * @return void
1055
+ */
1056
+ function edd_remove_refunded_sale_logs() {
1057
+ global $wpdb, $edd_logs;
1058
+
1059
+ if( ! current_user_can( 'manage_shop_settings' ) ) {
1060
+ wp_die( __( 'You do not have permission to do shop upgrades', 'edd' ), __( 'Error', 'edd' ), array( 'response' => 403 ) );
1061
+ }
1062
+
1063
+ ignore_user_abort( true );
1064
+
1065
+ if ( ! edd_is_func_disabled( 'set_time_limit' ) && ! ini_get( 'safe_mode' ) ) {
1066
+ @set_time_limit(0);
1067
+ }
1068
+
1069
+ $step = isset( $_GET['step'] ) ? absint( $_GET['step'] ) : 1;
1070
+ $total = isset( $_GET['total'] ) ? absint( $_GET['total'] ) : edd_count_payments()->refunded;
1071
+ $refunds = edd_get_payments( array( 'status' => 'refunded', 'number' => 20, 'page' => $step ) );
1072
+
1073
+ if( ! empty( $refunds ) ) {
1074
+
1075
+ // Refunded Payments found so process them
1076
+
1077
+ foreach( $refunds as $refund ) {
1078
+
1079
+ if( 'refunded' !== $refund->post_status ) {
1080
+ continue; // Just to be safe
1081
+ }
1082
+
1083
+ // Remove related sale log entries
1084
+ $edd_logs->delete_logs(
1085
+ null,
1086
+ 'sale',
1087
+ array(
1088
+ array(
1089
+ 'key' => '_edd_log_payment_id',
1090
+ 'value' => $refund->ID
1091
+ )
1092
+ )
1093
+ );
1094
+ }
1095
+
1096
+ $step++;
1097
+ $redirect = add_query_arg( array(
1098
+ 'page' => 'edd-upgrades',
1099
+ 'edd-upgrade' => 'remove_refunded_sale_logs',
1100
+ 'step' => $step,
1101
+ 'total' => $total
1102
+ ), admin_url( 'index.php' ) );
1103
+ wp_redirect( $redirect ); exit;
1104
+
1105
+ } else {
1106
+
1107
+ // No more refunded payments found, finish up
1108
+
1109
+ update_option( 'edd_version', preg_replace( '/[^0-9.].*/', '', EDD_VERSION ) );
1110
+ edd_set_upgrade_complete( 'remove_refunded_sale_logs' );
1111
+ delete_option( 'edd_doing_upgrade' );
1112
+
1113
+ wp_redirect( admin_url() ); exit;
1114
+ }
1115
+ }
1116
+ add_action( 'edd_remove_refunded_sale_logs', 'edd_remove_refunded_sale_logs' );
includes/admin/welcome.php CHANGED
@@ -95,29 +95,16 @@ class EDD_Welcome {
95
  remove_submenu_page( 'index.php', 'edd-changelog' );
96
  remove_submenu_page( 'index.php', 'edd-getting-started' );
97
  remove_submenu_page( 'index.php', 'edd-credits' );
98
-
99
- // Badge for welcome page
100
- $badge_url = EDD_PLUGIN_URL . 'assets/images/edd-badge.png';
101
  ?>
102
  <style type="text/css" media="screen">
103
  /*<![CDATA[*/
104
- .edd-badge {
105
- padding-top: 150px;
106
- height: 52px;
107
- width: 185px;
108
- color: #666;
109
- font-weight: bold;
110
- font-size: 14px;
111
- text-align: center;
112
- text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
113
- margin: 0 -5px;
114
- background: url('<?php echo $badge_url; ?>') no-repeat;
115
- }
116
 
117
  .about-wrap .edd-badge {
118
  position: absolute;
119
  top: 0;
120
  right: 0;
 
121
  }
122
 
123
  .edd-welcome-screenshots {
@@ -171,7 +158,7 @@ class EDD_Welcome {
171
  <div class="wrap about-wrap">
172
  <h1><?php printf( __( 'Welcome to Easy Digital Downloads %s', 'edd' ), $display_version ); ?></h1>
173
  <div class="about-text"><?php printf( __( 'Thank you for updating to the latest version! Easy Digital Downloads %s is ready to make your online store faster, safer, and better!', 'edd' ), $display_version ); ?></div>
174
- <div class="edd-badge"><?php printf( __( 'Version %s', 'edd' ), $display_version ); ?></div>
175
 
176
  <?php $this->tabs(); ?>
177
 
@@ -258,7 +245,7 @@ class EDD_Welcome {
258
 
259
  <h4><?php _e( 'Exclude Taxes from Reports', 'edd' );?></h4>
260
  <p><?php _e( 'Earnings and sales reports can now be shown exclusive of tax, allowing you to easily see how your store is performing after taxes.', 'edd' );?></p>
261
-
262
  <h4><?php _e( 'Default Gateway First', 'edd' );?></h4>
263
  <p><?php _e( 'The gateway selected as the default option will always be displayed first on checkout.' ,'edd' );?></p>
264
 
@@ -288,7 +275,7 @@ class EDD_Welcome {
288
  <div class="wrap about-wrap">
289
  <h1><?php _e( 'Easy Digital Downloads Changelog', 'edd' ); ?></h1>
290
  <div class="about-text"><?php printf( __( 'Thank you for updating to the latest version! Easy Digital Downloads %s is ready to make your online store faster, safer, and better!', 'edd' ), $display_version ); ?></div>
291
- <div class="edd-badge"><?php printf( __( 'Version %s', 'edd' ), $display_version ); ?></div>
292
 
293
  <?php $this->tabs(); ?>
294
 
@@ -320,7 +307,7 @@ class EDD_Welcome {
320
  <div class="wrap about-wrap">
321
  <h1><?php printf( __( 'Welcome to Easy Digital Downloads %s', 'edd' ), $display_version ); ?></h1>
322
  <div class="about-text"><?php printf( __( 'Thank you for updating to the latest version! Easy Digital Downloads %s is ready to make your online store faster, safer and better!', 'edd' ), $display_version ); ?></div>
323
- <div class="edd-badge"><?php printf( __( 'Version %s', 'edd' ), $display_version ); ?></div>
324
 
325
  <?php $this->tabs(); ?>
326
 
@@ -360,7 +347,7 @@ class EDD_Welcome {
360
  <p><pre>[downloads columns="4"]</pre></p>
361
 
362
  <h4><?php _e( 'Additional Display Options', 'edd' ); ?></h4>
363
- <p><?php printf( __( 'The product grids can be customized in any way you wish and there is <a href="%s">extensive documentation</a> to assist you.', 'edd' ), 'http://easydigitaldownloads.com/documentation' ); ?></p>
364
  </div>
365
  </div>
366
 
@@ -386,10 +373,10 @@ class EDD_Welcome {
386
  <div class="feature-section">
387
 
388
  <h4><?php _e( 'Phenomenal Support','edd' );?></h4>
389
- <p><?php _e( 'We do our best to provide the best support we can. If you encounter a problem or have a question, post a question in the <a href="https://easydigitaldownloads.com/support">support forums</a>.', 'edd' );?></p>
390
 
391
  <h4><?php _e( 'Need Even Faster Support?', 'edd' );?></h4>
392
- <p><?php _e( 'Our <a href="https://easydigitaldownloads.com/support/pricing/">Priority Support forums</a> are there for customers that need faster and/or more in-depth assistance.', 'edd' );?></p>
393
 
394
  </div>
395
  </div>
@@ -400,10 +387,10 @@ class EDD_Welcome {
400
  <div class="feature-section">
401
 
402
  <h4><?php _e( 'Get Notified of Extension Releases','edd' );?></h4>
403
- <p><?php _e( 'New extensions that make Easy Digital Downloads even more powerful are released nearly every single week. Subscribe to the newsletter to stay up to date with our latest releases. <a href="http://eepurl.com/kaerz" target="_blank">Signup now</a> to ensure you do not miss a release!', 'edd' );?></p>
404
 
405
  <h4><?php _e( 'Get Alerted About New Tutorials', 'edd' );?></h4>
406
- <p><?php _e( '<a href="http://eepurl.com/kaerz" target="_blank">Signup now</a> to hear about the latest tutorial releases that explain how to take Easy Digital Downloads further.', 'edd' );?></p>
407
 
408
  </div>
409
  </div>
@@ -417,7 +404,7 @@ class EDD_Welcome {
417
  <p><?php _e( 'Add-on plugins are available that greatly extend the default functionality of Easy Digital Downloads. There are extensions for payment processors, such as Stripe and PayPal, extensions for newsletter integrations, and many, many more.', 'edd' );?></p>
418
 
419
  <h4><?php _e( 'Visit the Extension Store', 'edd' );?></h4>
420
- <p><?php _e( '<a href="https://easydigitaldownloads.com/extensions" target="_blank">The Extensions store</a> has a list of all available extensions, including convenient category filters so you can find exactly what you are looking for.', 'edd' );?></p>
421
 
422
  </div>
423
  </div>
@@ -439,7 +426,7 @@ class EDD_Welcome {
439
  <div class="wrap about-wrap">
440
  <h1><?php printf( __( 'Welcome to Easy Digital Downloads %s', 'edd' ), $display_version ); ?></h1>
441
  <div class="about-text"><?php printf( __( 'Thank you for updating to the latest version! Easy Digital Downloads %s is ready to make your online store faster, safer and better!', 'edd' ), $display_version ); ?></div>
442
- <div class="edd-badge"><?php printf( __( 'Version %s', 'edd' ), $display_version ); ?></div>
443
 
444
  <?php $this->tabs(); ?>
445
 
95
  remove_submenu_page( 'index.php', 'edd-changelog' );
96
  remove_submenu_page( 'index.php', 'edd-getting-started' );
97
  remove_submenu_page( 'index.php', 'edd-credits' );
98
+
 
 
99
  ?>
100
  <style type="text/css" media="screen">
101
  /*<![CDATA[*/
 
 
 
 
 
 
 
 
 
 
 
 
102
 
103
  .about-wrap .edd-badge {
104
  position: absolute;
105
  top: 0;
106
  right: 0;
107
+ width: 100px;
108
  }
109
 
110
  .edd-welcome-screenshots {
158
  <div class="wrap about-wrap">
159
  <h1><?php printf( __( 'Welcome to Easy Digital Downloads %s', 'edd' ), $display_version ); ?></h1>
160
  <div class="about-text"><?php printf( __( 'Thank you for updating to the latest version! Easy Digital Downloads %s is ready to make your online store faster, safer, and better!', 'edd' ), $display_version ); ?></div>
161
+ <div class="edd-badge"><img src="<?php echo EDD_PLUGIN_URL . 'assets/images/edd-logo.svg'; ?>" alt="<?php _e( 'Easy Digital Downloads', 'edd' ); ?>" / ></div>
162
 
163
  <?php $this->tabs(); ?>
164
 
245
 
246
  <h4><?php _e( 'Exclude Taxes from Reports', 'edd' );?></h4>
247
  <p><?php _e( 'Earnings and sales reports can now be shown exclusive of tax, allowing you to easily see how your store is performing after taxes.', 'edd' );?></p>
248
+
249
  <h4><?php _e( 'Default Gateway First', 'edd' );?></h4>
250
  <p><?php _e( 'The gateway selected as the default option will always be displayed first on checkout.' ,'edd' );?></p>
251
 
275
  <div class="wrap about-wrap">
276
  <h1><?php _e( 'Easy Digital Downloads Changelog', 'edd' ); ?></h1>
277
  <div class="about-text"><?php printf( __( 'Thank you for updating to the latest version! Easy Digital Downloads %s is ready to make your online store faster, safer, and better!', 'edd' ), $display_version ); ?></div>
278
+ <div class="edd-badge"><img src="<?php echo EDD_PLUGIN_URL . 'assets/images/edd-logo.svg'; ?>" alt="<?php _e( 'Easy Digital Downloads', 'edd' ); ?>" / ></div>
279
 
280
  <?php $this->tabs(); ?>
281
 
307
  <div class="wrap about-wrap">
308
  <h1><?php printf( __( 'Welcome to Easy Digital Downloads %s', 'edd' ), $display_version ); ?></h1>
309
  <div class="about-text"><?php printf( __( 'Thank you for updating to the latest version! Easy Digital Downloads %s is ready to make your online store faster, safer and better!', 'edd' ), $display_version ); ?></div>
310
+ <div class="edd-badge"><img src="<?php echo EDD_PLUGIN_URL . 'assets/images/edd-logo.svg'; ?>" alt="<?php _e( 'Easy Digital Downloads', 'edd' ); ?>" / ></div>
311
 
312
  <?php $this->tabs(); ?>
313
 
347
  <p><pre>[downloads columns="4"]</pre></p>
348
 
349
  <h4><?php _e( 'Additional Display Options', 'edd' ); ?></h4>
350
+ <p><?php printf( __( 'The product grids can be customized in any way you wish and there is <a href="%s">extensive documentation</a> to assist you.', 'edd' ), 'http://docs.easydigitaldownloads.com/' ); ?></p>
351
  </div>
352
  </div>
353
 
373
  <div class="feature-section">
374
 
375
  <h4><?php _e( 'Phenomenal Support','edd' );?></h4>
376
+ <p><?php _e( 'We do our best to provide the best support we can. If you encounter a problem or have a question, simply open a ticket using our <a href="https://easydigitaldownloads.com/support">support form</a>.', 'edd' );?></p>
377
 
378
  <h4><?php _e( 'Need Even Faster Support?', 'edd' );?></h4>
379
+ <p><?php _e( 'Our <a href="https://easydigitaldownloads.com/support/pricing/">Priority Support</a> system is there for customers that need faster and/or more in-depth assistance.', 'edd' );?></p>
380
 
381
  </div>
382
  </div>
387
  <div class="feature-section">
388
 
389
  <h4><?php _e( 'Get Notified of Extension Releases','edd' );?></h4>
390
+ <p><?php _e( 'New extensions that make Easy Digital Downloads even more powerful are released nearly every single week. Subscribe to the newsletter to stay up to date with our latest releases. <a href="http://eepurl.com/kaerz" target="_blank">Sign up now</a> to ensure you do not miss a release!', 'edd' );?></p>
391
 
392
  <h4><?php _e( 'Get Alerted About New Tutorials', 'edd' );?></h4>
393
+ <p><?php _e( '<a href="http://eepurl.com/kaerz" target="_blank">Sign up now</a> to hear about the latest tutorial releases that explain how to take Easy Digital Downloads further.', 'edd' );?></p>
394
 
395
  </div>
396
  </div>
404
  <p><?php _e( 'Add-on plugins are available that greatly extend the default functionality of Easy Digital Downloads. There are extensions for payment processors, such as Stripe and PayPal, extensions for newsletter integrations, and many, many more.', 'edd' );?></p>
405
 
406
  <h4><?php _e( 'Visit the Extension Store', 'edd' );?></h4>
407
+ <p><?php _e( '<a href="https://easydigitaldownloads.com/downloads" target="_blank">The Extensions store</a> has a list of all available extensions, including convenient category filters so you can find exactly what you are looking for.', 'edd' );?></p>
408
 
409
  </div>
410
  </div>
426
  <div class="wrap about-wrap">
427
  <h1><?php printf( __( 'Welcome to Easy Digital Downloads %s', 'edd' ), $display_version ); ?></h1>
428
  <div class="about-text"><?php printf( __( 'Thank you for updating to the latest version! Easy Digital Downloads %s is ready to make your online store faster, safer and better!', 'edd' ), $display_version ); ?></div>
429
+ <div class="edd-badge"><img src="<?php echo EDD_PLUGIN_URL . 'assets/images/edd-logo.svg'; ?>" alt="<?php _e( 'Easy Digital Downloads', 'edd' ); ?>" / ></div>
430
 
431
  <?php $this->tabs(); ?>
432
 
includes/api/class-edd-api.php CHANGED
@@ -1387,12 +1387,13 @@ class EDD_API {
1387
  if ( isset( $item['item_number'] ) && isset( $item['item_number']['options'] ) ) {
1388
  $price_options = $item['item_number']['options'];
1389
  if ( isset( $price_options['price_id'] ) ) {
1390
- $price_name = edd_get_price_option_name( $item['id'], $price_options['price_id'], $payment->ID );
1391
  }
1392
  }
1393
 
 
1394
  $sales['sales'][ $i ]['products'][ $c ]['quantity'] = $quantity;
1395
- $sales['sales'][ $i ]['products'][ $c ]['name'] = get_the_title( $item['id'] );
1396
  $sales['sales'][ $i ]['products'][ $c ]['price'] = $price;
1397
  $sales['sales'][ $i ]['products'][ $c ]['price_name'] = $price_name;
1398
  $c++;
1387
  if ( isset( $item['item_number'] ) && isset( $item['item_number']['options'] ) ) {
1388
  $price_options = $item['item_number']['options'];
1389
  if ( isset( $price_options['price_id'] ) ) {
1390
+ $price_name = edd_get_price_option_name( $item_id, $price_options['price_id'], $payment->ID );
1391
  }
1392
  }
1393
 
1394
+ $sales['sales'][ $i ]['products'][ $c ]['id'] = $item_id;
1395
  $sales['sales'][ $i ]['products'][ $c ]['quantity'] = $quantity;
1396
+ $sales['sales'][ $i ]['products'][ $c ]['name'] = get_the_title( $item_id );
1397
  $sales['sales'][ $i ]['products'][ $c ]['price'] = $price;
1398
  $sales['sales'][ $i ]['products'][ $c ]['price_name'] = $price_name;
1399
  $c++;
includes/cart/functions.php CHANGED
@@ -557,6 +557,29 @@ function edd_get_cart_item_price_name( $item = array() ) {
557
  return apply_filters( 'edd_get_cart_item_price_name', $name, $item['id'], $price_id, $item );
558
  }
559
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
560
  /**
561
  * Cart Subtotal
562
  *
@@ -744,13 +767,15 @@ function edd_get_purchase_summary( $purchase_data, $email = true ) {
744
  $summary .= $purchase_data['user_email'] . ' - ';
745
  }
746
 
747
- foreach ( $purchase_data['downloads'] as $download ) {
748
- $summary .= get_the_title( $download['id'] ) . ', ';
749
- }
 
750
 
751
- $summary = substr( $summary, 0, -2 );
 
752
 
753
- return $summary;
754
  }
755
 
756
  /**
557
  return apply_filters( 'edd_get_cart_item_price_name', $name, $item['id'], $price_id, $item );
558
  }
559
 
560
+ /**
561
+ * Get cart item title
562
+ *
563
+ * @since 2.4.3
564
+ * @param int $item Cart item array
565
+ * @return string item title
566
+ */
567
+ function edd_get_cart_item_name( $item = array() ) {
568
+
569
+ $item_title = get_the_title( $item['id'] );
570
+
571
+ if( empty( $item_title ) ) {
572
+ $item_title = $item['id'];
573
+ }
574
+
575
+ if ( edd_has_variable_prices( $item['id'] ) && false !== edd_get_cart_item_price_id( $item ) ) {
576
+
577
+ $item_title .= ' - ' . edd_get_cart_item_price_name( $item );
578
+ }
579
+
580
+ return apply_filters( 'edd_get_cart_item_name', $item_title, $item['id'], $item );
581
+ }
582
+
583
  /**
584
  * Cart Subtotal
585
  *
767
  $summary .= $purchase_data['user_email'] . ' - ';
768
  }
769
 
770
+ if ( ! empty( $purchase_data['downloads'] ) ) {
771
+ foreach ( $purchase_data['downloads'] as $download ) {
772
+ $summary .= get_the_title( $download['id'] ) . ', ';
773
+ }
774
 
775
+ $summary = substr( $summary, 0, -2 );
776
+ }
777
 
778
+ return apply_filters( 'edd_get_purchase_summary', $summary, $purchase_data, $email );
779
  }
780
 
781
  /**
includes/checkout/template.php CHANGED
@@ -850,7 +850,7 @@ function edd_agree_to_terms_js() {
850
  ?>
851
  <script type="text/javascript">
852
  jQuery(document).ready(function($){
853
- $('body').on('click', '.edd_terms_links', function(e) {
854
  //e.preventDefault();
855
  $('#edd_terms').slideToggle();
856
  $('.edd_terms_links').toggle();
850
  ?>
851
  <script type="text/javascript">
852
  jQuery(document).ready(function($){
853
+ $( document.body ).on('click', '.edd_terms_links', function(e) {
854
  //e.preventDefault();
855
  $('#edd_terms').slideToggle();
856
  $('.edd_terms_links').toggle();
includes/class-edd-db-customers.php CHANGED
@@ -167,14 +167,19 @@ class EDD_DB_Customers extends EDD_DB {
167
  }
168
 
169
  /**
170
- * Checks if a customer exists by email
171
  *
172
  * @access public
173
  * @since 2.1
174
  */
175
- public function exists( $email = '' ) {
176
 
177
- return (bool) $this->get_column_by( 'id', 'email', $email );
 
 
 
 
 
178
 
179
  }
180
 
@@ -279,7 +284,7 @@ class EDD_DB_Customers extends EDD_DB {
279
  if( ! $this->get_customer_by( 'email', $user->user_email ) ) {
280
 
281
  $success = $this->update( $customer->id, array( 'email' => $user->user_email ) );
282
-
283
  if( $success ) {
284
  // Update some payment meta if we need to
285
  $payments_array = explode( ',', $customer->payment_ids );
@@ -291,7 +296,7 @@ class EDD_DB_Customers extends EDD_DB {
291
  edd_update_payment_meta( $payment_id, 'email', $user->user_email );
292
 
293
  }
294
-
295
  }
296
 
297
  do_action( 'edd_update_customer_email_on_user_update', $user, $customer );
167
  }
168
 
169
  /**
170
+ * Checks if a customer exists
171
  *
172
  * @access public
173
  * @since 2.1
174
  */
175
+ public function exists( $value = '', $field = 'email' ) {
176
 
177
+ $columns = $this->get_columns();
178
+ if ( ! array_key_exists( $field, $columns ) ) {
179
+ return false;
180
+ }
181
+
182
+ return (bool) $this->get_column_by( 'id', $field, $value );
183
 
184
  }
185
 
284
  if( ! $this->get_customer_by( 'email', $user->user_email ) ) {
285
 
286
  $success = $this->update( $customer->id, array( 'email' => $user->user_email ) );
287
+
288
  if( $success ) {
289
  // Update some payment meta if we need to
290
  $payments_array = explode( ',', $customer->payment_ids );
296
  edd_update_payment_meta( $payment_id, 'email', $user->user_email );
297
 
298
  }
299
+
300
  }
301
 
302
  do_action( 'edd_update_customer_email_on_user_update', $user, $customer );
includes/class-edd-html-elements.php CHANGED
@@ -471,7 +471,7 @@ class EDD_HTML_Elements {
471
 
472
  $output = '<span id="edd-' . sanitize_key( $args['name'] ) . '-wrap">';
473
 
474
- $output .= '<label class="edd-label" for="edd-' . sanitize_key( $args['name'] ) . '">' . esc_html( $args['label'] ) . '</label>';
475
 
476
  if ( ! empty( $args['desc'] ) ) {
477
  $output .= '<span class="edd-description">' . esc_html( $args['desc'] ) . '</span>';
471
 
472
  $output = '<span id="edd-' . sanitize_key( $args['name'] ) . '-wrap">';
473
 
474
+ $output .= '<label class="edd-label" for="' . sanitize_key( $args['id'] ) . '">' . esc_html( $args['label'] ) . '</label>';
475
 
476
  if ( ! empty( $args['desc'] ) ) {
477
  $output .= '<span class="edd-description">' . esc_html( $args['desc'] ) . '</span>';
includes/class-edd-stats.php CHANGED
@@ -502,7 +502,7 @@ class EDD_Stats {
502
  $start_where = '';
503
  $end_where = '';
504
 
505
- if( $this->start_date ) {
506
 
507
  if( $this->timestamp ) {
508
  $format = 'Y-m-d H:i:s';
@@ -514,7 +514,7 @@ class EDD_Stats {
514
  $start_where = " AND $wpdb->posts.post_date >= '{$start_date}'";
515
  }
516
 
517
- if( $this->end_date ) {
518
 
519
  if( $this->timestamp ) {
520
  $format = 'Y-m-d H:i:s';
502
  $start_where = '';
503
  $end_where = '';
504
 
505
+ if( ! is_wp_error( $this->start_date ) ) {
506
 
507
  if( $this->timestamp ) {
508
  $format = 'Y-m-d H:i:s';
514
  $start_where = " AND $wpdb->posts.post_date >= '{$start_date}'";
515
  }
516
 
517
+ if( ! is_wp_error( $this->end_date ) ) {
518
 
519
  if( $this->timestamp ) {
520
  $format = 'Y-m-d H:i:s';
includes/discount-functions.php CHANGED
@@ -252,7 +252,7 @@ function edd_store_discount( $details, $discount_id = null ) {
252
  }
253
  }
254
 
255
- if ( edd_discount_exists( $discount_id ) && ! empty( $discount_id ) ) {
256
 
257
  // Update an existing discount
258
 
@@ -1373,7 +1373,8 @@ function edd_multiple_discounts_allowed() {
1373
  */
1374
  function edd_listen_for_cart_discount() {
1375
 
1376
- if ( empty( $_REQUEST['discount'] ) ) {
 
1377
  return;
1378
  }
1379
 
252
  }
253
  }
254
 
255
+ if ( ! empty( $discount_id ) && edd_discount_exists( $discount_id ) ) {
256
 
257
  // Update an existing discount
258
 
1373
  */
1374
  function edd_listen_for_cart_discount() {
1375
 
1376
+ // Array stops the bulk delete of discount codes from storing as a preset_discount
1377
+ if ( empty( $_REQUEST['discount'] ) || is_array( $_REQUEST['discount'] ) ) {
1378
  return;
1379
  }
1380
 
includes/download-functions.php CHANGED
@@ -141,7 +141,7 @@ function edd_get_download_price( $download_id = 0 ) {
141
  }
142
 
143
  $download = new EDD_Download( $download_id );
144
- return $download->price;
145
  }
146
 
147
  /**
@@ -232,7 +232,7 @@ function edd_get_variable_prices( $download_id = 0 ) {
232
  }
233
 
234
  $download = new EDD_Download( $download_id );
235
- return $download->prices;
236
  }
237
 
238
  /**
141
  }
142
 
143
  $download = new EDD_Download( $download_id );
144
+ return $download->get_price();
145
  }
146
 
147
  /**
232
  }
233
 
234
  $download = new EDD_Download( $download_id );
235
+ return $download->get_prices();
236
  }
237
 
238
  /**
includes/formatting.php CHANGED
@@ -107,7 +107,7 @@ function edd_currency_filter( $price = '', $currency = '' ) {
107
  if( empty( $currency ) ) {
108
 
109
  $currency = edd_get_currency();
110
-
111
  }
112
 
113
  $position = edd_get_option( 'currency_position', 'before' );
@@ -184,6 +184,7 @@ function edd_currency_decimal_filter( $decimals = 2 ) {
184
  case 'RIAL' :
185
  case 'JPY' :
186
  case 'TWD' :
 
187
 
188
  $decimals = 0;
189
  break;
107
  if( empty( $currency ) ) {
108
 
109
  $currency = edd_get_currency();
110
+
111
  }
112
 
113
  $position = edd_get_option( 'currency_position', 'before' );
184
  case 'RIAL' :
185
  case 'JPY' :
186
  case 'TWD' :
187
+ case 'HUF' :
188
 
189
  $decimals = 0;
190
  break;
includes/gateways/amazon-payments.php CHANGED
@@ -265,7 +265,7 @@ final class EDD_Amazon_Payments {
265
  $default_amazon_settings = array(
266
  'amazon' => array(
267
  'id' => 'amazon',
268
- 'name' => '<span class="field-section-title">' . __( 'Login & Pay with Amazon Settings', 'edd' ) . '</span>',
269
  'desc' => __( 'Configure the Amazon settings', 'edd' ),
270
  'type' => 'header',
271
  ),
@@ -498,7 +498,7 @@ final class EDD_Amazon_Payments {
498
 
499
  } else {
500
 
501
- $names = explode( ' ', $profile['name'] );
502
 
503
  $customer = array(
504
  'first_name' => $names[0],
@@ -611,69 +611,96 @@ final class EDD_Amazon_Payments {
611
  <?php _e( 'Currently logged into Amazon as', 'edd' ); ?>: <span class="edd-amazon-profile-name"><?php echo $profile['name']; ?></span>
612
  <span class="edd-amazon-logout">(<a id="Logout"><?php _e( 'Logout', 'edd' ); ?></a>)</span>
613
  </p>
614
-
615
- <div id="edd-amazon-address-box"></div>
 
616
  <div id="edd-amazon-wallet-box"></div>
617
  <script>
618
  var edd_scripts;
619
- new OffAmazonPayments.Widgets.AddressBook({
620
- sellerId: edd_amazon.sellerId,
621
- amazonOrderReferenceId: edd_amazon.referenceID,
 
622
  onOrderReferenceCreate: function(orderReference) {
623
- orderReference.getAmazonOrderReferenceId();
624
- },
625
- onAddressSelect: function(orderReference) {
626
- jQuery.ajax({
627
- type: "POST",
628
- data: {
629
- action : 'edd_amazon_get_address',
630
- reference_id : edd_amazon.referenceID
631
- },
632
- dataType: "json",
633
- url: edd_scripts.ajaxurl,
634
- xhrFields: {
635
- withCredentials: true
636
- },
637
- success: function (response) {
638
- jQuery('#card_city').val( response.City );
639
- jQuery('#card_zip').val( response.PostalCode );
640
- jQuery('#billing_country').val( response.CountryCode );
641
- jQuery('#card_state').val( response.StateOrRegion ).trigger( 'change' );
642
- }
643
- }).fail(function (response) {
644
- if ( window.console && window.console.log ) {
645
- console.log( response );
646
- }
647
- }).done(function (response) {
648
-
649
- });
650
- },
651
- design: {
652
- designMode: 'responsive'
653
- },
654
- onError: function(error) {
655
- jQuery('#edd_purchase_submit').prepend( '<div class="edd_errors"><p class="edd_error" id="edd_error_"' + error.getErrorCode() + '>' + error.getErrorMessage() + '</p></div>' );
656
- }
657
- }).bind("edd-amazon-address-box");
658
-
659
- new OffAmazonPayments.Widgets.Wallet({
660
- sellerId: edd_amazon.sellerId,
661
- amazonOrderReferenceId: edd_amazon.referenceID,
662
- design: {
663
- designMode: 'responsive'
664
- },
665
- onPaymentSelect: function(orderReference) {
666
- // Display your custom complete purchase button
667
- },
668
- onError: function(error) {
669
- jQuery('#edd_purchase_submit').prepend( '<div class="edd_errors"><p class="edd_error" id="edd_error_"' + error.getErrorCode() + '>' + error.getErrorMessage() + '</p></div>' );
670
- }
671
- }).bind("edd-amazon-wallet-box");
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
672
  </script>
673
 
674
  <div id="edd_cc_address">
675
- <input type="hidden" name="edd_amazon_reference_id" value="<?php echo esc_attr( $this->reference_id ); ?>"/>
676
  <input type="hidden" name="card_city" class="card_city" id="card_city" value=""/>
 
 
677
  <input type="hidden" name="card_zip" class="card_zip" id="card_zip" value=""/>
678
  <input type="hidden" name="card_state" class="card_state" id="card_state" value=""/>
679
  <input type="hidden" name="billing_country" class="billing_country" id="billing_country" value=""/>
@@ -703,6 +730,7 @@ final class EDD_Amazon_Payments {
703
  $request = $this->client->getOrderReferenceDetails( array(
704
  'merchant_id' => edd_get_option( 'amazon_seller_id', '' ),
705
  'amazon_order_reference_id' => $_POST['reference_id'],
 
706
  ) );
707
 
708
 
@@ -713,7 +741,7 @@ final class EDD_Amazon_Payments {
713
  if( isset( $data['GetOrderReferenceDetailsResult']['OrderReferenceDetails']['Destination']['PhysicalDestination'] ) ) {
714
 
715
  $address = $data['GetOrderReferenceDetailsResult']['OrderReferenceDetails']['Destination']['PhysicalDestination'];
716
- $address = wp_parse_args( $address, array( 'City', 'CountryCode', 'StateOrRegion', 'PostalCode' ) );
717
 
718
  }
719
 
@@ -817,9 +845,7 @@ final class EDD_Amazon_Payments {
817
 
818
  $capture = new ResponseParser( $capture->response );
819
  $capture = $capture->toArray();
820
-
821
- // Check capture status
822
-
823
  edd_update_payment_meta( $payment_id, '_edd_amazon_authorization_id', $authorization_id );
824
  edd_update_payment_meta( $payment_id, '_edd_amazon_capture_id', $capture_id );
825
 
@@ -1129,7 +1155,27 @@ final class EDD_Amazon_Payments {
1129
  * @return string
1130
  */
1131
  private function get_registration_url() {
1132
- return 'https://sellercentral.amazon.com/hz/me/sp/signup?solutionProviderId=A3JST9YM1SX7LB&marketplaceId=AGWSWK15IEJJ7&solutionProviderToken=AAAAAQAAAAEAAAAQnngerc8vYweGDt8byl2smgAAAHBgMm923quugHaGmPi%2B3sqo93TSL1aKwU85v71Zh7EXVK8De%2FuahjCFHft3cxN3rwAF4Iwg03sDW0jnkLULmFk7M1Fr69IV2XF477m0kU1EM0Z%2FbQssHdLai%2Fzoce1jZVmw8So3F2jhiDyfTHUK2AYP&solutionProviderOptions=lwa%3Bmws-acc%3B';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1133
  }
1134
 
1135
  }
265
  $default_amazon_settings = array(
266
  'amazon' => array(
267
  'id' => 'amazon',
268
+ 'name' => '<span class="field-section-title">' . __( 'Amazon Payments Settings', 'edd' ) . '</span>',
269
  'desc' => __( 'Configure the Amazon settings', 'edd' ),
270
  'type' => 'header',
271
  ),
498
 
499
  } else {
500
 
501
+ $names = explode( ' ', $profile['name'], 2 );
502
 
503
  $customer = array(
504
  'first_name' => $names[0],
611
  <?php _e( 'Currently logged into Amazon as', 'edd' ); ?>: <span class="edd-amazon-profile-name"><?php echo $profile['name']; ?></span>
612
  <span class="edd-amazon-logout">(<a id="Logout"><?php _e( 'Logout', 'edd' ); ?></a>)</span>
613
  </p>
614
+ <?php if( edd_use_taxes() ) : ?>
615
+ <div id="edd-amazon-address-box"></div>
616
+ <?php endif; ?>
617
  <div id="edd-amazon-wallet-box"></div>
618
  <script>
619
  var edd_scripts;
620
+ if( '1' == edd_scripts.taxes_enabled ) {
621
+ new OffAmazonPayments.Widgets.AddressBook({
622
+ sellerId: edd_amazon.sellerId,
623
+ amazonOrderReferenceId: edd_amazon.referenceID,
624
  onOrderReferenceCreate: function(orderReference) {
625
+ orderReference.getAmazonOrderReferenceId();
626
+ },
627
+ onAddressSelect: function(orderReference) {
628
+ jQuery.ajax({
629
+ type: "POST",
630
+ data: {
631
+ action : 'edd_amazon_get_address',
632
+ reference_id : edd_amazon.referenceID
633
+ },
634
+ dataType: "json",
635
+ url: edd_scripts.ajaxurl,
636
+ xhrFields: {
637
+ withCredentials: true
638
+ },
639
+ success: function (response) {
640
+ jQuery('#card_city').val( response.City );
641
+ jQuery('#card_address').val( response.AddressLine1 );
642
+ jQuery('#card_address_2').val( response.AddressLine2 );
643
+ jQuery('#card_zip').val( response.PostalCode );
644
+ jQuery('#billing_country').val( response.CountryCode );
645
+ jQuery('#card_state').val( response.StateOrRegion ).trigger( 'change' );
646
+ }
647
+ }).fail(function (response) {
648
+ if ( window.console && window.console.log ) {
649
+ console.log( response );
650
+ }
651
+ }).done(function (response) {
652
+
653
+ });
654
+ },
655
+ design: {
656
+ designMode: 'responsive'
657
+ },
658
+ onError: function(error) {
659
+ jQuery('#edd-amazon-address-box').hide();
660
+ jQuery('#edd_purchase_submit').prepend( '<div class="edd_errors"><p class="edd_error" id="edd_error_"' + error.getErrorCode() + '>' + error.getErrorMessage() + '</p></div>' );
661
+ }
662
+ }).bind("edd-amazon-address-box");
663
+
664
+ new OffAmazonPayments.Widgets.Wallet({
665
+ sellerId: edd_amazon.sellerId,
666
+ amazonOrderReferenceId: edd_amazon.referenceID,
667
+ design: {
668
+ designMode: 'responsive'
669
+ },
670
+ onPaymentSelect: function(orderReference) {
671
+ // Display your custom complete purchase button
672
+ },
673
+ onError: function(error) {
674
+ jQuery('#edd_purchase_submit').prepend( '<div class="edd_errors"><p class="edd_error" id="edd_error_"' + error.getErrorCode() + '>' + error.getErrorMessage() + '</p></div>' );
675
+ }
676
+ }).bind("edd-amazon-wallet-box");
677
+
678
+ } else {
679
+
680
+ new OffAmazonPayments.Widgets.Wallet({
681
+ sellerId: edd_amazon.sellerId,
682
+ design: {
683
+ designMode: 'responsive'
684
+ },
685
+ onOrderReferenceCreate: function(orderReference) {
686
+ jQuery( '#edd_amazon_reference_id' ).val( orderReference.getAmazonOrderReferenceId() );
687
+ },
688
+ onPaymentSelect: function(orderReference) {
689
+ // Display your custom complete purchase button
690
+ },
691
+ onError: function(error) {
692
+ jQuery('#edd_purchase_submit').prepend( '<div class="edd_errors"><p class="edd_error" id="edd_error_"' + error.getErrorCode() + '>' + error.getErrorMessage() + '</p></div>' );
693
+ }
694
+ }).bind("edd-amazon-wallet-box");
695
+
696
+ }
697
  </script>
698
 
699
  <div id="edd_cc_address">
700
+ <input type="hidden" name="edd_amazon_reference_id" id="edd_amazon_reference_id" value="<?php echo esc_attr( $this->reference_id ); ?>"/>
701
  <input type="hidden" name="card_city" class="card_city" id="card_city" value=""/>
702
+ <input type="hidden" name="card_address" class="card_address" id="card_address" value=""/>
703
+ <input type="hidden" name="card_address_2" class="card_address_2" id="card_address_2" value=""/>
704
  <input type="hidden" name="card_zip" class="card_zip" id="card_zip" value=""/>
705
  <input type="hidden" name="card_state" class="card_state" id="card_state" value=""/>
706
  <input type="hidden" name="billing_country" class="billing_country" id="billing_country" value=""/>
730
  $request = $this->client->getOrderReferenceDetails( array(
731
  'merchant_id' => edd_get_option( 'amazon_seller_id', '' ),
732
  'amazon_order_reference_id' => $_POST['reference_id'],
733
+ 'address_consent_token' => EDD()->session->get( 'amazon_access_token' )
734
  ) );
735
 
736
 
741
  if( isset( $data['GetOrderReferenceDetailsResult']['OrderReferenceDetails']['Destination']['PhysicalDestination'] ) ) {
742
 
743
  $address = $data['GetOrderReferenceDetailsResult']['OrderReferenceDetails']['Destination']['PhysicalDestination'];
744
+ $address = wp_parse_args( $address, array( 'City', 'CountryCode', 'StateOrRegion', 'PostalCode', 'AddressLine1', 'AddressLine2' ) );
745
 
746
  }
747
 
845
 
846
  $capture = new ResponseParser( $capture->response );
847
  $capture = $capture->toArray();
848
+
 
 
849
  edd_update_payment_meta( $payment_id, '_edd_amazon_authorization_id', $authorization_id );
850
  edd_update_payment_meta( $payment_id, '_edd_amazon_capture_id', $capture_id );
851
 
1155
  * @return string
1156
  */
1157
  private function get_registration_url() {
1158
+
1159
+ switch ( edd_get_shop_country() ) {
1160
+ case 'GB':
1161
+ $base_url = 'https://payments.amazon.co.uk/preregistration/lpa';
1162
+ break;
1163
+ case 'DE':
1164
+ $base_url = 'https://payments.amazon.de/preregistration/lpa';
1165
+ break;
1166
+ default:
1167
+ $base_url = 'https://sellercentral.amazon.com/hz/me/sp/signup';
1168
+ break;
1169
+ }
1170
+
1171
+ $query_args = array(
1172
+ 'solutionProviderId' => 'A3JST9YM1SX7LB',
1173
+ 'marketplaceId' => 'AGWSWK15IEJJ7',
1174
+ 'solutionProviderToken' => 'AAAAAQAAAAEAAAAQnngerc8vYweGDt8byl2smgAAAHBgMm923quugHaGmPi%2B3sqo93TSL1aKwU85v71Zh7EXVK8De%2FuahjCFHft3cxN3rwAF4Iwg03sDW0jnkLULmFk7M1Fr69IV2XF477m0kU1EM0Z%2FbQssHdLai%2Fzoce1jZVmw8So3F2jhiDyfTHUK2AYP',
1175
+ 'solutionProviderOptions' => 'lwa%3Bmws-acc%3B',
1176
+ );
1177
+
1178
+ return add_query_arg( $query_args, $base_url );
1179
  }
1180
 
1181
  }
includes/gateways/paypal-standard.php CHANGED
@@ -116,12 +116,7 @@ function edd_process_paypal_purchase( $purchase_data ) {
116
  $item_amount = 0;
117
  }
118
 
119
- if ( edd_has_variable_prices( $item['id'] ) && edd_get_cart_item_price_id( $item ) !== false ) {
120
-
121
- $item['name'] .= ' - ' . edd_get_cart_item_price_name( $item );
122
- }
123
-
124
- $paypal_args['item_name_' . $i ] = stripslashes_deep( html_entity_decode( wp_strip_all_tags( $item['name'] ), ENT_COMPAT, 'UTF-8' ) );
125
  $paypal_args['quantity_' . $i ] = $item['quantity'];
126
  $paypal_args['amount_' . $i ] = $item_amount;
127
 
116
  $item_amount = 0;
117
  }
118
 
119
+ $paypal_args['item_name_' . $i ] = stripslashes_deep( html_entity_decode( edd_get_cart_item_name( $item ), ENT_COMPAT, 'UTF-8' ) );
 
 
 
 
 
120
  $paypal_args['quantity_' . $i ] = $item['quantity'];
121
  $paypal_args['amount_' . $i ] = $item_amount;
122
 
includes/install.php CHANGED
@@ -162,6 +162,7 @@ function edd_install() {
162
  'upgrade_payment_taxes',
163
  'upgrade_customer_payments_association',
164
  'upgrade_user_api_keys',
 
165
  );
166
 
167
  foreach ( $upgrade_routines as $upgrade ) {
162
  'upgrade_payment_taxes',
163
  'upgrade_customer_payments_association',
164
  'upgrade_user_api_keys',
165
+ 'remove_refunded_sale_logs'
166
  );
167
 
168
  foreach ( $upgrade_routines as $upgrade ) {
includes/payments/actions.php CHANGED
@@ -147,11 +147,15 @@ add_action( 'edd_update_payment_status', 'edd_record_status_change', 100, 3 );
147
  */
148
  function edd_undo_purchase_on_refund( $payment_id, $new_status, $old_status ) {
149
 
150
- if( 'publish' != $old_status && 'revoked' != $old_status )
 
 
151
  return;
 
152
 
153
- if( 'refunded' != $new_status )
154
  return;
 
155
 
156
  $downloads = edd_get_payment_meta_cart_details( $payment_id );
157
  if( $downloads ) {
@@ -175,6 +179,18 @@ function edd_undo_purchase_on_refund( $payment_id, $new_status, $old_status ) {
175
 
176
  }
177
 
 
 
 
 
 
 
 
 
 
 
 
 
178
  // Clear the This Month earnings (this_monththis_month is NOT a typo)
179
  delete_transient( md5( 'edd_earnings_this_monththis_month' ) );
180
  }
147
  */
148
  function edd_undo_purchase_on_refund( $payment_id, $new_status, $old_status ) {
149
 
150
+ global $edd_logs;
151
+
152
+ if( 'publish' != $old_status && 'revoked' != $old_status ) {
153
  return;
154
+ }
155
 
156
+ if( 'refunded' != $new_status ) {
157
  return;
158
+ }
159
 
160
  $downloads = edd_get_payment_meta_cart_details( $payment_id );
161
  if( $downloads ) {
179
 
180
  }
181
 
182
+ // Remove related sale log entries
183
+ $edd_logs->delete_logs(
184
+ null,
185
+ 'sale',
186
+ array(
187
+ array(
188
+ 'key' => '_edd_log_payment_id',
189
+ 'value' => $payment_id
190
+ )
191
+ )
192
+ );
193
+
194
  // Clear the This Month earnings (this_monththis_month is NOT a typo)
195
  delete_transient( md5( 'edd_earnings_this_monththis_month' ) );
196
  }
includes/payments/functions.php CHANGED
@@ -489,16 +489,44 @@ function edd_count_payments( $args = array() ) {
489
  }
490
 
491
  // Limit payments count by date
492
- if ( ! empty( $args['start-date'] ) ) {
493
- $date = new DateTime( $args['start-date'] );
494
- $where .= "
495
- AND p.post_date >= '" . $date->format( 'Y-m-d' ) . "'";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
496
  }
497
 
498
- if ( ! empty ( $args['end-date'] ) ) {
499
- $date = new DateTime( $args['end-date'] );
500
- $where .= "
501
- AND p.post_date <= '" . $date->format( 'Y-m-d' ) . "'";
 
 
 
 
 
 
 
 
 
 
 
 
502
  }
503
 
504
  $where = apply_filters( 'edd_count_payments_where', $where );
489
  }
490
 
491
  // Limit payments count by date
492
+ if ( ! empty( $args['start-date'] ) && false !== strpos( '/', $args['start-date'] ) ) {
493
+
494
+ $date_parts = explode( '/', $args['start-date'] );
495
+ $month = ! empty( $date_parts[0] ) && is_numeric( $date_parts[0] ) ? $date_parts[0] : 0;
496
+ $day = ! empty( $date_parts[1] ) && is_numeric( $date_parts[1] ) ? $date_parts[1] : 0;
497
+ $year = ! empty( $date_parts[2] ) && is_numeric( $date_parts[2] ) ? $date_parts[2] : 0;
498
+
499
+ $is_date = checkdate( $month, $day, $year );
500
+ if ( false !== $is_date ) {
501
+
502
+ $date = new DateTime( $args['start-date'] );
503
+ $where .= $wpdb->prepare( " AND p.post_date >= '%s'", $date->format( 'Y-m-d' ) );
504
+
505
+ }
506
+
507
+ // Fixes an issue with the payments list table counts when no end date is specified (partiy with stats class)
508
+ if ( empty( $args['end-date'] ) ) {
509
+ $args['end-date'] = $args['start-date'];
510
+ }
511
+
512
  }
513
 
514
+ if ( ! empty ( $args['end-date'] ) && false !== strpos( '/', $args['end-date'] ) ) {
515
+
516
+ $date_parts = explode( '/', $args['end-date'] );
517
+
518
+ $month = ! empty( $date_parts[0] ) ? $date_parts[0] : 0;
519
+ $day = ! empty( $date_parts[1] ) ? $date_parts[1] : 0;
520
+ $year = ! empty( $date_parts[2] ) ? $date_parts[2] : 0;
521
+
522
+ $is_date = checkdate( $month, $day, $year );
523
+ if ( false !== $is_date ) {
524
+
525
+ $date = new DateTime( $args['end-date'] );
526
+ $where .= $wpdb->prepare( " AND p.post_date <= '%s'", $date->format( 'Y-m-d' ) );
527
+
528
+ }
529
+
530
  }
531
 
532
  $where = apply_filters( 'edd_count_payments_where', $where );
includes/post-types.php CHANGED
@@ -346,7 +346,7 @@ function edd_register_post_type_statuses() {
346
  'label_count' => _n_noop( 'Inactive <span class="count">(%s)</span>', 'Inactive <span class="count">(%s)</span>', 'edd' )
347
  ) );
348
  }
349
- add_action( 'init', 'edd_register_post_type_statuses' );
350
 
351
  /**
352
  * Updated Messages
346
  'label_count' => _n_noop( 'Inactive <span class="count">(%s)</span>', 'Inactive <span class="count">(%s)</span>', 'edd' )
347
  ) );
348
  }
349
+ add_action( 'init', 'edd_register_post_type_statuses', 2 );
350
 
351
  /**
352
  * Updated Messages
includes/process-purchase.php CHANGED
@@ -194,19 +194,19 @@ function edd_purchase_form_validate_fields() {
194
  // Collect logged in user data
195
  $valid_data['logged_in_user'] = edd_purchase_form_validate_logged_in_user();
196
  } else if ( isset( $_POST['edd-purchase-var'] ) && $_POST['edd-purchase-var'] == 'needs-to-register' ) {
197
- // Set new user registration as required
198
- $valid_data['need_new_user'] = true;
199
-
200
- // Validate new user data
201
- $valid_data['new_user_data'] = edd_purchase_form_validate_new_user();
202
- // Check if login validation is needed
203
- } else if ( isset( $_POST['edd-purchase-var'] ) && $_POST['edd-purchase-var'] == 'needs-to-login' ) {
204
- // Set user login as required
205
- $valid_data['need_user_login'] = true;
206
-
207
- // Validate users login info
208
- $valid_data['login_user_data'] = edd_purchase_form_validate_user_login();
209
- } else {
210
  // Not registering or logging in, so setup guest user data
211
  $valid_data['guest_user_data'] = edd_purchase_form_validate_guest_user();
212
  }
@@ -505,9 +505,9 @@ function edd_purchase_form_validate_new_user() {
505
  // The password is invalid
506
  edd_set_error( 'password_empty', __( 'Enter a password', 'edd' ) );
507
  } else if ( ! $pass_confirm && $registering_new_user ) {
508
- // Confirmation password is invalid
509
- edd_set_error( 'confirmation_empty', __( 'Enter the password confirmation', 'edd' ) );
510
- }
511
  }
512
 
513
  return $valid_user_data;
@@ -644,14 +644,14 @@ function edd_register_and_login_new_user( $user_data = array() ) {
644
  return -1;
645
 
646
  $user_args = apply_filters( 'edd_insert_user_args', array(
647
- 'user_login' => isset( $user_data['user_login'] ) ? $user_data['user_login'] : '',
648
- 'user_pass' => isset( $user_data['user_pass'] ) ? $user_data['user_pass'] : '',
649
- 'user_email' => isset( $user_data['user_email'] ) ? $user_data['user_email'] : '',
650
- 'first_name' => isset( $user_data['user_first'] ) ? $user_data['user_first'] : '',
651
- 'last_name' => isset( $user_data['user_last'] ) ? $user_data['user_last'] : '',
652
- 'user_registered' => date( 'Y-m-d H:i:s' ),
653
- 'role' => get_option( 'default_role' )
654
- ), $user_data );
655
 
656
  // Insert new user
657
  $user_id = wp_insert_user( $user_args );
194
  // Collect logged in user data
195
  $valid_data['logged_in_user'] = edd_purchase_form_validate_logged_in_user();
196
  } else if ( isset( $_POST['edd-purchase-var'] ) && $_POST['edd-purchase-var'] == 'needs-to-register' ) {
197
+ // Set new user registration as required
198
+ $valid_data['need_new_user'] = true;
199
+
200
+ // Validate new user data
201
+ $valid_data['new_user_data'] = edd_purchase_form_validate_new_user();
202
+ // Check if login validation is needed
203
+ } else if ( isset( $_POST['edd-purchase-var'] ) && $_POST['edd-purchase-var'] == 'needs-to-login' ) {
204
+ // Set user login as required
205
+ $valid_data['need_user_login'] = true;
206
+
207
+ // Validate users login info
208
+ $valid_data['login_user_data'] = edd_purchase_form_validate_user_login();
209
+ } else {
210
  // Not registering or logging in, so setup guest user data
211
  $valid_data['guest_user_data'] = edd_purchase_form_validate_guest_user();
212
  }
505
  // The password is invalid
506
  edd_set_error( 'password_empty', __( 'Enter a password', 'edd' ) );
507
  } else if ( ! $pass_confirm && $registering_new_user ) {
508
+ // Confirmation password is invalid
509
+ edd_set_error( 'confirmation_empty', __( 'Enter the password confirmation', 'edd' ) );
510
+ }
511
  }
512
 
513
  return $valid_user_data;
644
  return -1;
645
 
646
  $user_args = apply_filters( 'edd_insert_user_args', array(
647
+ 'user_login' => isset( $user_data['user_login'] ) ? $user_data['user_login'] : '',
648
+ 'user_pass' => isset( $user_data['user_pass'] ) ? $user_data['user_pass'] : '',
649
+ 'user_email' => isset( $user_data['user_email'] ) ? $user_data['user_email'] : '',
650
+ 'first_name' => isset( $user_data['user_first'] ) ? $user_data['user_first'] : '',
651
+ 'last_name' => isset( $user_data['user_last'] ) ? $user_data['user_last'] : '',
652
+ 'user_registered' => date( 'Y-m-d H:i:s' ),
653
+ 'role' => get_option( 'default_role' )
654
+ ), $user_data );
655
 
656
  // Insert new user
657
  $user_id = wp_insert_user( $user_args );
includes/query-filters.php CHANGED
@@ -47,4 +47,67 @@ function edd_block_attachments() {
47
 
48
  wp_die( __( 'You do not have permission to view this file.', 'edd' ), __( 'Error', 'edd' ), array( 'response' => 403 ) );
49
  }
50
- add_action( 'template_redirect', 'edd_block_attachments' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
 
48
  wp_die( __( 'You do not have permission to view this file.', 'edd' ), __( 'Error', 'edd' ), array( 'response' => 403 ) );
49
  }
50
+ add_action( 'template_redirect', 'edd_block_attachments' );
51
+
52
+
53
+ /**
54
+ * Removes our tracking query arg so as not to interfere with the WP query, see https://core.trac.wordpress.org/ticket/25143
55
+ *
56
+ * @since 2.4.3
57
+ */
58
+ function edd_unset_discount_query_arg( $query ) {
59
+
60
+ if ( is_admin() || ! $query->is_main_query() ) {
61
+ return;
62
+ }
63
+
64
+ $discount = $query->get( 'discount' );
65
+
66
+ if ( ! empty( $discount ) ) {
67
+
68
+ // unset ref var from $wp_query
69
+ $query->set( 'discount', null );
70
+
71
+ global $wp;
72
+
73
+ // unset ref var from $wp
74
+ unset( $wp->query_vars[ 'discount' ] );
75
+
76
+ // if in home (because $wp->query_vars is empty) and 'show_on_front' is page
77
+ if ( empty( $wp->query_vars ) && get_option( 'show_on_front' ) === 'page' ) {
78
+
79
+ // reset and re-parse query vars
80
+ $wp->query_vars['page_id'] = get_option( 'page_on_front' );
81
+ $query->parse_query( $wp->query_vars );
82
+
83
+ }
84
+
85
+ }
86
+
87
+ }
88
+ add_action( 'pre_get_posts', 'edd_unset_discount_query_arg', 999999 );
89
+
90
+ /**
91
+ * Filters on canonical redirects
92
+ *
93
+ * @since 2.4.3
94
+ * @return string
95
+ */
96
+ function edd_prevent_canonical_redirect( $redirect_url, $requested_url ) {
97
+
98
+ if( ! is_front_page() ) {
99
+ return $redirect_url;
100
+ }
101
+
102
+ $discount = get_query_var( 'discount' );
103
+
104
+ if( ! empty( $discount ) || false !== strpos( $requested_url, 'discount' ) ) {
105
+
106
+ $redirect_url = $requested_url;
107
+
108
+ }
109
+
110
+ return $redirect_url;
111
+
112
+ }
113
+ add_action( 'redirect_canonical', 'edd_prevent_canonical_redirect', 0, 2 );
includes/shortcodes.php CHANGED
@@ -42,7 +42,7 @@ function edd_download_shortcode( $atts, $content = null ) {
42
  $atts, 'purchase_link' );
43
 
44
  // Override text if direct == 1
45
- if( $atts['direct'] == '1' ) {
46
  $atts['text'] = edd_get_option( 'buy_now_text', __( 'Buy Now', 'edd' ) );
47
  }
48
 
42
  $atts, 'purchase_link' );
43
 
44
  // Override text if direct == 1
45
+ if( $atts['direct'] == '1' || $atts['direct'] == 'true' ) {
46
  $atts['text'] = edd_get_option( 'buy_now_text', __( 'Buy Now', 'edd' ) );
47
  }
48
 
includes/user-functions.php CHANGED
@@ -285,10 +285,11 @@ function edd_get_purchase_stats_by_user( $user = '' ) {
285
  * @return int - the total number of purchases
286
  */
287
  function edd_count_purchases_of_customer( $user = null ) {
288
- if ( empty( $user ) )
289
  $user = get_current_user_id();
 
290
 
291
- $stats = edd_get_purchase_stats_by_user( $user );
292
 
293
  return isset( $stats['purchases'] ) ? $stats['purchases'] : 0;
294
  }
285
  * @return int - the total number of purchases
286
  */
287
  function edd_count_purchases_of_customer( $user = null ) {
288
+ if ( empty( $user ) ) {
289
  $user = get_current_user_id();
290
+ }
291
 
292
+ $stats = ! empty( $user ) ? edd_get_purchase_stats_by_user( $user ) : false;
293
 
294
  return isset( $stats['purchases'] ) ? $stats['purchases'] : 0;
295
  }
languages/edd-af.mo CHANGED
Binary file
languages/edd-an.mo CHANGED
Binary file
languages/edd-ar.mo CHANGED
Binary file
languages/edd-az.mo CHANGED
Binary file
languages/edd-be.mo CHANGED
Binary file
languages/edd-bg.mo CHANGED
Binary file
languages/edd-bg_BG.mo CHANGED
Binary file
languages/edd-bn_BD.mo CHANGED
Binary file
languages/edd-bs_BA.mo CHANGED
Binary file
languages/edd-ca.mo CHANGED
Binary file
languages/edd-co.mo CHANGED
Binary file
languages/edd-cs_CZ.mo CHANGED
Binary file
languages/edd-cy.mo CHANGED
Binary file
languages/edd-da_DK.mo CHANGED
Binary file
languages/edd-de_CH.mo CHANGED
Binary file
languages/edd-de_DE.mo CHANGED
Binary file
languages/edd-el.mo CHANGED
Binary file
languages/edd-en_AU.mo CHANGED
Binary file
languages/edd-en_CA.mo CHANGED
Binary file
languages/edd-en_GB.mo CHANGED
Binary file
languages/edd-eo.mo CHANGED
Binary file
languages/edd-es_AR.mo CHANGED
Binary file
languages/edd-es_CL.mo CHANGED
Binary file
languages/edd-es_ES.mo CHANGED
Binary file
languages/edd-es_MX.mo CHANGED
Binary file
languages/edd-es_PE.mo CHANGED
Binary file
languages/edd-es_VE.mo CHANGED
Binary file
languages/edd-et.mo CHANGED
Binary file
languages/edd-eu.mo CHANGED
Binary file
languages/edd-fa.mo CHANGED
Binary file
languages/edd-fa_IR.mo CHANGED
Binary file
languages/edd-fi.mo CHANGED
Binary file
languages/edd-fo.mo CHANGED
Binary file
languages/edd-fr_FR.mo CHANGED
Binary file
languages/edd-fy.mo CHANGED
Binary file
languages/edd-ga.mo CHANGED
Binary file
languages/edd-gd.mo CHANGED
Binary file
languages/edd-gl_ES.mo CHANGED
Binary file
languages/edd-he_IL.mo CHANGED
Binary file
languages/edd-hi_IN.mo CHANGED
Binary file
languages/edd-hr.mo CHANGED
Binary file
languages/edd-hu_HU.mo CHANGED
Binary file
languages/edd-id_ID.mo CHANGED
Binary file
languages/edd-is_IS.mo CHANGED
Binary file
languages/edd-it_IT.mo CHANGED
Binary file
languages/edd-ja.mo CHANGED
Binary file
languages/edd-jv.mo CHANGED
Binary file
languages/edd-ka.mo CHANGED
Binary file
languages/edd-ka_GE.mo CHANGED
Binary file
languages/edd-kk.mo CHANGED
Binary file
languages/edd-km.mo CHANGED
Binary file
languages/edd-kn.mo CHANGED
Binary file
languages/edd-ko_KR.mo CHANGED
Binary file
languages/edd-ky.mo CHANGED
Binary file
languages/edd-lo.mo CHANGED
Binary file
languages/edd-lt_LT.mo CHANGED
Binary file
languages/edd-lv.mo CHANGED
Binary file
languages/edd-mg.mo CHANGED
Binary file
languages/edd-mk_MK.mo CHANGED
Binary file
languages/edd-mn.mo CHANGED
Binary file
languages/edd-ms_MY.mo CHANGED
Binary file
languages/edd-my_MM.mo CHANGED
Binary file
languages/edd-nb_NO.mo CHANGED
Binary file
languages/edd-ne_NP.mo CHANGED
Binary file
languages/edd-nl_NL.mo CHANGED
Binary file
languages/edd-nn_NO.mo CHANGED
Binary file
languages/edd-oc.mo CHANGED
Binary file
languages/edd-os.mo CHANGED
Binary file
languages/edd-pl_PL.mo CHANGED
Binary file
languages/edd-ps.mo CHANGED
Binary file
languages/edd-pt_BR.mo CHANGED
Binary file
languages/edd-pt_PT.mo CHANGED
Binary file
languages/edd-ro_RO.mo CHANGED
Binary file
languages/edd-ru_RU.mo CHANGED
Binary file
languages/edd-sah.mo CHANGED
Binary file
languages/edd-si_LK.mo CHANGED
Binary file
languages/edd-sk_SK.mo CHANGED
Binary file
languages/edd-sl_SI.mo CHANGED
Binary file
languages/edd-so.mo CHANGED
Binary file
languages/edd-sq.mo CHANGED
Binary file
languages/edd-sr_RS.mo CHANGED
Binary file
languages/edd-su.mo CHANGED
Binary file
languages/edd-sv_SE.mo CHANGED
Binary file
languages/edd-sw.mo CHANGED
Binary file
languages/edd-ta_IN.mo CHANGED
Binary file
languages/edd-ta_LK.mo CHANGED
Binary file
languages/edd-te.mo CHANGED
Binary file
languages/edd-tg.mo CHANGED
Binary file
languages/edd-th.mo CHANGED
Binary file
languages/edd-tl.mo CHANGED
Binary file
languages/edd-tr_TR.mo CHANGED
Binary file
languages/edd-ug.mo CHANGED
Binary file
languages/edd-uk.mo CHANGED
Binary file
languages/edd-ur.mo CHANGED
Binary file
languages/edd-uz.mo CHANGED
Binary file
languages/edd-vi.mo CHANGED
Binary file
languages/edd-zh_CN.mo CHANGED
Binary file
languages/edd-zh_TW.mo CHANGED
Binary file
languages/edd.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.4.1\n"
6
  "Report-Msgid-Bugs-To: https://easydigitaldownloads.com/\n"
7
- "POT-Creation-Date: 2015-07-06 19:53:04+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -67,21 +67,21 @@ msgstr ""
67
  #: includes/admin/reporting/class-export.php:172
68
  #: includes/admin/reporting/class-gateway-error-logs-list-table.php:119
69
  #: includes/admin/reporting/export/class-batch-export.php:112
70
- #: includes/admin/reporting/export/export-functions.php:88
71
  #: includes/admin/reporting/pdf-reports.php:29
72
  #: includes/admin/reporting/pdf-reports.php:33
73
  #: includes/admin/reporting/reports.php:97 includes/admin/tools.php:347
74
  #: includes/admin/tools.php:353
75
  #: includes/admin/upgrades/upgrade-functions.php:160
76
- #: includes/admin/upgrades/upgrade-functions.php:513
77
- #: includes/admin/upgrades/upgrade-functions.php:595
78
- #: includes/admin/upgrades/upgrade-functions.php:706
79
- #: includes/admin/upgrades/upgrade-functions.php:803
80
- #: includes/admin/upgrades/upgrade-functions.php:877
81
- #: includes/admin/upgrades/upgrade-functions.php:1005
82
- #: includes/api/class-edd-api.php:1681 includes/api/class-edd-api.php:1694
83
- #: includes/api/class-edd-api.php:1696 includes/cart/functions.php:1067
84
- #: includes/cart/functions.php:1084 includes/class-edd-license-handler.php:188
85
  #: includes/class-edd-license-handler.php:261
86
  #: includes/deprecated-functions.php:517 includes/deprecated-functions.php:532
87
  #: includes/deprecated-functions.php:542 includes/download-functions.php:1152
@@ -163,7 +163,7 @@ msgstr ""
163
 
164
  #: includes/admin/admin-pages.php:41 includes/admin/plugins.php:59
165
  #: includes/admin/settings/contextual-help.php:87
166
- #: includes/admin/settings/register-settings.php:938
167
  msgid "Extensions"
168
  msgstr ""
169
 
@@ -487,7 +487,7 @@ msgid "City"
487
  msgstr ""
488
 
489
  #: includes/admin/customers/customers.php:246
490
- #: includes/admin/settings/register-settings.php:1540
491
  #: includes/checkout/template.php:416 templates/shortcode-profile-editor.php:82
492
  msgid "State / Province"
493
  msgstr ""
@@ -587,7 +587,7 @@ msgstr ""
587
  #: includes/admin/reporting/class-export.php:70
588
  #: includes/admin/reporting/class-file-downloads-logs-list-table.php:138
589
  #: includes/admin/reporting/class-gateway-error-logs-list-table.php:122
590
- #: includes/admin/reporting/class-sales-logs-list-table.php:100
591
  #: includes/admin/reporting/export/class-batch-export-file-downloads.php:42
592
  #: includes/admin/reporting/export/class-batch-export-payments.php:59
593
  #: templates/history-purchases.php:14 templates/shortcode-receipt.php:59
@@ -897,7 +897,7 @@ msgstr ""
897
  #: includes/admin/discounts/class-discount-codes-table.php:127
898
  #: includes/admin/payments/class-payments-table.php:199
899
  #: includes/admin/reporting/class-file-downloads-logs-list-table.php:336
900
- #: includes/admin/reporting/class-sales-logs-list-table.php:255
901
  msgid "All"
902
  msgstr ""
903
 
@@ -1002,7 +1002,7 @@ msgstr ""
1002
 
1003
  #: includes/admin/discounts/contextual-help.php:38
1004
  #: includes/admin/settings/contextual-help.php:42
1005
- #: includes/admin/settings/register-settings.php:931
1006
  #: includes/admin/tools.php:68
1007
  msgid "General"
1008
  msgstr ""
@@ -1402,7 +1402,7 @@ msgid "Mark this product as exclusive of tax"
1402
  msgstr ""
1403
 
1404
  #: includes/admin/downloads/metabox.php:865
1405
- #: includes/admin/settings/register-settings.php:763
1406
  #: includes/admin/thickbox.php:62 includes/checkout/template.php:829
1407
  #: includes/scripts.php:58 includes/shortcodes.php:36
1408
  #: includes/template-functions.php:67
@@ -1430,13 +1430,13 @@ msgid "Disable the automatic output of the purchase button"
1430
  msgstr ""
1431
 
1432
  #: includes/admin/downloads/metabox.php:934
1433
- #: includes/admin/settings/register-settings.php:770
1434
  #: includes/admin/thickbox.php:100
1435
  msgid "Add to Cart"
1436
  msgstr ""
1437
 
1438
  #: includes/admin/downloads/metabox.php:935
1439
- #: includes/admin/settings/register-settings.php:777 includes/shortcodes.php:46
1440
  #: includes/template-functions.php:67
1441
  msgid "Buy Now"
1442
  msgstr ""
@@ -1545,7 +1545,7 @@ msgstr ""
1545
  #: includes/admin/payments/class-payments-table.php:226
1546
  #: includes/admin/reporting/class-export-payments.php:81
1547
  #: includes/admin/reporting/class-file-downloads-logs-list-table.php:134
1548
- #: includes/admin/reporting/class-sales-logs-list-table.php:96
1549
  #: includes/admin/reporting/export/class-batch-export-payments.php:60
1550
  msgid "User"
1551
  msgstr ""
@@ -1743,7 +1743,7 @@ msgid "Discount Code"
1743
  msgstr ""
1744
 
1745
  #: includes/admin/payments/view-order-details.php:102
1746
- #: includes/admin/settings/register-settings.php:630
1747
  msgid "None"
1748
  msgstr ""
1749
 
@@ -1838,7 +1838,7 @@ msgid "Copy Download Link(s)"
1838
  msgstr ""
1839
 
1840
  #: includes/admin/payments/view-order-details.php:333
1841
- #: includes/admin/settings/register-settings.php:1543 includes/scripts.php:203
1842
  #: templates/checkout_cart.php:52 templates/checkout_cart.php:70
1843
  msgid "Remove"
1844
  msgstr ""
@@ -1928,7 +1928,7 @@ msgstr ""
1928
  #: includes/admin/reporting/class-api-requests-logs-list-table.php:89
1929
  #: includes/admin/reporting/class-file-downloads-logs-list-table.php:132
1930
  #: includes/admin/reporting/class-gateway-error-logs-list-table.php:117
1931
- #: includes/admin/reporting/class-sales-logs-list-table.php:95
1932
  msgid "Log ID"
1933
  msgstr ""
1934
 
@@ -2070,7 +2070,7 @@ msgstr ""
2070
 
2071
  #: includes/admin/reporting/class-export-payments.php:70
2072
  #: includes/admin/reporting/export/class-batch-export-payments.php:49
2073
- #: includes/admin/settings/register-settings.php:1539
2074
  #: templates/shortcode-profile-editor.php:75
2075
  msgid "Country"
2076
  msgstr ""
@@ -2114,7 +2114,7 @@ msgstr ""
2114
 
2115
  #: includes/admin/reporting/class-file-downloads-logs-list-table.php:135
2116
  #: includes/admin/reporting/class-gateway-error-logs-list-table.php:118
2117
- #: includes/admin/reporting/class-sales-logs-list-table.php:99
2118
  msgid "Payment ID"
2119
  msgstr ""
2120
 
@@ -2148,7 +2148,7 @@ msgstr ""
2148
  msgid "Pending / Failed Sales"
2149
  msgstr ""
2150
 
2151
- #: includes/admin/reporting/class-sales-logs-list-table.php:98
2152
  msgid "Item Amount"
2153
  msgstr ""
2154
 
@@ -2223,9 +2223,9 @@ msgstr ""
2223
  msgid "Customer Value"
2224
  msgstr ""
2225
 
2226
- #: includes/admin/reporting/export/export-functions.php:88
2227
  #: includes/admin/reporting/pdf-reports.php:33
2228
- #: includes/api/class-edd-api.php:1681
2229
  #: includes/class-edd-license-handler.php:188
2230
  #: includes/class-edd-license-handler.php:261
2231
  msgid "Nonce verification failed"
@@ -2322,7 +2322,7 @@ msgid "Filter"
2322
  msgstr ""
2323
 
2324
  #: includes/admin/reporting/logs.php:144
2325
- #: includes/admin/settings/register-settings.php:653
2326
  msgid "File Downloads"
2327
  msgstr ""
2328
 
@@ -2445,7 +2445,7 @@ msgstr ""
2445
 
2446
  #: includes/admin/reporting/reports.php:58
2447
  #: includes/admin/settings/contextual-help.php:71
2448
- #: includes/admin/settings/register-settings.php:935
2449
  msgid "Taxes"
2450
  msgstr ""
2451
 
@@ -2576,8 +2576,8 @@ msgid ""
2576
  msgstr ""
2577
 
2578
  #: includes/admin/settings/contextual-help.php:48
2579
- #: includes/admin/settings/register-settings.php:356
2580
- #: includes/admin/settings/register-settings.php:932
2581
  msgid "Payment Gateways"
2582
  msgstr ""
2583
 
@@ -2606,7 +2606,7 @@ msgid ""
2606
  msgstr ""
2607
 
2608
  #: includes/admin/settings/contextual-help.php:57
2609
- #: includes/admin/settings/register-settings.php:933
2610
  msgid "Emails"
2611
  msgstr ""
2612
 
@@ -2626,7 +2626,7 @@ msgid ""
2626
  msgstr ""
2627
 
2628
  #: includes/admin/settings/contextual-help.php:65
2629
- #: includes/admin/settings/register-settings.php:934
2630
  msgid "Styles"
2631
  msgstr ""
2632
 
@@ -2857,617 +2857,617 @@ msgstr ""
2857
  msgid "Allow Usage Tracking?"
2858
  msgstr ""
2859
 
2860
- #: includes/admin/settings/register-settings.php:334
2861
  msgid ""
2862
  "Allow Easy Digital Downloads to anonymously track how this plugin is used "
2863
- "and help us make the plugin better. Opt-in and receive a 20% discount code "
2864
- "for any purchase from the <a "
2865
- "href=\"https://easydigitaldownloads.com/extensions\" target=\"_blank\">Easy "
2866
- "Digital Downloads store</a>. Your discount code will be emailed to you."
2867
  msgstr ""
2868
 
2869
- #: includes/admin/settings/register-settings.php:339
2870
  msgid "Remove Data on Uninstall?"
2871
  msgstr ""
2872
 
2873
- #: includes/admin/settings/register-settings.php:340
2874
  msgid ""
2875
  "Check this box if you would like EDD to completely remove all of its data "
2876
  "when the plugin is deleted."
2877
  msgstr ""
2878
 
2879
- #: includes/admin/settings/register-settings.php:350
2880
  msgid "Test Mode"
2881
  msgstr ""
2882
 
2883
- #: includes/admin/settings/register-settings.php:351
2884
  msgid ""
2885
  "While in test mode no live transactions are processed. To fully use test "
2886
  "mode, you must have a sandbox (test) account for the payment gateway you "
2887
  "are testing."
2888
  msgstr ""
2889
 
2890
- #: includes/admin/settings/register-settings.php:357
2891
  msgid "Choose the payment gateways you want to enable."
2892
  msgstr ""
2893
 
2894
- #: includes/admin/settings/register-settings.php:363
2895
  msgid "Default Gateway"
2896
  msgstr ""
2897
 
2898
- #: includes/admin/settings/register-settings.php:364
2899
  msgid "This gateway will be loaded automatically with the checkout page."
2900
  msgstr ""
2901
 
2902
- #: includes/admin/settings/register-settings.php:370
2903
  msgid "Accepted Payment Method Icons"
2904
  msgstr ""
2905
 
2906
- #: includes/admin/settings/register-settings.php:371
2907
  msgid "Display icons for the selected payment methods"
2908
  msgstr ""
2909
 
2910
- #: includes/admin/settings/register-settings.php:371
2911
  msgid ""
2912
  "You will also need to configure your gateway settings if you are accepting "
2913
  "credit cards"
2914
  msgstr ""
2915
 
2916
- #: includes/admin/settings/register-settings.php:384
2917
  msgid "PayPal Settings"
2918
  msgstr ""
2919
 
2920
- #: includes/admin/settings/register-settings.php:385
2921
  msgid "Configure the PayPal settings"
2922
  msgstr ""
2923
 
2924
- #: includes/admin/settings/register-settings.php:390
2925
  msgid "PayPal Email"
2926
  msgstr ""
2927
 
2928
- #: includes/admin/settings/register-settings.php:391
2929
  msgid "Enter your PayPal account's email"
2930
  msgstr ""
2931
 
2932
- #: includes/admin/settings/register-settings.php:397
2933
  msgid "PayPal Page Style"
2934
  msgstr ""
2935
 
2936
- #: includes/admin/settings/register-settings.php:398
2937
  msgid "Enter the name of the page style to use, or leave blank for default"
2938
  msgstr ""
2939
 
2940
- #: includes/admin/settings/register-settings.php:404
2941
  msgid "Disable PayPal IPN Verification"
2942
  msgstr ""
2943
 
2944
- #: includes/admin/settings/register-settings.php:405
2945
  msgid ""
2946
  "If payments are not getting marked as complete, then check this box. This "
2947
  "forces the site to use a slightly less secure method of verifying purchases."
2948
  msgstr ""
2949
 
2950
- #: includes/admin/settings/register-settings.php:415
2951
  msgid "Email Template"
2952
  msgstr ""
2953
 
2954
- #: includes/admin/settings/register-settings.php:416
2955
  msgid ""
2956
  "Choose a template. Click \"Save Changes\" then \"Preview Purchase Receipt\" "
2957
  "to see the new template."
2958
  msgstr ""
2959
 
2960
- #: includes/admin/settings/register-settings.php:422
2961
  msgid "Logo"
2962
  msgstr ""
2963
 
2964
- #: includes/admin/settings/register-settings.php:423
2965
  msgid ""
2966
  "Upload or choose a logo to be displayed at the top of the purchase receipt "
2967
  "emails. Displayed on HTML emails only."
2968
  msgstr ""
2969
 
2970
- #: includes/admin/settings/register-settings.php:434
2971
  msgid "From Name"
2972
  msgstr ""
2973
 
2974
- #: includes/admin/settings/register-settings.php:435
2975
  msgid ""
2976
  "The name purchase receipts are said to come from. This should probably be "
2977
  "your site or shop name."
2978
  msgstr ""
2979
 
2980
- #: includes/admin/settings/register-settings.php:441
2981
  msgid "From Email"
2982
  msgstr ""
2983
 
2984
- #: includes/admin/settings/register-settings.php:442
2985
  msgid ""
2986
  "Email to send purchase receipts from. This will act as the \"from\" and "
2987
  "\"reply-to\" address."
2988
  msgstr ""
2989
 
2990
- #: includes/admin/settings/register-settings.php:448
2991
  msgid "Purchase Email Subject"
2992
  msgstr ""
2993
 
2994
- #: includes/admin/settings/register-settings.php:449
2995
  msgid "Enter the subject line for the purchase receipt email"
2996
  msgstr ""
2997
 
2998
- #: includes/admin/settings/register-settings.php:451
2999
- #: includes/admin/settings/register-settings.php:458
3000
- #: includes/admin/settings/register-settings.php:462
3001
  #: includes/emails/functions.php:36 includes/emails/functions.php:40
3002
  #: includes/emails/functions.php:77 includes/emails/functions.php:81
3003
  #: includes/emails/template.php:139
3004
  msgid "Purchase Receipt"
3005
  msgstr ""
3006
 
3007
- #: includes/admin/settings/register-settings.php:455
3008
  msgid "Purchase Email Heading"
3009
  msgstr ""
3010
 
3011
- #: includes/admin/settings/register-settings.php:456
3012
  msgid "Enter the heading for the purchase receipt email"
3013
  msgstr ""
3014
 
3015
- #: includes/admin/settings/register-settings.php:463
3016
  #: includes/deprecated-functions.php:301
3017
  msgid ""
3018
  "Enter the email that is sent to users after completing a successful "
3019
  "purchase. HTML is accepted. Available template tags:"
3020
  msgstr ""
3021
 
3022
- #: includes/admin/settings/register-settings.php:465
3023
  #: includes/emails/template.php:157
3024
  msgid "Dear"
3025
  msgstr ""
3026
 
3027
- #: includes/admin/settings/register-settings.php:465
3028
  #: includes/emails/template.php:158
3029
  msgid ""
3030
  "Thank you for your purchase. Please click on the link(s) below to download "
3031
  "your files."
3032
  msgstr ""
3033
 
3034
- #: includes/admin/settings/register-settings.php:469
3035
  msgid "New Sale Notifications"
3036
  msgstr ""
3037
 
3038
- #: includes/admin/settings/register-settings.php:470
3039
  msgid "Configure new sale notification emails"
3040
  msgstr ""
3041
 
3042
- #: includes/admin/settings/register-settings.php:475
3043
  msgid "Sale Notification Subject"
3044
  msgstr ""
3045
 
3046
- #: includes/admin/settings/register-settings.php:476
3047
  msgid "Enter the subject line for the sale notification email"
3048
  msgstr ""
3049
 
3050
- #: includes/admin/settings/register-settings.php:482
3051
  msgid "Sale Notification"
3052
  msgstr ""
3053
 
3054
- #: includes/admin/settings/register-settings.php:483
3055
  #: includes/deprecated-functions.php:334
3056
  msgid ""
3057
  "Enter the email that is sent to sale notification emails after completion "
3058
  "of a purchase. HTML is accepted. Available template tags:"
3059
  msgstr ""
3060
 
3061
- #: includes/admin/settings/register-settings.php:489
3062
  msgid "Sale Notification Emails"
3063
  msgstr ""
3064
 
3065
- #: includes/admin/settings/register-settings.php:490
3066
  msgid ""
3067
  "Enter the email address(es) that should receive a notification anytime a "
3068
  "sale is made, one per line"
3069
  msgstr ""
3070
 
3071
- #: includes/admin/settings/register-settings.php:496
3072
  msgid "Disable Admin Notifications"
3073
  msgstr ""
3074
 
3075
- #: includes/admin/settings/register-settings.php:497
3076
  msgid "Check this box if you do not want to receive emails when new sales are made."
3077
  msgstr ""
3078
 
3079
- #: includes/admin/settings/register-settings.php:507
3080
  msgid "Disable Styles"
3081
  msgstr ""
3082
 
3083
- #: includes/admin/settings/register-settings.php:508
3084
  msgid ""
3085
  "Check this to disable all included styling of buttons, checkout fields, and "
3086
  "all other elements."
3087
  msgstr ""
3088
 
3089
- #: includes/admin/settings/register-settings.php:513
3090
  msgid "Buttons"
3091
  msgstr ""
3092
 
3093
- #: includes/admin/settings/register-settings.php:514
3094
  msgid "Options for add to cart and purchase buttons"
3095
  msgstr ""
3096
 
3097
- #: includes/admin/settings/register-settings.php:519
3098
  msgid "Default Button Style"
3099
  msgstr ""
3100
 
3101
- #: includes/admin/settings/register-settings.php:520
3102
  msgid "Choose the style you want to use for the buttons."
3103
  msgstr ""
3104
 
3105
- #: includes/admin/settings/register-settings.php:526
3106
  msgid "Default Button Color"
3107
  msgstr ""
3108
 
3109
- #: includes/admin/settings/register-settings.php:527
3110
  msgid "Choose the color you want to use for the buttons."
3111
  msgstr ""
3112
 
3113
- #: includes/admin/settings/register-settings.php:538
3114
  msgid "Enable Taxes"
3115
  msgstr ""
3116
 
3117
- #: includes/admin/settings/register-settings.php:539
3118
  msgid "Check this to enable taxes on purchases."
3119
  msgstr ""
3120
 
3121
- #: includes/admin/settings/register-settings.php:544
3122
  msgid "Tax Rates"
3123
  msgstr ""
3124
 
3125
- #: includes/admin/settings/register-settings.php:545
3126
  msgid "Enter tax rates for specific regions."
3127
  msgstr ""
3128
 
3129
- #: includes/admin/settings/register-settings.php:550
3130
  msgid "Fallback Tax Rate"
3131
  msgstr ""
3132
 
3133
- #: includes/admin/settings/register-settings.php:551
3134
  msgid ""
3135
  "Enter a percentage, such as 6.5. Customers not in a specific rate will be "
3136
  "charged this rate."
3137
  msgstr ""
3138
 
3139
- #: includes/admin/settings/register-settings.php:557
3140
  msgid "Prices entered with tax"
3141
  msgstr ""
3142
 
3143
- #: includes/admin/settings/register-settings.php:558
3144
  msgid "This option affects how you enter prices."
3145
  msgstr ""
3146
 
3147
- #: includes/admin/settings/register-settings.php:562
3148
  msgid "Yes, I will enter prices inclusive of tax"
3149
  msgstr ""
3150
 
3151
- #: includes/admin/settings/register-settings.php:563
3152
  msgid "No, I will enter prices exclusive of tax"
3153
  msgstr ""
3154
 
3155
- #: includes/admin/settings/register-settings.php:568
3156
  msgid "Display Tax Rate on Prices"
3157
  msgstr ""
3158
 
3159
- #: includes/admin/settings/register-settings.php:569
3160
  msgid "Some countries require a notice when product prices include tax."
3161
  msgstr ""
3162
 
3163
- #: includes/admin/settings/register-settings.php:574
3164
  msgid "Display during checkout"
3165
  msgstr ""
3166
 
3167
- #: includes/admin/settings/register-settings.php:575
3168
  msgid "Should prices on the checkout page be shown with or without tax?"
3169
  msgstr ""
3170
 
3171
- #: includes/admin/settings/register-settings.php:579
3172
  msgid "Including tax"
3173
  msgstr ""
3174
 
3175
- #: includes/admin/settings/register-settings.php:580
3176
  msgid "Excluding tax"
3177
  msgstr ""
3178
 
3179
- #: includes/admin/settings/register-settings.php:597
3180
  msgid "Enable Ajax"
3181
  msgstr ""
3182
 
3183
- #: includes/admin/settings/register-settings.php:598
3184
  msgid "Check this to enable AJAX for the shopping cart."
3185
  msgstr ""
3186
 
3187
- #: includes/admin/settings/register-settings.php:604
3188
  msgid "Redirect to Checkout"
3189
  msgstr ""
3190
 
3191
- #: includes/admin/settings/register-settings.php:605
3192
  msgid "Immediately redirect to checkout after adding an item to the cart?"
3193
  msgstr ""
3194
 
3195
- #: includes/admin/settings/register-settings.php:610
3196
  msgid "Enforce SSL on Checkout"
3197
  msgstr ""
3198
 
3199
- #: includes/admin/settings/register-settings.php:611
3200
  msgid ""
3201
  "Check this to force users to be redirected to the secure checkout page. You "
3202
  "must have an SSL certificate installed to use this option."
3203
  msgstr ""
3204
 
3205
- #: includes/admin/settings/register-settings.php:616
3206
  msgid "Disable Guest Checkout"
3207
  msgstr ""
3208
 
3209
- #: includes/admin/settings/register-settings.php:617
3210
  msgid "Require that users be logged-in to purchase files."
3211
  msgstr ""
3212
 
3213
- #: includes/admin/settings/register-settings.php:622
3214
  msgid "Show Register / Login Form?"
3215
  msgstr ""
3216
 
3217
- #: includes/admin/settings/register-settings.php:623
3218
  msgid ""
3219
  "Display the registration and login forms on the checkout page for "
3220
  "non-logged-in users."
3221
  msgstr ""
3222
 
3223
- #: includes/admin/settings/register-settings.php:627
3224
  msgid "Registration and Login Forms"
3225
  msgstr ""
3226
 
3227
- #: includes/admin/settings/register-settings.php:628
3228
  msgid "Registration Form Only"
3229
  msgstr ""
3230
 
3231
- #: includes/admin/settings/register-settings.php:629
3232
  msgid "Login Form Only"
3233
  msgstr ""
3234
 
3235
- #: includes/admin/settings/register-settings.php:635
3236
  msgid "Item Quantities"
3237
  msgstr ""
3238
 
3239
- #: includes/admin/settings/register-settings.php:636
3240
  msgid "Allow item quantities to be changed."
3241
  msgstr ""
3242
 
3243
- #: includes/admin/settings/register-settings.php:641
3244
  msgid "Multiple Discounts"
3245
  msgstr ""
3246
 
3247
- #: includes/admin/settings/register-settings.php:642
3248
  msgid "Allow customers to use multiple discounts on the same purchase?"
3249
  msgstr ""
3250
 
3251
- #: includes/admin/settings/register-settings.php:647
3252
  msgid "Enable Cart Saving"
3253
  msgstr ""
3254
 
3255
- #: includes/admin/settings/register-settings.php:648
3256
  msgid "Check this to enable cart saving on the checkout."
3257
  msgstr ""
3258
 
3259
- #: includes/admin/settings/register-settings.php:659
3260
  msgid "Download Method"
3261
  msgstr ""
3262
 
3263
- #: includes/admin/settings/register-settings.php:660
3264
  msgid "Select the file download method. Note, not all methods work on all servers."
3265
  msgstr ""
3266
 
3267
- #: includes/admin/settings/register-settings.php:663
3268
  msgid "Forced"
3269
  msgstr ""
3270
 
3271
- #: includes/admin/settings/register-settings.php:664
3272
  msgid "Redirect"
3273
  msgstr ""
3274
 
3275
- #: includes/admin/settings/register-settings.php:669
3276
  msgid "Symlink File Downloads?"
3277
  msgstr ""
3278
 
3279
- #: includes/admin/settings/register-settings.php:670
3280
  msgid ""
3281
  "Check this if you are delivering really large files or having problems with "
3282
  "file downloads completing."
3283
  msgstr ""
3284
 
3285
- #: includes/admin/settings/register-settings.php:675
3286
  msgid "File Download Limit"
3287
  msgstr ""
3288
 
3289
- #: includes/admin/settings/register-settings.php:676
3290
  msgid ""
3291
  "The maximum number of times files can be downloaded for purchases. Can be "
3292
  "overwritten for each %s."
3293
  msgstr ""
3294
 
3295
- #: includes/admin/settings/register-settings.php:682
3296
  msgid "Download Link Expiration"
3297
  msgstr ""
3298
 
3299
- #: includes/admin/settings/register-settings.php:683
3300
  msgid ""
3301
  "How long should download links be valid for? Default is 24 hours from the "
3302
  "time they are generated. Enter a time in hours."
3303
  msgstr ""
3304
 
3305
- #: includes/admin/settings/register-settings.php:691
3306
  msgid "Disable Redownload?"
3307
  msgstr ""
3308
 
3309
- #: includes/admin/settings/register-settings.php:692
3310
  msgid ""
3311
  "Check this if you do not want to allow users to redownload items from their "
3312
  "purchase history."
3313
  msgstr ""
3314
 
3315
- #: includes/admin/settings/register-settings.php:697
3316
  msgid "Accounting Settings"
3317
  msgstr ""
3318
 
3319
- #: includes/admin/settings/register-settings.php:703
3320
  msgid "Enable SKU Entry"
3321
  msgstr ""
3322
 
3323
- #: includes/admin/settings/register-settings.php:704
3324
  msgid ""
3325
  "Check this box to allow entry of product SKUs. SKUs will be shown on "
3326
  "purchase receipt and exported purchase histories."
3327
  msgstr ""
3328
 
3329
- #: includes/admin/settings/register-settings.php:709
3330
  msgid "Sequential Order Numbers"
3331
  msgstr ""
3332
 
3333
- #: includes/admin/settings/register-settings.php:710
3334
  msgid "Check this box to enable sequential order numbers."
3335
  msgstr ""
3336
 
3337
- #: includes/admin/settings/register-settings.php:715
3338
  msgid "Sequential Starting Number"
3339
  msgstr ""
3340
 
3341
- #: includes/admin/settings/register-settings.php:716
3342
  msgid "The number that sequential order numbers should start at."
3343
  msgstr ""
3344
 
3345
- #: includes/admin/settings/register-settings.php:723
3346
  msgid "Sequential Number Prefix"
3347
  msgstr ""
3348
 
3349
- #: includes/admin/settings/register-settings.php:724
3350
  msgid "A prefix to prepend to all sequential order numbers."
3351
  msgstr ""
3352
 
3353
- #: includes/admin/settings/register-settings.php:729
3354
  msgid "Sequential Number Postfix"
3355
  msgstr ""
3356
 
3357
- #: includes/admin/settings/register-settings.php:730
3358
  msgid "A postfix to append to all sequential order numbers."
3359
  msgstr ""
3360
 
3361
- #: includes/admin/settings/register-settings.php:735
3362
  msgid "Terms of Agreement"
3363
  msgstr ""
3364
 
3365
- #: includes/admin/settings/register-settings.php:741
3366
  msgid "Agree to Terms"
3367
  msgstr ""
3368
 
3369
- #: includes/admin/settings/register-settings.php:742
3370
  msgid ""
3371
  "Check this to show an agree to terms on the checkout that users must agree "
3372
  "to before purchasing."
3373
  msgstr ""
3374
 
3375
- #: includes/admin/settings/register-settings.php:747
3376
  msgid "Agree to Terms Label"
3377
  msgstr ""
3378
 
3379
- #: includes/admin/settings/register-settings.php:748
3380
  msgid "Label shown next to the agree to terms check box."
3381
  msgstr ""
3382
 
3383
- #: includes/admin/settings/register-settings.php:754
3384
  msgid "Agreement Text"
3385
  msgstr ""
3386
 
3387
- #: includes/admin/settings/register-settings.php:755
3388
  msgid "If Agree to Terms is checked, enter the agreement terms here."
3389
  msgstr ""
3390
 
3391
- #: includes/admin/settings/register-settings.php:760
3392
  msgid "Complete Purchase Text"
3393
  msgstr ""
3394
 
3395
- #: includes/admin/settings/register-settings.php:761
3396
  msgid "The button label for completing a purchase."
3397
  msgstr ""
3398
 
3399
- #: includes/admin/settings/register-settings.php:767
3400
  msgid "Add to Cart Text"
3401
  msgstr ""
3402
 
3403
- #: includes/admin/settings/register-settings.php:768
3404
  msgid "Text shown on the Add to Cart Buttons."
3405
  msgstr ""
3406
 
3407
- #: includes/admin/settings/register-settings.php:774
3408
  msgid "Buy Now Text"
3409
  msgstr ""
3410
 
3411
- #: includes/admin/settings/register-settings.php:775
3412
  msgid "Text shown on the Buy Now Buttons."
3413
  msgstr ""
3414
 
3415
- #: includes/admin/settings/register-settings.php:848
3416
  msgid "Settings updated."
3417
  msgstr ""
3418
 
3419
- #: includes/admin/settings/register-settings.php:941
3420
  msgid "Licenses"
3421
  msgstr ""
3422
 
3423
- #: includes/admin/settings/register-settings.php:944
3424
  msgid "Misc"
3425
  msgstr ""
3426
 
3427
- #: includes/admin/settings/register-settings.php:1312
3428
  msgid "The callback function used for the <strong>%s</strong> setting is missing."
3429
  msgstr ""
3430
 
3431
- #: includes/admin/settings/register-settings.php:1450
3432
  msgid "Upload File"
3433
  msgstr ""
3434
 
3435
- #: includes/admin/settings/register-settings.php:1541
3436
  msgid "Apply rate to whole country, regardless of state / province"
3437
  msgstr ""
3438
 
3439
- #: includes/admin/settings/register-settings.php:1541
3440
  msgid "Country Wide"
3441
  msgstr ""
3442
 
3443
- #: includes/admin/settings/register-settings.php:1542
3444
  msgid "Rate"
3445
  msgstr ""
3446
 
3447
- #: includes/admin/settings/register-settings.php:1559
3448
- #: includes/admin/settings/register-settings.php:1602
3449
  msgid "Choose a country"
3450
  msgstr ""
3451
 
3452
- #: includes/admin/settings/register-settings.php:1574
3453
  msgid "Choose a state"
3454
  msgstr ""
3455
 
3456
- #: includes/admin/settings/register-settings.php:1585
3457
- #: includes/admin/settings/register-settings.php:1612
3458
  msgid "Apply to whole country"
3459
  msgstr ""
3460
 
3461
- #: includes/admin/settings/register-settings.php:1588
3462
- #: includes/admin/settings/register-settings.php:1615
3463
  msgid "Remove Rate"
3464
  msgstr ""
3465
 
3466
- #: includes/admin/settings/register-settings.php:1620
3467
  msgid "Add Tax Rate"
3468
  msgstr ""
3469
 
3470
- #: includes/admin/settings/register-settings.php:1661
3471
  msgid "Deactivate License"
3472
  msgstr ""
3473
 
@@ -3556,7 +3556,7 @@ msgstr ""
3556
  msgid ""
3557
  "These API keys allow you to use the <a href=\"%s\">EDD REST API</a> to "
3558
  "retrieve store data in JSON or XML for external applications or devices, "
3559
- "such as the <a href=\"%s\">EDD mobile apps</a>."
3560
  msgstr ""
3561
 
3562
  #: includes/admin/tools.php:257
@@ -3597,19 +3597,19 @@ msgstr ""
3597
  msgid "Please upload a file to import"
3598
  msgstr ""
3599
 
3600
- #: includes/admin/tracking.php:245
3601
  msgid ""
3602
  "Allow Easy Digital Downloads to track plugin usage? Opt-in to tracking and "
3603
- "our newsletter and immediately be emailed a 20% discount to the shop for <a "
3604
- "href=\"https://easydigitaldownloads.com/extensions\" "
3605
- "target=\"_blank\">Extensions and Themes</a>. No sensitive data is tracked."
3606
  msgstr ""
3607
 
3608
- #: includes/admin/tracking.php:246
3609
  msgid "Allow"
3610
  msgstr ""
3611
 
3612
- #: includes/admin/tracking.php:247
3613
  msgid "Do not allow"
3614
  msgstr ""
3615
 
@@ -3678,20 +3678,20 @@ msgid ""
3678
  msgstr ""
3679
 
3680
  #: includes/admin/upgrades/upgrade-functions.php:160
3681
- #: includes/admin/upgrades/upgrade-functions.php:513
3682
- #: includes/admin/upgrades/upgrade-functions.php:595
3683
- #: includes/admin/upgrades/upgrade-functions.php:706
3684
- #: includes/admin/upgrades/upgrade-functions.php:803
3685
- #: includes/admin/upgrades/upgrade-functions.php:877
3686
- #: includes/admin/upgrades/upgrade-functions.php:1005
3687
  msgid "You do not have permission to do shop upgrades"
3688
  msgstr ""
3689
 
3690
- #: includes/admin/upgrades/upgrade-functions.php:366 includes/install.php:85
3691
  msgid "Transaction Failed"
3692
  msgstr ""
3693
 
3694
- #: includes/admin/upgrades/upgrade-functions.php:367 includes/install.php:86
3695
  msgid "Your transaction failed, please try again or contact site support."
3696
  msgstr ""
3697
 
@@ -4077,7 +4077,7 @@ msgid ""
4077
  "New extensions that make Easy Digital Downloads even more powerful are "
4078
  "released nearly every single week. Subscribe to the newsletter to stay up "
4079
  "to date with our latest releases. <a href=\"http://eepurl.com/kaerz\" "
4080
- "target=\"_blank\">Signup now</a> to ensure you do not miss a release!"
4081
  msgstr ""
4082
 
4083
  #: includes/admin/welcome.php:405
@@ -4086,7 +4086,7 @@ msgstr ""
4086
 
4087
  #: includes/admin/welcome.php:406
4088
  msgid ""
4089
- "<a href=\"http://eepurl.com/kaerz\" target=\"_blank\">Signup now</a> to "
4090
  "hear about the latest tutorial releases that explain how to take Easy "
4091
  "Digital Downloads further."
4092
  msgstr ""
@@ -4166,52 +4166,52 @@ msgstr ""
4166
  msgid "No customers found!"
4167
  msgstr ""
4168
 
4169
- #: includes/api/class-edd-api.php:992 includes/api/class-edd-api.php:1185
4170
- #: includes/api/class-edd-api.php:1295
4171
  msgid "Product %s not found!"
4172
  msgstr ""
4173
 
4174
- #: includes/api/class-edd-api.php:1096 includes/api/class-edd-api.php:1202
4175
  msgid "The end date must be later than the start date!"
4176
  msgstr ""
4177
 
4178
- #: includes/api/class-edd-api.php:1101 includes/api/class-edd-api.php:1207
4179
  msgid "Invalid or no date range specified!"
4180
  msgstr ""
4181
 
4182
- #: includes/api/class-edd-api.php:1435
4183
  msgid "No discounts found!"
4184
  msgstr ""
4185
 
4186
- #: includes/api/class-edd-api.php:1482
4187
  msgid "Discount %s not found!"
4188
  msgstr ""
4189
 
4190
- #: includes/api/class-edd-api.php:1645
4191
  msgid "Easy Digital Downloads API Keys"
4192
  msgstr ""
4193
 
4194
- #: includes/api/class-edd-api.php:1654
4195
  msgid "Generate API Key"
4196
  msgstr ""
4197
 
4198
- #: includes/api/class-edd-api.php:1656
4199
  msgid "Public key:"
4200
  msgstr ""
4201
 
4202
- #: includes/api/class-edd-api.php:1657
4203
  msgid "Secret key:"
4204
  msgstr ""
4205
 
4206
- #: includes/api/class-edd-api.php:1658
4207
  msgid "Token:"
4208
  msgstr ""
4209
 
4210
- #: includes/api/class-edd-api.php:1660
4211
  msgid "Revoke API Keys"
4212
  msgstr ""
4213
 
4214
- #: includes/api/class-edd-api.php:1694 includes/api/class-edd-api.php:1696
4215
  msgid "You do not have permission to %s API keys for this user"
4216
  msgstr ""
4217
 
@@ -4223,24 +4223,24 @@ msgstr ""
4223
  msgid "excludes %s tax"
4224
  msgstr ""
4225
 
4226
- #: includes/cart/functions.php:1029 includes/cart/functions.php:1097
4227
  #: templates/shortcode-profile-editor.php:20
4228
  msgid "Success"
4229
  msgstr ""
4230
 
4231
- #: includes/cart/functions.php:1030
4232
  msgid "Cart saved successfully. You can restore your cart using this URL:"
4233
  msgstr ""
4234
 
4235
- #: includes/cart/functions.php:1067 includes/cart/functions.php:1084
4236
  msgid "Cart restoration failed. Invalid token."
4237
  msgstr ""
4238
 
4239
- #: includes/cart/functions.php:1075 includes/cart/functions.php:1087
4240
  msgid "The cart cannot be restored. Invalid token."
4241
  msgstr ""
4242
 
4243
- #: includes/cart/functions.php:1097
4244
  msgid "Cart restored successfully."
4245
  msgstr ""
4246
 
@@ -5478,12 +5478,12 @@ msgstr ""
5478
 
5479
  #: includes/gateways/amazon-payments.php:973
5480
  #: includes/gateways/amazon-payments.php:1027
5481
- #: includes/gateways/paypal-standard.php:274
5482
- #: includes/gateways/paypal-standard.php:279
5483
- #: includes/gateways/paypal-standard.php:340
5484
- #: includes/gateways/paypal-standard.php:349
5485
- #: includes/gateways/paypal-standard.php:399
5486
- #: includes/gateways/paypal-standard.php:406
5487
  msgid "IPN Error"
5488
  msgstr ""
5489
 
@@ -5542,105 +5542,105 @@ msgstr ""
5542
  msgid "Payment creation failed before sending buyer to PayPal. Payment data: %s"
5543
  msgstr ""
5544
 
5545
- #: includes/gateways/paypal-standard.php:274
5546
- #: includes/gateways/paypal-standard.php:279
5547
  msgid "Invalid IPN verification response. IPN data: %s"
5548
  msgstr ""
5549
 
5550
- #: includes/gateways/paypal-standard.php:340
5551
  msgid "Invalid business email in IPN response. IPN data: %s"
5552
  msgstr ""
5553
 
5554
- #: includes/gateways/paypal-standard.php:342
5555
  msgid "Payment failed due to invalid PayPal business email."
5556
  msgstr ""
5557
 
5558
- #: includes/gateways/paypal-standard.php:349
5559
  msgid "Invalid currency in IPN response. IPN data: %s"
5560
  msgstr ""
5561
 
5562
- #: includes/gateways/paypal-standard.php:351
5563
  msgid "Payment failed due to invalid currency in PayPal IPN."
5564
  msgstr ""
5565
 
5566
- #: includes/gateways/paypal-standard.php:399
5567
  msgid "Invalid payment amount in IPN response. IPN data: %s"
5568
  msgstr ""
5569
 
5570
- #: includes/gateways/paypal-standard.php:401
5571
  msgid "Payment failed due to invalid amount in PayPal IPN."
5572
  msgstr ""
5573
 
5574
- #: includes/gateways/paypal-standard.php:406
5575
  msgid "Invalid purchase key in IPN response. IPN data: %s"
5576
  msgstr ""
5577
 
5578
- #: includes/gateways/paypal-standard.php:408
5579
  msgid "Payment failed due to invalid purchase key in PayPal IPN."
5580
  msgstr ""
5581
 
5582
- #: includes/gateways/paypal-standard.php:414
5583
  #: tests/helpers/class-helper-payment.php:124 tests/tests-payments.php:29
5584
  msgid "PayPal Transaction ID: %s"
5585
  msgstr ""
5586
 
5587
- #: includes/gateways/paypal-standard.php:428
5588
  msgid "Payment made via eCheck and will clear automatically in 5-8 days"
5589
  msgstr ""
5590
 
5591
- #: includes/gateways/paypal-standard.php:434
5592
  msgid ""
5593
  "Payment requires a confirmed customer address and must be accepted manually "
5594
  "through PayPal"
5595
  msgstr ""
5596
 
5597
- #: includes/gateways/paypal-standard.php:440
5598
  msgid ""
5599
  "Payment must be accepted manually through PayPal due to international "
5600
  "account regulations"
5601
  msgstr ""
5602
 
5603
- #: includes/gateways/paypal-standard.php:446
5604
  msgid ""
5605
  "Payment received in non-shop currency and must be accepted manually through "
5606
  "PayPal"
5607
  msgstr ""
5608
 
5609
- #: includes/gateways/paypal-standard.php:453
5610
  msgid ""
5611
  "Payment is being reviewed by PayPal staff as high-risk or in possible "
5612
  "violation of government regulations"
5613
  msgstr ""
5614
 
5615
- #: includes/gateways/paypal-standard.php:459
5616
  msgid "Payment was sent to non-confirmed or non-registered email address."
5617
  msgstr ""
5618
 
5619
- #: includes/gateways/paypal-standard.php:465
5620
  msgid "PayPal account must be upgraded before this payment can be accepted"
5621
  msgstr ""
5622
 
5623
- #: includes/gateways/paypal-standard.php:471
5624
  msgid ""
5625
  "PayPal account is not verified. Verify account in order to accept this "
5626
  "payment"
5627
  msgstr ""
5628
 
5629
- #: includes/gateways/paypal-standard.php:477
5630
  msgid ""
5631
  "Payment is pending for unknown reasons. Contact PayPal support for "
5632
  "assistance"
5633
  msgstr ""
5634
 
5635
- #: includes/gateways/paypal-standard.php:518
5636
  msgid "Partial PayPal refund processed: %s"
5637
  msgstr ""
5638
 
5639
- #: includes/gateways/paypal-standard.php:523
5640
  msgid "PayPal Payment #%s Refunded for reason: %s"
5641
  msgstr ""
5642
 
5643
- #: includes/gateways/paypal-standard.php:524
5644
  msgid "PayPal Refund Transaction ID: %s"
5645
  msgstr ""
5646
 
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.4.2\n"
6
  "Report-Msgid-Bugs-To: https://easydigitaldownloads.com/\n"
7
+ "POT-Creation-Date: 2015-07-22 07:35:56+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
67
  #: includes/admin/reporting/class-export.php:172
68
  #: includes/admin/reporting/class-gateway-error-logs-list-table.php:119
69
  #: includes/admin/reporting/export/class-batch-export.php:112
70
+ #: includes/admin/reporting/export/export-actions.php:23
71
  #: includes/admin/reporting/pdf-reports.php:29
72
  #: includes/admin/reporting/pdf-reports.php:33
73
  #: includes/admin/reporting/reports.php:97 includes/admin/tools.php:347
74
  #: includes/admin/tools.php:353
75
  #: includes/admin/upgrades/upgrade-functions.php:160
76
+ #: includes/admin/upgrades/upgrade-functions.php:476
77
+ #: includes/admin/upgrades/upgrade-functions.php:558
78
+ #: includes/admin/upgrades/upgrade-functions.php:669
79
+ #: includes/admin/upgrades/upgrade-functions.php:766
80
+ #: includes/admin/upgrades/upgrade-functions.php:840
81
+ #: includes/admin/upgrades/upgrade-functions.php:968
82
+ #: includes/api/class-edd-api.php:1682 includes/api/class-edd-api.php:1695
83
+ #: includes/api/class-edd-api.php:1697 includes/cart/functions.php:1061
84
+ #: includes/cart/functions.php:1078 includes/class-edd-license-handler.php:188
85
  #: includes/class-edd-license-handler.php:261
86
  #: includes/deprecated-functions.php:517 includes/deprecated-functions.php:532
87
  #: includes/deprecated-functions.php:542 includes/download-functions.php:1152
163
 
164
  #: includes/admin/admin-pages.php:41 includes/admin/plugins.php:59
165
  #: includes/admin/settings/contextual-help.php:87
166
+ #: includes/admin/settings/register-settings.php:941
167
  msgid "Extensions"
168
  msgstr ""
169
 
487
  msgstr ""
488
 
489
  #: includes/admin/customers/customers.php:246
490
+ #: includes/admin/settings/register-settings.php:1543
491
  #: includes/checkout/template.php:416 templates/shortcode-profile-editor.php:82
492
  msgid "State / Province"
493
  msgstr ""
587
  #: includes/admin/reporting/class-export.php:70
588
  #: includes/admin/reporting/class-file-downloads-logs-list-table.php:138
589
  #: includes/admin/reporting/class-gateway-error-logs-list-table.php:122
590
+ #: includes/admin/reporting/class-sales-logs-list-table.php:101
591
  #: includes/admin/reporting/export/class-batch-export-file-downloads.php:42
592
  #: includes/admin/reporting/export/class-batch-export-payments.php:59
593
  #: templates/history-purchases.php:14 templates/shortcode-receipt.php:59
897
  #: includes/admin/discounts/class-discount-codes-table.php:127
898
  #: includes/admin/payments/class-payments-table.php:199
899
  #: includes/admin/reporting/class-file-downloads-logs-list-table.php:336
900
+ #: includes/admin/reporting/class-sales-logs-list-table.php:256
901
  msgid "All"
902
  msgstr ""
903
 
1002
 
1003
  #: includes/admin/discounts/contextual-help.php:38
1004
  #: includes/admin/settings/contextual-help.php:42
1005
+ #: includes/admin/settings/register-settings.php:934
1006
  #: includes/admin/tools.php:68
1007
  msgid "General"
1008
  msgstr ""
1402
  msgstr ""
1403
 
1404
  #: includes/admin/downloads/metabox.php:865
1405
+ #: includes/admin/settings/register-settings.php:766
1406
  #: includes/admin/thickbox.php:62 includes/checkout/template.php:829
1407
  #: includes/scripts.php:58 includes/shortcodes.php:36
1408
  #: includes/template-functions.php:67
1430
  msgstr ""
1431
 
1432
  #: includes/admin/downloads/metabox.php:934
1433
+ #: includes/admin/settings/register-settings.php:773
1434
  #: includes/admin/thickbox.php:100
1435
  msgid "Add to Cart"
1436
  msgstr ""
1437
 
1438
  #: includes/admin/downloads/metabox.php:935
1439
+ #: includes/admin/settings/register-settings.php:780 includes/shortcodes.php:46
1440
  #: includes/template-functions.php:67
1441
  msgid "Buy Now"
1442
  msgstr ""
1545
  #: includes/admin/payments/class-payments-table.php:226
1546
  #: includes/admin/reporting/class-export-payments.php:81
1547
  #: includes/admin/reporting/class-file-downloads-logs-list-table.php:134
1548
+ #: includes/admin/reporting/class-sales-logs-list-table.php:97
1549
  #: includes/admin/reporting/export/class-batch-export-payments.php:60
1550
  msgid "User"
1551
  msgstr ""
1743
  msgstr ""
1744
 
1745
  #: includes/admin/payments/view-order-details.php:102
1746
+ #: includes/admin/settings/register-settings.php:633
1747
  msgid "None"
1748
  msgstr ""
1749
 
1838
  msgstr ""
1839
 
1840
  #: includes/admin/payments/view-order-details.php:333
1841
+ #: includes/admin/settings/register-settings.php:1546 includes/scripts.php:203
1842
  #: templates/checkout_cart.php:52 templates/checkout_cart.php:70
1843
  msgid "Remove"
1844
  msgstr ""
1928
  #: includes/admin/reporting/class-api-requests-logs-list-table.php:89
1929
  #: includes/admin/reporting/class-file-downloads-logs-list-table.php:132
1930
  #: includes/admin/reporting/class-gateway-error-logs-list-table.php:117
1931
+ #: includes/admin/reporting/class-sales-logs-list-table.php:96
1932
  msgid "Log ID"
1933
  msgstr ""
1934
 
2070
 
2071
  #: includes/admin/reporting/class-export-payments.php:70
2072
  #: includes/admin/reporting/export/class-batch-export-payments.php:49
2073
+ #: includes/admin/settings/register-settings.php:1542
2074
  #: templates/shortcode-profile-editor.php:75
2075
  msgid "Country"
2076
  msgstr ""
2114
 
2115
  #: includes/admin/reporting/class-file-downloads-logs-list-table.php:135
2116
  #: includes/admin/reporting/class-gateway-error-logs-list-table.php:118
2117
+ #: includes/admin/reporting/class-sales-logs-list-table.php:100
2118
  msgid "Payment ID"
2119
  msgstr ""
2120
 
2148
  msgid "Pending / Failed Sales"
2149
  msgstr ""
2150
 
2151
+ #: includes/admin/reporting/class-sales-logs-list-table.php:99
2152
  msgid "Item Amount"
2153
  msgstr ""
2154
 
2223
  msgid "Customer Value"
2224
  msgstr ""
2225
 
2226
+ #: includes/admin/reporting/export/export-actions.php:23
2227
  #: includes/admin/reporting/pdf-reports.php:33
2228
+ #: includes/api/class-edd-api.php:1682
2229
  #: includes/class-edd-license-handler.php:188
2230
  #: includes/class-edd-license-handler.php:261
2231
  msgid "Nonce verification failed"
2322
  msgstr ""
2323
 
2324
  #: includes/admin/reporting/logs.php:144
2325
+ #: includes/admin/settings/register-settings.php:656
2326
  msgid "File Downloads"
2327
  msgstr ""
2328
 
2445
 
2446
  #: includes/admin/reporting/reports.php:58
2447
  #: includes/admin/settings/contextual-help.php:71
2448
+ #: includes/admin/settings/register-settings.php:938
2449
  msgid "Taxes"
2450
  msgstr ""
2451
 
2576
  msgstr ""
2577
 
2578
  #: includes/admin/settings/contextual-help.php:48
2579
+ #: includes/admin/settings/register-settings.php:359
2580
+ #: includes/admin/settings/register-settings.php:935
2581
  msgid "Payment Gateways"
2582
  msgstr ""
2583
 
2606
  msgstr ""
2607
 
2608
  #: includes/admin/settings/contextual-help.php:57
2609
+ #: includes/admin/settings/register-settings.php:936
2610
  msgid "Emails"
2611
  msgstr ""
2612
 
2626
  msgstr ""
2627
 
2628
  #: includes/admin/settings/contextual-help.php:65
2629
+ #: includes/admin/settings/register-settings.php:937
2630
  msgid "Styles"
2631
  msgstr ""
2632
 
2857
  msgid "Allow Usage Tracking?"
2858
  msgstr ""
2859
 
2860
+ #: includes/admin/settings/register-settings.php:335
2861
  msgid ""
2862
  "Allow Easy Digital Downloads to anonymously track how this plugin is used "
2863
+ "and help us make the plugin better. Opt-in to tracking and our newsletter "
2864
+ "and immediately be emailed a 20%% discount to the EDD shop, valid twoards "
2865
+ "the <a href=\"%s\" target=\"_blank\">purchase of extensions</a>. No "
2866
+ "sensitive data is tracked."
2867
  msgstr ""
2868
 
2869
+ #: includes/admin/settings/register-settings.php:342
2870
  msgid "Remove Data on Uninstall?"
2871
  msgstr ""
2872
 
2873
+ #: includes/admin/settings/register-settings.php:343
2874
  msgid ""
2875
  "Check this box if you would like EDD to completely remove all of its data "
2876
  "when the plugin is deleted."
2877
  msgstr ""
2878
 
2879
+ #: includes/admin/settings/register-settings.php:353
2880
  msgid "Test Mode"
2881
  msgstr ""
2882
 
2883
+ #: includes/admin/settings/register-settings.php:354
2884
  msgid ""
2885
  "While in test mode no live transactions are processed. To fully use test "
2886
  "mode, you must have a sandbox (test) account for the payment gateway you "
2887
  "are testing."
2888
  msgstr ""
2889
 
2890
+ #: includes/admin/settings/register-settings.php:360
2891
  msgid "Choose the payment gateways you want to enable."
2892
  msgstr ""
2893
 
2894
+ #: includes/admin/settings/register-settings.php:366
2895
  msgid "Default Gateway"
2896
  msgstr ""
2897
 
2898
+ #: includes/admin/settings/register-settings.php:367
2899
  msgid "This gateway will be loaded automatically with the checkout page."
2900
  msgstr ""
2901
 
2902
+ #: includes/admin/settings/register-settings.php:373
2903
  msgid "Accepted Payment Method Icons"
2904
  msgstr ""
2905
 
2906
+ #: includes/admin/settings/register-settings.php:374
2907
  msgid "Display icons for the selected payment methods"
2908
  msgstr ""
2909
 
2910
+ #: includes/admin/settings/register-settings.php:374
2911
  msgid ""
2912
  "You will also need to configure your gateway settings if you are accepting "
2913
  "credit cards"
2914
  msgstr ""
2915
 
2916
+ #: includes/admin/settings/register-settings.php:387
2917
  msgid "PayPal Settings"
2918
  msgstr ""
2919
 
2920
+ #: includes/admin/settings/register-settings.php:388
2921
  msgid "Configure the PayPal settings"
2922
  msgstr ""
2923
 
2924
+ #: includes/admin/settings/register-settings.php:393
2925
  msgid "PayPal Email"
2926
  msgstr ""
2927
 
2928
+ #: includes/admin/settings/register-settings.php:394
2929
  msgid "Enter your PayPal account's email"
2930
  msgstr ""
2931
 
2932
+ #: includes/admin/settings/register-settings.php:400
2933
  msgid "PayPal Page Style"
2934
  msgstr ""
2935
 
2936
+ #: includes/admin/settings/register-settings.php:401
2937
  msgid "Enter the name of the page style to use, or leave blank for default"
2938
  msgstr ""
2939
 
2940
+ #: includes/admin/settings/register-settings.php:407
2941
  msgid "Disable PayPal IPN Verification"
2942
  msgstr ""
2943
 
2944
+ #: includes/admin/settings/register-settings.php:408
2945
  msgid ""
2946
  "If payments are not getting marked as complete, then check this box. This "
2947
  "forces the site to use a slightly less secure method of verifying purchases."
2948
  msgstr ""
2949
 
2950
+ #: includes/admin/settings/register-settings.php:418
2951
  msgid "Email Template"
2952
  msgstr ""
2953
 
2954
+ #: includes/admin/settings/register-settings.php:419
2955
  msgid ""
2956
  "Choose a template. Click \"Save Changes\" then \"Preview Purchase Receipt\" "
2957
  "to see the new template."
2958
  msgstr ""
2959
 
2960
+ #: includes/admin/settings/register-settings.php:425
2961
  msgid "Logo"
2962
  msgstr ""
2963
 
2964
+ #: includes/admin/settings/register-settings.php:426
2965
  msgid ""
2966
  "Upload or choose a logo to be displayed at the top of the purchase receipt "
2967
  "emails. Displayed on HTML emails only."
2968
  msgstr ""
2969
 
2970
+ #: includes/admin/settings/register-settings.php:437
2971
  msgid "From Name"
2972
  msgstr ""
2973
 
2974
+ #: includes/admin/settings/register-settings.php:438
2975
  msgid ""
2976
  "The name purchase receipts are said to come from. This should probably be "
2977
  "your site or shop name."
2978
  msgstr ""
2979
 
2980
+ #: includes/admin/settings/register-settings.php:444
2981
  msgid "From Email"
2982
  msgstr ""
2983
 
2984
+ #: includes/admin/settings/register-settings.php:445
2985
  msgid ""
2986
  "Email to send purchase receipts from. This will act as the \"from\" and "
2987
  "\"reply-to\" address."
2988
  msgstr ""
2989
 
2990
+ #: includes/admin/settings/register-settings.php:451
2991
  msgid "Purchase Email Subject"
2992
  msgstr ""
2993
 
2994
+ #: includes/admin/settings/register-settings.php:452
2995
  msgid "Enter the subject line for the purchase receipt email"
2996
  msgstr ""
2997
 
2998
+ #: includes/admin/settings/register-settings.php:454
2999
+ #: includes/admin/settings/register-settings.php:461
3000
+ #: includes/admin/settings/register-settings.php:465
3001
  #: includes/emails/functions.php:36 includes/emails/functions.php:40
3002
  #: includes/emails/functions.php:77 includes/emails/functions.php:81
3003
  #: includes/emails/template.php:139
3004
  msgid "Purchase Receipt"
3005
  msgstr ""
3006
 
3007
+ #: includes/admin/settings/register-settings.php:458
3008
  msgid "Purchase Email Heading"
3009
  msgstr ""
3010
 
3011
+ #: includes/admin/settings/register-settings.php:459
3012
  msgid "Enter the heading for the purchase receipt email"
3013
  msgstr ""
3014
 
3015
+ #: includes/admin/settings/register-settings.php:466
3016
  #: includes/deprecated-functions.php:301
3017
  msgid ""
3018
  "Enter the email that is sent to users after completing a successful "
3019
  "purchase. HTML is accepted. Available template tags:"
3020
  msgstr ""
3021
 
3022
+ #: includes/admin/settings/register-settings.php:468
3023
  #: includes/emails/template.php:157
3024
  msgid "Dear"
3025
  msgstr ""
3026
 
3027
+ #: includes/admin/settings/register-settings.php:468
3028
  #: includes/emails/template.php:158
3029
  msgid ""
3030
  "Thank you for your purchase. Please click on the link(s) below to download "
3031
  "your files."
3032
  msgstr ""
3033
 
3034
+ #: includes/admin/settings/register-settings.php:472
3035
  msgid "New Sale Notifications"
3036
  msgstr ""
3037
 
3038
+ #: includes/admin/settings/register-settings.php:473
3039
  msgid "Configure new sale notification emails"
3040
  msgstr ""
3041
 
3042
+ #: includes/admin/settings/register-settings.php:478
3043
  msgid "Sale Notification Subject"
3044
  msgstr ""
3045
 
3046
+ #: includes/admin/settings/register-settings.php:479
3047
  msgid "Enter the subject line for the sale notification email"
3048
  msgstr ""
3049
 
3050
+ #: includes/admin/settings/register-settings.php:485
3051
  msgid "Sale Notification"
3052
  msgstr ""
3053
 
3054
+ #: includes/admin/settings/register-settings.php:486
3055
  #: includes/deprecated-functions.php:334
3056
  msgid ""
3057
  "Enter the email that is sent to sale notification emails after completion "
3058
  "of a purchase. HTML is accepted. Available template tags:"
3059
  msgstr ""
3060
 
3061
+ #: includes/admin/settings/register-settings.php:492
3062
  msgid "Sale Notification Emails"
3063
  msgstr ""
3064
 
3065
+ #: includes/admin/settings/register-settings.php:493
3066
  msgid ""
3067
  "Enter the email address(es) that should receive a notification anytime a "
3068
  "sale is made, one per line"
3069
  msgstr ""
3070
 
3071
+ #: includes/admin/settings/register-settings.php:499
3072
  msgid "Disable Admin Notifications"
3073
  msgstr ""
3074
 
3075
+ #: includes/admin/settings/register-settings.php:500
3076
  msgid "Check this box if you do not want to receive emails when new sales are made."
3077
  msgstr ""
3078
 
3079
+ #: includes/admin/settings/register-settings.php:510
3080
  msgid "Disable Styles"
3081
  msgstr ""
3082
 
3083
+ #: includes/admin/settings/register-settings.php:511
3084
  msgid ""
3085
  "Check this to disable all included styling of buttons, checkout fields, and "
3086
  "all other elements."
3087
  msgstr ""
3088
 
3089
+ #: includes/admin/settings/register-settings.php:516
3090
  msgid "Buttons"
3091
  msgstr ""
3092
 
3093
+ #: includes/admin/settings/register-settings.php:517
3094
  msgid "Options for add to cart and purchase buttons"
3095
  msgstr ""
3096
 
3097
+ #: includes/admin/settings/register-settings.php:522
3098
  msgid "Default Button Style"
3099
  msgstr ""
3100
 
3101
+ #: includes/admin/settings/register-settings.php:523
3102
  msgid "Choose the style you want to use for the buttons."
3103
  msgstr ""
3104
 
3105
+ #: includes/admin/settings/register-settings.php:529
3106
  msgid "Default Button Color"
3107
  msgstr ""
3108
 
3109
+ #: includes/admin/settings/register-settings.php:530
3110
  msgid "Choose the color you want to use for the buttons."
3111
  msgstr ""
3112
 
3113
+ #: includes/admin/settings/register-settings.php:541
3114
  msgid "Enable Taxes"
3115
  msgstr ""
3116
 
3117
+ #: includes/admin/settings/register-settings.php:542
3118
  msgid "Check this to enable taxes on purchases."
3119
  msgstr ""
3120
 
3121
+ #: includes/admin/settings/register-settings.php:547
3122
  msgid "Tax Rates"
3123
  msgstr ""
3124
 
3125
+ #: includes/admin/settings/register-settings.php:548
3126
  msgid "Enter tax rates for specific regions."
3127
  msgstr ""
3128
 
3129
+ #: includes/admin/settings/register-settings.php:553
3130
  msgid "Fallback Tax Rate"
3131
  msgstr ""
3132
 
3133
+ #: includes/admin/settings/register-settings.php:554
3134
  msgid ""
3135
  "Enter a percentage, such as 6.5. Customers not in a specific rate will be "
3136
  "charged this rate."
3137
  msgstr ""
3138
 
3139
+ #: includes/admin/settings/register-settings.php:560
3140
  msgid "Prices entered with tax"
3141
  msgstr ""
3142
 
3143
+ #: includes/admin/settings/register-settings.php:561
3144
  msgid "This option affects how you enter prices."
3145
  msgstr ""
3146
 
3147
+ #: includes/admin/settings/register-settings.php:565
3148
  msgid "Yes, I will enter prices inclusive of tax"
3149
  msgstr ""
3150
 
3151
+ #: includes/admin/settings/register-settings.php:566
3152
  msgid "No, I will enter prices exclusive of tax"
3153
  msgstr ""
3154
 
3155
+ #: includes/admin/settings/register-settings.php:571
3156
  msgid "Display Tax Rate on Prices"
3157
  msgstr ""
3158
 
3159
+ #: includes/admin/settings/register-settings.php:572
3160
  msgid "Some countries require a notice when product prices include tax."
3161
  msgstr ""
3162
 
3163
+ #: includes/admin/settings/register-settings.php:577
3164
  msgid "Display during checkout"
3165
  msgstr ""
3166
 
3167
+ #: includes/admin/settings/register-settings.php:578
3168
  msgid "Should prices on the checkout page be shown with or without tax?"
3169
  msgstr ""
3170
 
3171
+ #: includes/admin/settings/register-settings.php:582
3172
  msgid "Including tax"
3173
  msgstr ""
3174
 
3175
+ #: includes/admin/settings/register-settings.php:583
3176
  msgid "Excluding tax"
3177
  msgstr ""
3178
 
3179
+ #: includes/admin/settings/register-settings.php:600
3180
  msgid "Enable Ajax"
3181
  msgstr ""
3182
 
3183
+ #: includes/admin/settings/register-settings.php:601
3184
  msgid "Check this to enable AJAX for the shopping cart."
3185
  msgstr ""
3186
 
3187
+ #: includes/admin/settings/register-settings.php:607
3188
  msgid "Redirect to Checkout"
3189
  msgstr ""
3190
 
3191
+ #: includes/admin/settings/register-settings.php:608
3192
  msgid "Immediately redirect to checkout after adding an item to the cart?"
3193
  msgstr ""
3194
 
3195
+ #: includes/admin/settings/register-settings.php:613
3196
  msgid "Enforce SSL on Checkout"
3197
  msgstr ""
3198
 
3199
+ #: includes/admin/settings/register-settings.php:614
3200
  msgid ""
3201
  "Check this to force users to be redirected to the secure checkout page. You "
3202
  "must have an SSL certificate installed to use this option."
3203
  msgstr ""
3204
 
3205
+ #: includes/admin/settings/register-settings.php:619
3206
  msgid "Disable Guest Checkout"
3207
  msgstr ""
3208
 
3209
+ #: includes/admin/settings/register-settings.php:620
3210
  msgid "Require that users be logged-in to purchase files."
3211
  msgstr ""
3212
 
3213
+ #: includes/admin/settings/register-settings.php:625
3214
  msgid "Show Register / Login Form?"
3215
  msgstr ""
3216
 
3217
+ #: includes/admin/settings/register-settings.php:626
3218
  msgid ""
3219
  "Display the registration and login forms on the checkout page for "
3220
  "non-logged-in users."
3221
  msgstr ""
3222
 
3223
+ #: includes/admin/settings/register-settings.php:630
3224
  msgid "Registration and Login Forms"
3225
  msgstr ""
3226
 
3227
+ #: includes/admin/settings/register-settings.php:631
3228
  msgid "Registration Form Only"
3229
  msgstr ""
3230
 
3231
+ #: includes/admin/settings/register-settings.php:632
3232
  msgid "Login Form Only"
3233
  msgstr ""
3234
 
3235
+ #: includes/admin/settings/register-settings.php:638
3236
  msgid "Item Quantities"
3237
  msgstr ""
3238
 
3239
+ #: includes/admin/settings/register-settings.php:639
3240
  msgid "Allow item quantities to be changed."
3241
  msgstr ""
3242
 
3243
+ #: includes/admin/settings/register-settings.php:644
3244
  msgid "Multiple Discounts"
3245
  msgstr ""
3246
 
3247
+ #: includes/admin/settings/register-settings.php:645
3248
  msgid "Allow customers to use multiple discounts on the same purchase?"
3249
  msgstr ""
3250
 
3251
+ #: includes/admin/settings/register-settings.php:650
3252
  msgid "Enable Cart Saving"
3253
  msgstr ""
3254
 
3255
+ #: includes/admin/settings/register-settings.php:651
3256
  msgid "Check this to enable cart saving on the checkout."
3257
  msgstr ""
3258
 
3259
+ #: includes/admin/settings/register-settings.php:662
3260
  msgid "Download Method"
3261
  msgstr ""
3262
 
3263
+ #: includes/admin/settings/register-settings.php:663
3264
  msgid "Select the file download method. Note, not all methods work on all servers."
3265
  msgstr ""
3266
 
3267
+ #: includes/admin/settings/register-settings.php:666
3268
  msgid "Forced"
3269
  msgstr ""
3270
 
3271
+ #: includes/admin/settings/register-settings.php:667
3272
  msgid "Redirect"
3273
  msgstr ""
3274
 
3275
+ #: includes/admin/settings/register-settings.php:672
3276
  msgid "Symlink File Downloads?"
3277
  msgstr ""
3278
 
3279
+ #: includes/admin/settings/register-settings.php:673
3280
  msgid ""
3281
  "Check this if you are delivering really large files or having problems with "
3282
  "file downloads completing."
3283
  msgstr ""
3284
 
3285
+ #: includes/admin/settings/register-settings.php:678
3286
  msgid "File Download Limit"
3287
  msgstr ""
3288
 
3289
+ #: includes/admin/settings/register-settings.php:679
3290
  msgid ""
3291
  "The maximum number of times files can be downloaded for purchases. Can be "
3292
  "overwritten for each %s."
3293
  msgstr ""
3294
 
3295
+ #: includes/admin/settings/register-settings.php:685
3296
  msgid "Download Link Expiration"
3297
  msgstr ""
3298
 
3299
+ #: includes/admin/settings/register-settings.php:686
3300
  msgid ""
3301
  "How long should download links be valid for? Default is 24 hours from the "
3302
  "time they are generated. Enter a time in hours."
3303
  msgstr ""
3304
 
3305
+ #: includes/admin/settings/register-settings.php:694
3306
  msgid "Disable Redownload?"
3307
  msgstr ""
3308
 
3309
+ #: includes/admin/settings/register-settings.php:695
3310
  msgid ""
3311
  "Check this if you do not want to allow users to redownload items from their "
3312
  "purchase history."
3313
  msgstr ""
3314
 
3315
+ #: includes/admin/settings/register-settings.php:700
3316
  msgid "Accounting Settings"
3317
  msgstr ""
3318
 
3319
+ #: includes/admin/settings/register-settings.php:706
3320
  msgid "Enable SKU Entry"
3321
  msgstr ""
3322
 
3323
+ #: includes/admin/settings/register-settings.php:707
3324
  msgid ""
3325
  "Check this box to allow entry of product SKUs. SKUs will be shown on "
3326
  "purchase receipt and exported purchase histories."
3327
  msgstr ""
3328
 
3329
+ #: includes/admin/settings/register-settings.php:712
3330
  msgid "Sequential Order Numbers"
3331
  msgstr ""
3332
 
3333
+ #: includes/admin/settings/register-settings.php:713
3334
  msgid "Check this box to enable sequential order numbers."
3335
  msgstr ""
3336
 
3337
+ #: includes/admin/settings/register-settings.php:718
3338
  msgid "Sequential Starting Number"
3339
  msgstr ""
3340
 
3341
+ #: includes/admin/settings/register-settings.php:719
3342
  msgid "The number that sequential order numbers should start at."
3343
  msgstr ""
3344
 
3345
+ #: includes/admin/settings/register-settings.php:726
3346
  msgid "Sequential Number Prefix"
3347
  msgstr ""
3348
 
3349
+ #: includes/admin/settings/register-settings.php:727
3350
  msgid "A prefix to prepend to all sequential order numbers."
3351
  msgstr ""
3352
 
3353
+ #: includes/admin/settings/register-settings.php:732
3354
  msgid "Sequential Number Postfix"
3355
  msgstr ""
3356
 
3357
+ #: includes/admin/settings/register-settings.php:733
3358
  msgid "A postfix to append to all sequential order numbers."
3359
  msgstr ""
3360
 
3361
+ #: includes/admin/settings/register-settings.php:738
3362
  msgid "Terms of Agreement"
3363
  msgstr ""
3364
 
3365
+ #: includes/admin/settings/register-settings.php:744
3366
  msgid "Agree to Terms"
3367
  msgstr ""
3368
 
3369
+ #: includes/admin/settings/register-settings.php:745
3370
  msgid ""
3371
  "Check this to show an agree to terms on the checkout that users must agree "
3372
  "to before purchasing."
3373
  msgstr ""
3374
 
3375
+ #: includes/admin/settings/register-settings.php:750
3376
  msgid "Agree to Terms Label"
3377
  msgstr ""
3378
 
3379
+ #: includes/admin/settings/register-settings.php:751
3380
  msgid "Label shown next to the agree to terms check box."
3381
  msgstr ""
3382
 
3383
+ #: includes/admin/settings/register-settings.php:757
3384
  msgid "Agreement Text"
3385
  msgstr ""
3386
 
3387
+ #: includes/admin/settings/register-settings.php:758
3388
  msgid "If Agree to Terms is checked, enter the agreement terms here."
3389
  msgstr ""
3390
 
3391
+ #: includes/admin/settings/register-settings.php:763
3392
  msgid "Complete Purchase Text"
3393
  msgstr ""
3394
 
3395
+ #: includes/admin/settings/register-settings.php:764
3396
  msgid "The button label for completing a purchase."
3397
  msgstr ""
3398
 
3399
+ #: includes/admin/settings/register-settings.php:770
3400
  msgid "Add to Cart Text"
3401
  msgstr ""
3402
 
3403
+ #: includes/admin/settings/register-settings.php:771
3404
  msgid "Text shown on the Add to Cart Buttons."
3405
  msgstr ""
3406
 
3407
+ #: includes/admin/settings/register-settings.php:777
3408
  msgid "Buy Now Text"
3409
  msgstr ""
3410
 
3411
+ #: includes/admin/settings/register-settings.php:778
3412
  msgid "Text shown on the Buy Now Buttons."
3413
  msgstr ""
3414
 
3415
+ #: includes/admin/settings/register-settings.php:851
3416
  msgid "Settings updated."
3417
  msgstr ""
3418
 
3419
+ #: includes/admin/settings/register-settings.php:944
3420
  msgid "Licenses"
3421
  msgstr ""
3422
 
3423
+ #: includes/admin/settings/register-settings.php:947
3424
  msgid "Misc"
3425
  msgstr ""
3426
 
3427
+ #: includes/admin/settings/register-settings.php:1315
3428
  msgid "The callback function used for the <strong>%s</strong> setting is missing."
3429
  msgstr ""
3430
 
3431
+ #: includes/admin/settings/register-settings.php:1453
3432
  msgid "Upload File"
3433
  msgstr ""
3434
 
3435
+ #: includes/admin/settings/register-settings.php:1544
3436
  msgid "Apply rate to whole country, regardless of state / province"
3437
  msgstr ""
3438
 
3439
+ #: includes/admin/settings/register-settings.php:1544
3440
  msgid "Country Wide"
3441
  msgstr ""
3442
 
3443
+ #: includes/admin/settings/register-settings.php:1545
3444
  msgid "Rate"
3445
  msgstr ""
3446
 
3447
+ #: includes/admin/settings/register-settings.php:1562
3448
+ #: includes/admin/settings/register-settings.php:1606
3449
  msgid "Choose a country"
3450
  msgstr ""
3451
 
3452
+ #: includes/admin/settings/register-settings.php:1577
3453
  msgid "Choose a state"
3454
  msgstr ""
3455
 
3456
+ #: includes/admin/settings/register-settings.php:1589
3457
+ #: includes/admin/settings/register-settings.php:1616
3458
  msgid "Apply to whole country"
3459
  msgstr ""
3460
 
3461
+ #: includes/admin/settings/register-settings.php:1592
3462
+ #: includes/admin/settings/register-settings.php:1619
3463
  msgid "Remove Rate"
3464
  msgstr ""
3465
 
3466
+ #: includes/admin/settings/register-settings.php:1624
3467
  msgid "Add Tax Rate"
3468
  msgstr ""
3469
 
3470
+ #: includes/admin/settings/register-settings.php:1665
3471
  msgid "Deactivate License"
3472
  msgstr ""
3473
 
3556
  msgid ""
3557
  "These API keys allow you to use the <a href=\"%s\">EDD REST API</a> to "
3558
  "retrieve store data in JSON or XML for external applications or devices, "
3559
+ "such as the <a href=\"%s\">EDD mobile app</a>."
3560
  msgstr ""
3561
 
3562
  #: includes/admin/tools.php:257
3597
  msgid "Please upload a file to import"
3598
  msgstr ""
3599
 
3600
+ #: includes/admin/tracking.php:251
3601
  msgid ""
3602
  "Allow Easy Digital Downloads to track plugin usage? Opt-in to tracking and "
3603
+ "our newsletter and immediately be emailed a 20%% discount to the EDD shop, "
3604
+ "valid twoards the <a href=\"%s\" target=\"_blank\">purchase of "
3605
+ "extensions</a>. No sensitive data is tracked."
3606
  msgstr ""
3607
 
3608
+ #: includes/admin/tracking.php:252
3609
  msgid "Allow"
3610
  msgstr ""
3611
 
3612
+ #: includes/admin/tracking.php:253
3613
  msgid "Do not allow"
3614
  msgstr ""
3615
 
3678
  msgstr ""
3679
 
3680
  #: includes/admin/upgrades/upgrade-functions.php:160
3681
+ #: includes/admin/upgrades/upgrade-functions.php:476
3682
+ #: includes/admin/upgrades/upgrade-functions.php:558
3683
+ #: includes/admin/upgrades/upgrade-functions.php:669
3684
+ #: includes/admin/upgrades/upgrade-functions.php:766
3685
+ #: includes/admin/upgrades/upgrade-functions.php:840
3686
+ #: includes/admin/upgrades/upgrade-functions.php:968
3687
  msgid "You do not have permission to do shop upgrades"
3688
  msgstr ""
3689
 
3690
+ #: includes/admin/upgrades/upgrade-functions.php:329 includes/install.php:85
3691
  msgid "Transaction Failed"
3692
  msgstr ""
3693
 
3694
+ #: includes/admin/upgrades/upgrade-functions.php:330 includes/install.php:86
3695
  msgid "Your transaction failed, please try again or contact site support."
3696
  msgstr ""
3697
 
4077
  "New extensions that make Easy Digital Downloads even more powerful are "
4078
  "released nearly every single week. Subscribe to the newsletter to stay up "
4079
  "to date with our latest releases. <a href=\"http://eepurl.com/kaerz\" "
4080
+ "target=\"_blank\">Sign up now</a> to ensure you do not miss a release!"
4081
  msgstr ""
4082
 
4083
  #: includes/admin/welcome.php:405
4086
 
4087
  #: includes/admin/welcome.php:406
4088
  msgid ""
4089
+ "<a href=\"http://eepurl.com/kaerz\" target=\"_blank\">Sign up now</a> to "
4090
  "hear about the latest tutorial releases that explain how to take Easy "
4091
  "Digital Downloads further."
4092
  msgstr ""
4166
  msgid "No customers found!"
4167
  msgstr ""
4168
 
4169
+ #: includes/api/class-edd-api.php:992 includes/api/class-edd-api.php:1186
4170
+ #: includes/api/class-edd-api.php:1296
4171
  msgid "Product %s not found!"
4172
  msgstr ""
4173
 
4174
+ #: includes/api/class-edd-api.php:1097 includes/api/class-edd-api.php:1203
4175
  msgid "The end date must be later than the start date!"
4176
  msgstr ""
4177
 
4178
+ #: includes/api/class-edd-api.php:1102 includes/api/class-edd-api.php:1208
4179
  msgid "Invalid or no date range specified!"
4180
  msgstr ""
4181
 
4182
+ #: includes/api/class-edd-api.php:1436
4183
  msgid "No discounts found!"
4184
  msgstr ""
4185
 
4186
+ #: includes/api/class-edd-api.php:1483
4187
  msgid "Discount %s not found!"
4188
  msgstr ""
4189
 
4190
+ #: includes/api/class-edd-api.php:1646
4191
  msgid "Easy Digital Downloads API Keys"
4192
  msgstr ""
4193
 
4194
+ #: includes/api/class-edd-api.php:1655
4195
  msgid "Generate API Key"
4196
  msgstr ""
4197
 
4198
+ #: includes/api/class-edd-api.php:1657
4199
  msgid "Public key:"
4200
  msgstr ""
4201
 
4202
+ #: includes/api/class-edd-api.php:1658
4203
  msgid "Secret key:"
4204
  msgstr ""
4205
 
4206
+ #: includes/api/class-edd-api.php:1659
4207
  msgid "Token:"
4208
  msgstr ""
4209
 
4210
+ #: includes/api/class-edd-api.php:1661
4211
  msgid "Revoke API Keys"
4212
  msgstr ""
4213
 
4214
+ #: includes/api/class-edd-api.php:1695 includes/api/class-edd-api.php:1697
4215
  msgid "You do not have permission to %s API keys for this user"
4216
  msgstr ""
4217
 
4223
  msgid "excludes %s tax"
4224
  msgstr ""
4225
 
4226
+ #: includes/cart/functions.php:1023 includes/cart/functions.php:1091
4227
  #: templates/shortcode-profile-editor.php:20
4228
  msgid "Success"
4229
  msgstr ""
4230
 
4231
+ #: includes/cart/functions.php:1024
4232
  msgid "Cart saved successfully. You can restore your cart using this URL:"
4233
  msgstr ""
4234
 
4235
+ #: includes/cart/functions.php:1061 includes/cart/functions.php:1078
4236
  msgid "Cart restoration failed. Invalid token."
4237
  msgstr ""
4238
 
4239
+ #: includes/cart/functions.php:1069 includes/cart/functions.php:1081
4240
  msgid "The cart cannot be restored. Invalid token."
4241
  msgstr ""
4242
 
4243
+ #: includes/cart/functions.php:1091
4244
  msgid "Cart restored successfully."
4245
  msgstr ""
4246
 
5478
 
5479
  #: includes/gateways/amazon-payments.php:973
5480
  #: includes/gateways/amazon-payments.php:1027
5481
+ #: includes/gateways/paypal-standard.php:276
5482
+ #: includes/gateways/paypal-standard.php:281
5483
+ #: includes/gateways/paypal-standard.php:342
5484
+ #: includes/gateways/paypal-standard.php:351
5485
+ #: includes/gateways/paypal-standard.php:401
5486
+ #: includes/gateways/paypal-standard.php:408
5487
  msgid "IPN Error"
5488
  msgstr ""
5489
 
5542
  msgid "Payment creation failed before sending buyer to PayPal. Payment data: %s"
5543
  msgstr ""
5544
 
5545
+ #: includes/gateways/paypal-standard.php:276
5546
+ #: includes/gateways/paypal-standard.php:281
5547
  msgid "Invalid IPN verification response. IPN data: %s"
5548
  msgstr ""
5549
 
5550
+ #: includes/gateways/paypal-standard.php:342
5551
  msgid "Invalid business email in IPN response. IPN data: %s"
5552
  msgstr ""
5553
 
5554
+ #: includes/gateways/paypal-standard.php:344
5555
  msgid "Payment failed due to invalid PayPal business email."
5556
  msgstr ""
5557
 
5558
+ #: includes/gateways/paypal-standard.php:351
5559
  msgid "Invalid currency in IPN response. IPN data: %s"
5560
  msgstr ""
5561
 
5562
+ #: includes/gateways/paypal-standard.php:353
5563
  msgid "Payment failed due to invalid currency in PayPal IPN."
5564
  msgstr ""
5565
 
5566
+ #: includes/gateways/paypal-standard.php:401
5567
  msgid "Invalid payment amount in IPN response. IPN data: %s"
5568
  msgstr ""
5569
 
5570
+ #: includes/gateways/paypal-standard.php:403
5571
  msgid "Payment failed due to invalid amount in PayPal IPN."
5572
  msgstr ""
5573
 
5574
+ #: includes/gateways/paypal-standard.php:408
5575
  msgid "Invalid purchase key in IPN response. IPN data: %s"
5576
  msgstr ""
5577
 
5578
+ #: includes/gateways/paypal-standard.php:410
5579
  msgid "Payment failed due to invalid purchase key in PayPal IPN."
5580
  msgstr ""
5581
 
5582
+ #: includes/gateways/paypal-standard.php:416
5583
  #: tests/helpers/class-helper-payment.php:124 tests/tests-payments.php:29
5584
  msgid "PayPal Transaction ID: %s"
5585
  msgstr ""
5586
 
5587
+ #: includes/gateways/paypal-standard.php:430
5588
  msgid "Payment made via eCheck and will clear automatically in 5-8 days"
5589
  msgstr ""
5590
 
5591
+ #: includes/gateways/paypal-standard.php:436
5592
  msgid ""
5593
  "Payment requires a confirmed customer address and must be accepted manually "
5594
  "through PayPal"
5595
  msgstr ""
5596
 
5597
+ #: includes/gateways/paypal-standard.php:442
5598
  msgid ""
5599
  "Payment must be accepted manually through PayPal due to international "
5600
  "account regulations"
5601
  msgstr ""
5602
 
5603
+ #: includes/gateways/paypal-standard.php:448
5604
  msgid ""
5605
  "Payment received in non-shop currency and must be accepted manually through "
5606
  "PayPal"
5607
  msgstr ""
5608
 
5609
+ #: includes/gateways/paypal-standard.php:455
5610
  msgid ""
5611
  "Payment is being reviewed by PayPal staff as high-risk or in possible "
5612
  "violation of government regulations"
5613
  msgstr ""
5614
 
5615
+ #: includes/gateways/paypal-standard.php:461
5616
  msgid "Payment was sent to non-confirmed or non-registered email address."
5617
  msgstr ""
5618
 
5619
+ #: includes/gateways/paypal-standard.php:467
5620
  msgid "PayPal account must be upgraded before this payment can be accepted"
5621
  msgstr ""
5622
 
5623
+ #: includes/gateways/paypal-standard.php:473
5624
  msgid ""
5625
  "PayPal account is not verified. Verify account in order to accept this "
5626
  "payment"
5627
  msgstr ""
5628
 
5629
+ #: includes/gateways/paypal-standard.php:479
5630
  msgid ""
5631
  "Payment is pending for unknown reasons. Contact PayPal support for "
5632
  "assistance"
5633
  msgstr ""
5634
 
5635
+ #: includes/gateways/paypal-standard.php:520
5636
  msgid "Partial PayPal refund processed: %s"
5637
  msgstr ""
5638
 
5639
+ #: includes/gateways/paypal-standard.php:525
5640
  msgid "PayPal Payment #%s Refunded for reason: %s"
5641
  msgstr ""
5642
 
5643
+ #: includes/gateways/paypal-standard.php:526
5644
  msgid "PayPal Refund Transaction ID: %s"
5645
  msgstr ""
5646
 
readme.txt CHANGED
@@ -1,13 +1,13 @@
1
  === Easy Digital Downloads ===
2
  Author URI: https://pippinsplugins.com
3
  Plugin URI: https://easydigitaldownloads.com
4
- Contributors: mordauk, sunnyratilal, chriscct7, section214, sumobi, sdavis2702, cklosows, sksmatt, SpencerFinnell
5
  Donate link: https://pippinsplugins.com/support-the-site
6
  Tags: download, downloads, e-store, eshop, digital downloads, e-downloads, ecommerce, e commerce, e-commerce, selling, wp-ecommerce, wp ecommerce, mordauk, Pippin Williamson, pippinsplugins
7
  Requires at least: 3.9.2
8
- Tested up to: 4.2
9
 
10
- Stable Tag: 2.4.2
11
 
12
  License: GNU Version 2 or Any Later Version
13
 
@@ -31,7 +31,7 @@ Features of the plugin include:
31
  * Earnings and sales charts
32
  * Detailed purchase and file download logs
33
  * Data export options for CSV and PDF
34
- * Add functionality with many [extensions](https://easydigitaldownloads.com/extensions/?utm_source=extensions&utm_medium=description_tab&utm_content=extensions&utm_campaign=readme)
35
  * Developer friendly with dozens of actions and filters. [View Codex](https://easydigitaldownloads.com/codex/index.html)
36
 
37
  More information at [Easy Digital Downloads.com](https://easydigitaldownloads.com/?utm_source=home&utm_medium=description_tab&utm_content=home&utm_campaign=readme).
@@ -42,13 +42,13 @@ More information at [Easy Digital Downloads.com](https://easydigitaldownloads.co
42
 
43
  **Sell and Track Software License Keys**
44
 
45
- [Software Licensing](https://easydigitaldownloads.com/extensions/software-licensing/?utm_source=extension&utm_medium=description_tab&utm_content=software-licensing&utm_campaign=readme) for Easy Digital Downloads provides a complete license key generation, activation, and checking system. It allows you to provide license keys along with your digital products that can then be used to properly license and activate the buyer’s copy of the software.
46
 
47
  Includes a complete integration pack for delivering automatic upgrades for premium WordPress plugins and themes.
48
 
49
  **Build Up Your Email Subscribers**
50
 
51
- With extensions for [MailChimp](https://easydigitaldownloads.com/extensions/mail-chimp/?utm_source=extension&utm_medium=description_tab&utm_content=mail-chimp&utm_campaign=readme), [Campaign Monitor](https://easydigitaldownloads.com/extensions/campaign-monitor/?utm_source=extension&utm_medium=description_tab&utm_content=campaign-monitor&utm_campaign=readme), and [AWeber](https://easydigitaldownloads.com/extensions/aweber/?utm_source=extension&utm_medium=description_tab&utm_content=aweber&utm_campaign=readme), [Wysija](https://easydigitaldownloads.com/extensions/wysija/?utm_source=extension&utm_medium=description_tab&utm_content=wysija&utm_campaign=readme), [ActiveCampaign](https://easydigitaldownloads.com/extensions/active-campaign/?utm_source=extension&utm_medium=description_tab&utm_content=active-campaign&utm_campaign=readme), [iContact](https://easydigitaldownloads.com/extensions/icontact/?utm_source=extension&utm_medium=description_tab&utm_content=icontact&utm_campaign=readme), [Constant Contact](https://easydigitaldownloads.com/extensions/constant-contact/?utm_source=extension&utm_medium=description_tab&utm_content=constant-contact&utm_campaign=readme), and more, Easy Digital Downloads can easily grow your email subscription lists while making you money at the same time.
52
 
53
  **Languages**
54
 
@@ -132,50 +132,50 @@ Yes! EDD integrates directly with several affiliate platforms that provide compl
132
  = Can I give my customers downloadable PDF Invoices? =
133
  Yes, EDD has an extension that allows for downloadable invoices to be generated for each payment.
134
 
135
- [PDF Invoices](https://easydigitaldownloads.com/extensions/pdf-invoices/?utm_source=pdf-invoices&utm_medium=faq_tab&utm_content=pdf-invoices&utm_campaign=readme)
136
 
137
  = Can Users Purchase Products without Using PayPal? =
138
 
139
  Yes, through the addition of one or more of the add-on payment gateways, you can accept payments in many different ways. The add-on gateways currently available:
140
 
141
- * [Stripe](https://easydigitaldownloads.com/extensions/stripe-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=stripe-payment-gateway&utm_campaign=readme)
142
- * [Recurly](https://easydigitaldownloads.com/extensions/recurly-com-checkout/?utm_source=gateway&utm_medium=faq_tab&utm_content=recurly-com-checkout&utm_campaign=readme)
143
- * [Authorize.net](https://easydigitaldownloads.com/extensions/authorize-net-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=authorize-net-gateway&utm_campaign=readme)
144
- * [Google Wallet](https://easydigitaldownloads.com/extensions/google-checkout/?utm_source=gateway&utm_medium=faq_tab&utm_content=google-checkout&utm_campaign=readme)
145
- * [Moneybookers / Skrill](https://easydigitaldownloads.com/extensions/moneybookers-skrill-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=moneybookers-skrill-payment-gateway&utm_campaign=readme)
146
- * [2Checkout](https://easydigitaldownloads.com/extensions/2checkout-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=2checkout-gateway&utm_campaign=readme)
147
- * [PayPal Pro/Express](https://easydigitaldownloads.com/extensions/paypal-pro-express/?utm_source=gateway&utm_medium=faq_tab&utm_content=paypal-pro-express&utm_campaign=readme)
148
- * [PayPal Adaptive Payments](https://easydigitaldownloads.com/extensions/paypal-adaptive-payments/?utm_source=gateway&utm_medium=faq_tab&utm_content=paypal-adaptive-payments&utm_campaign=readme)
149
- * [GoCardless](https://easydigitaldownloads.com/extensions/gocardless-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=gocardless-payment-gateway&utm_campaign=readme)
150
- * [Amazon FPS](https://easydigitaldownloads.com/extensions/amazon-fps-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=amazon-fps-payment-gateway&utm_campaign=readme)
151
- * [Payza](https://easydigitaldownloads.com/extensions/payza-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=payza-payment-gateway&utm_campaign=readme)
152
- * [Paymill](https://easydigitaldownloads.com/extensions/paymill-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=paymill-payment-gateway&utm_campaign=readme)
153
- * [MOLPay](https://easydigitaldownloads.com/extensions/molpay-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=molpay-payment-gateway&utm_campaign=readme)
154
- * [MercadoPago](https://easydigitaldownloads.com/extensions/mercadopago/?utm_source=gateway&utm_medium=faq_tab&utm_content=mercadopago&utm_campaign=readme)
155
- * [NoChex](https://easydigitaldownloads.com/extensions/nochex-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=nochex-gateway&utm_campaign=readme)
156
- * [Recurly.com](https://easydigitaldownloads.com/extensions/recurly-com-checkout/?utm_source=gateway&utm_medium=faq_tab&utm_content=recurly-com-checkout&utm_campaign=readme)
157
- * [Network Merchants](https://easydigitaldownloads.com/extensions/network-merchants-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=network-merchants-gateway&utm_campaign=readme)
158
- * [Direct One](https://easydigitaldownloads.com/extensions/direct-one/?utm_source=gateway&utm_medium=faq_tab&utm_content=direct-one&utm_campaign=readme)
159
- * [Moneris Solutions](https://easydigitaldownloads.com/extensions/moneris-solutions-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=moneris-solutions-gateway&utm_campaign=readme)
160
- * [My Virtual Merchant](https://easydigitaldownloads.com/extensions/my-virtual-merchant/?utm_source=gateway&utm_medium=faq_tab&utm_content=my-virtual-merchant&utm_campaign=readme)
161
- * [NAB](https://easydigitaldownloads.com/extensions/6038/?utm_source=gateway&utm_medium=faq_tab&utm_content=nab&utm_campaign=readme)
162
- * [Mijireh](https://easydigitaldownloads.com/extensions/mijireh-checkout/?utm_source=gateway&utm_medium=faq_tab&utm_content=mijireh-checkout&utm_campaign=readme)
163
- * [eWay](https://easydigitaldownloads.com/extensions/eway-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=eway-gateway&utm_campaign=readme)
164
- * [Check](https://easydigitaldownloads.com/extensions/check-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=check-payment-gateway&utm_campaign=readme)
165
- * [PagSeguro](https://easydigitaldownloads.com/extensions/pagseguro-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=pagseguro-payment-gateway&utm_campaign=readme)
166
- * [Beanstream](https://easydigitaldownloads.com/extensions/beanstream-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=beanstream-payment-gateway&utm_campaign=readme)
167
- * [Quickbooks](https://easydigitaldownloads.com/extensions/quickbooks/?utm_source=gateway&utm_medium=faq_tab&utm_content=quickbooks&utm_campaign=readme)
168
- * [PayFast](https://easydigitaldownloads.com/extensions/payfast-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=payfast-payment-gateway&utm_campaign=readme)
169
- * [WorldPay](https://easydigitaldownloads.com/extensions/worldpay-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=worldpay-gateway&utm_campaign=readme)
170
- * [Payment Express](https://easydigitaldownloads.com/extensions/payment-express-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=payment-express-gateway&utm_campaign=readme)
171
- * [BitPay](https://easydigitaldownloads.com/extensions/bitpay-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=bitpay-payment-gateway&utm_campaign=readme)
172
- * [ClickBank](https://easydigitaldownloads.com/extensions/clickbank-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=clickbank-gateway&utm_campaign=readme)
173
- * [Braintree](https://easydigitaldownloads.com/extensions/braintree-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=braintree-gateway&utm_campaign=readme)
174
- * [Dwolla](https://easydigitaldownloads.com/extensions/dwolla/?utm_source=gateway&utm_medium=faq_tab&utm_content=dwolla&utm_campaign=readme)
175
- * [Realex](https://easydigitaldownloads.com/extensions/realex-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=realex-gateway&utm_campaign=readme)
176
- * [PayTrace](https://easydigitaldownloads.com/extensions/paytrace/?utm_source=gateway&utm_medium=faq_tab&utm_content=paytrace&utm_campaign=readme)
177
- * [iPay88](https://easydigitaldownloads.com/extensions/ipay88-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=ipay88-gateway&utm_campaign=readme)
178
- * [First Data](https://easydigitaldownloads.com/extensions/first-data-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=first-data-payment-gateway&utm_campaign=readme)
179
 
180
  == Screenshots ==
181
 
@@ -191,6 +191,36 @@ Yes, through the addition of one or more of the add-on payment gateways, you can
191
 
192
  == Changelog ==
193
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
194
  = 2.4.2, July 13, 2015 =
195
 
196
  * Tweak: Allow filtering the ajax user search
1
  === Easy Digital Downloads ===
2
  Author URI: https://pippinsplugins.com
3
  Plugin URI: https://easydigitaldownloads.com
4
+ Contributors: mordauk, sunnyratilal, chriscct7, section214, sumobi, sdavis2702, cklosows, mindctrl, topher1kenobe, sksmatt, SpencerFinnell
5
  Donate link: https://pippinsplugins.com/support-the-site
6
  Tags: download, downloads, e-store, eshop, digital downloads, e-downloads, ecommerce, e commerce, e-commerce, selling, wp-ecommerce, wp ecommerce, mordauk, Pippin Williamson, pippinsplugins
7
  Requires at least: 3.9.2
8
+ Tested up to: 4.3
9
 
10
+ Stable Tag: 2.4.3
11
 
12
  License: GNU Version 2 or Any Later Version
13
 
31
  * Earnings and sales charts
32
  * Detailed purchase and file download logs
33
  * Data export options for CSV and PDF
34
+ * Add functionality with many [extensions](https://easydigitaldownloads.com/downloads/?utm_source=extensions&utm_medium=description_tab&utm_content=extensions&utm_campaign=readme)
35
  * Developer friendly with dozens of actions and filters. [View Codex](https://easydigitaldownloads.com/codex/index.html)
36
 
37
  More information at [Easy Digital Downloads.com](https://easydigitaldownloads.com/?utm_source=home&utm_medium=description_tab&utm_content=home&utm_campaign=readme).
42
 
43
  **Sell and Track Software License Keys**
44
 
45
+ [Software Licensing](https://easydigitaldownloads.com/downloads/software-licensing/?utm_source=extension&utm_medium=description_tab&utm_content=software-licensing&utm_campaign=readme) for Easy Digital Downloads provides a complete license key generation, activation, and checking system. It allows you to provide license keys along with your digital products that can then be used to properly license and activate the buyer’s copy of the software.
46
 
47
  Includes a complete integration pack for delivering automatic upgrades for premium WordPress plugins and themes.
48
 
49
  **Build Up Your Email Subscribers**
50
 
51
+ With extensions for [MailChimp](https://easydigitaldownloads.com/downloads/mail-chimp/?utm_source=extension&utm_medium=description_tab&utm_content=mail-chimp&utm_campaign=readme), [Campaign Monitor](https://easydigitaldownloads.com/downloads/campaign-monitor/?utm_source=extension&utm_medium=description_tab&utm_content=campaign-monitor&utm_campaign=readme), and [AWeber](https://easydigitaldownloads.com/downloads/aweber/?utm_source=extension&utm_medium=description_tab&utm_content=aweber&utm_campaign=readme), [Wysija](https://easydigitaldownloads.com/downloads/wysija/?utm_source=extension&utm_medium=description_tab&utm_content=wysija&utm_campaign=readme), [ActiveCampaign](https://easydigitaldownloads.com/downloads/active-campaign/?utm_source=extension&utm_medium=description_tab&utm_content=active-campaign&utm_campaign=readme), [iContact](https://easydigitaldownloads.com/downloads/icontact/?utm_source=extension&utm_medium=description_tab&utm_content=icontact&utm_campaign=readme), [Constant Contact](https://easydigitaldownloads.com/downloads/constant-contact/?utm_source=extension&utm_medium=description_tab&utm_content=constant-contact&utm_campaign=readme), and more, Easy Digital Downloads can easily grow your email subscription lists while making you money at the same time.
52
 
53
  **Languages**
54
 
132
  = Can I give my customers downloadable PDF Invoices? =
133
  Yes, EDD has an extension that allows for downloadable invoices to be generated for each payment.
134
 
135
+ [PDF Invoices](https://easydigitaldownloads.com/downloads/pdf-invoices/?utm_source=pdf-invoices&utm_medium=faq_tab&utm_content=pdf-invoices&utm_campaign=readme)
136
 
137
  = Can Users Purchase Products without Using PayPal? =
138
 
139
  Yes, through the addition of one or more of the add-on payment gateways, you can accept payments in many different ways. The add-on gateways currently available:
140
 
141
+ * [Stripe](https://easydigitaldownloads.com/downloads/stripe-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=stripe-payment-gateway&utm_campaign=readme)
142
+ * [Recurly](https://easydigitaldownloads.com/downloads/recurly-com-checkout/?utm_source=gateway&utm_medium=faq_tab&utm_content=recurly-com-checkout&utm_campaign=readme)
143
+ * [Authorize.net](https://easydigitaldownloads.com/downloads/authorize-net-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=authorize-net-gateway&utm_campaign=readme)
144
+ * [Google Wallet](https://easydigitaldownloads.com/downloads/google-checkout/?utm_source=gateway&utm_medium=faq_tab&utm_content=google-checkout&utm_campaign=readme)
145
+ * [Moneybookers / Skrill](https://easydigitaldownloads.com/downloads/moneybookers-skrill-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=moneybookers-skrill-payment-gateway&utm_campaign=readme)
146
+ * [2Checkout](https://easydigitaldownloads.com/downloads/2checkout-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=2checkout-gateway&utm_campaign=readme)
147
+ * [PayPal Pro/Express](https://easydigitaldownloads.com/downloads/paypal-pro-express/?utm_source=gateway&utm_medium=faq_tab&utm_content=paypal-pro-express&utm_campaign=readme)
148
+ * [PayPal Adaptive Payments](https://easydigitaldownloads.com/downloads/paypal-adaptive-payments/?utm_source=gateway&utm_medium=faq_tab&utm_content=paypal-adaptive-payments&utm_campaign=readme)
149
+ * [GoCardless](https://easydigitaldownloads.com/downloads/gocardless-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=gocardless-payment-gateway&utm_campaign=readme)
150
+ * [Amazon FPS](https://easydigitaldownloads.com/downloads/amazon-fps-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=amazon-fps-payment-gateway&utm_campaign=readme)
151
+ * [Payza](https://easydigitaldownloads.com/downloads/payza-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=payza-payment-gateway&utm_campaign=readme)
152
+ * [Paymill](https://easydigitaldownloads.com/downloads/paymill-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=paymill-payment-gateway&utm_campaign=readme)
153
+ * [MOLPay](https://easydigitaldownloads.com/downloads/molpay-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=molpay-payment-gateway&utm_campaign=readme)
154
+ * [MercadoPago](https://easydigitaldownloads.com/downloads/mercadopago/?utm_source=gateway&utm_medium=faq_tab&utm_content=mercadopago&utm_campaign=readme)
155
+ * [NoChex](https://easydigitaldownloads.com/downloads/nochex-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=nochex-gateway&utm_campaign=readme)
156
+ * [Recurly.com](https://easydigitaldownloads.com/downloads/recurly-com-checkout/?utm_source=gateway&utm_medium=faq_tab&utm_content=recurly-com-checkout&utm_campaign=readme)
157
+ * [Network Merchants](https://easydigitaldownloads.com/downloads/network-merchants-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=network-merchants-gateway&utm_campaign=readme)
158
+ * [Direct One](https://easydigitaldownloads.com/downloads/direct-one/?utm_source=gateway&utm_medium=faq_tab&utm_content=direct-one&utm_campaign=readme)
159
+ * [Moneris Solutions](https://easydigitaldownloads.com/downloads/moneris-solutions-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=moneris-solutions-gateway&utm_campaign=readme)
160
+ * [My Virtual Merchant](https://easydigitaldownloads.com/downloads/my-virtual-merchant/?utm_source=gateway&utm_medium=faq_tab&utm_content=my-virtual-merchant&utm_campaign=readme)
161
+ * [NAB](https://easydigitaldownloads.com/downloads/6038/?utm_source=gateway&utm_medium=faq_tab&utm_content=nab&utm_campaign=readme)
162
+ * [Mijireh](https://easydigitaldownloads.com/downloads/mijireh-checkout/?utm_source=gateway&utm_medium=faq_tab&utm_content=mijireh-checkout&utm_campaign=readme)
163
+ * [eWay](https://easydigitaldownloads.com/downloads/eway-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=eway-gateway&utm_campaign=readme)
164
+ * [Check](https://easydigitaldownloads.com/downloads/check-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=check-payment-gateway&utm_campaign=readme)
165
+ * [PagSeguro](https://easydigitaldownloads.com/downloads/pagseguro-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=pagseguro-payment-gateway&utm_campaign=readme)
166
+ * [Beanstream](https://easydigitaldownloads.com/downloads/beanstream-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=beanstream-payment-gateway&utm_campaign=readme)
167
+ * [Quickbooks](https://easydigitaldownloads.com/downloads/quickbooks/?utm_source=gateway&utm_medium=faq_tab&utm_content=quickbooks&utm_campaign=readme)
168
+ * [PayFast](https://easydigitaldownloads.com/downloads/payfast-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=payfast-payment-gateway&utm_campaign=readme)
169
+ * [WorldPay](https://easydigitaldownloads.com/downloads/worldpay-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=worldpay-gateway&utm_campaign=readme)
170
+ * [Payment Express](https://easydigitaldownloads.com/downloads/payment-express-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=payment-express-gateway&utm_campaign=readme)
171
+ * [BitPay](https://easydigitaldownloads.com/downloads/bitpay-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=bitpay-payment-gateway&utm_campaign=readme)
172
+ * [ClickBank](https://easydigitaldownloads.com/downloads/clickbank-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=clickbank-gateway&utm_campaign=readme)
173
+ * [Braintree](https://easydigitaldownloads.com/downloads/braintree-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=braintree-gateway&utm_campaign=readme)
174
+ * [Dwolla](https://easydigitaldownloads.com/downloads/dwolla/?utm_source=gateway&utm_medium=faq_tab&utm_content=dwolla&utm_campaign=readme)
175
+ * [Realex](https://easydigitaldownloads.com/downloads/realex-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=realex-gateway&utm_campaign=readme)
176
+ * [PayTrace](https://easydigitaldownloads.com/downloads/paytrace/?utm_source=gateway&utm_medium=faq_tab&utm_content=paytrace&utm_campaign=readme)
177
+ * [iPay88](https://easydigitaldownloads.com/downloads/ipay88-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=ipay88-gateway&utm_campaign=readme)
178
+ * [First Data](https://easydigitaldownloads.com/downloads/first-data-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=first-data-payment-gateway&utm_campaign=readme)
179
 
180
  == Screenshots ==
181
 
191
 
192
  == Changelog ==
193
 
194
+ = 2.4.3, August 18, 2015 =
195
+
196
+ * Tweak: Added new action hooks to the Sales Summary widget
197
+ * Tweak: Added new action hook that fires when an item is removed from a payment record
198
+ * Tweak: Updated logo on PDF reports
199
+ * Tweak: Updated logo on welcome screen
200
+ * Tweak: Improved order of operations when updating discount codes
201
+ * Tweak: Amazon Payments Address widget is hidden on reload when a charge is declined
202
+ * Tweak: Only show address widget for Amazon Payments when taxes are enabled
203
+ * Tweak: Update Amazon Payment registration URLs for EU and DE
204
+ * Tweak: Retrieve complete billing address from Amazon
205
+ * Tweak: Updated language files
206
+ * Fix: Profile editor missing P tag when user is logged out
207
+ * Fix: Email headers should only be added if header text is set
208
+ * Fix: Undefined index "plugin"
209
+ * Fix: Sale log entries not deleted when purchase is refunded
210
+ * Fix: Preset discount code logic tries to run when bulk deleting discount codes
211
+ * Fix: Adding ?discount={code} to static home page URL causes blog page to be shown
212
+ * Fix: Ensure we have a user before trying to get purchase history
213
+ * Fix: Properly format decimals for HUF currency
214
+ * Fix: Prevent fatal errors when entering invalid date in start/end date of payment history
215
+ * Fix: Removed unused function edd_add_ons_init()
216
+ * Fix: Prevent multiple batch processes from being started at the same time
217
+ * Fix: Re-instantiate Chosen when cloning a repeatable row with a Chosen field
218
+ * Fix: Variable typo in edd_is_admin_page()
219
+ * Fix: Customer name not stored properly if three names are entered when purchasing through Amazon Payments
220
+ * Fix: Sales report column fails does not work for guest customers
221
+ * Fix: direct="true" does not work properly if price_id="1" is also set
222
+ * Fix: Products without a title cannot be purchased through PayPal
223
+
224
  = 2.4.2, July 13, 2015 =
225
 
226
  * Tweak: Allow filtering the ajax user search
templates/checkout_cart.php CHANGED
@@ -28,10 +28,7 @@ global $post; ?>
28
  echo get_the_post_thumbnail( $item['id'], apply_filters( 'edd_checkout_image_size', array( 25,25 ) ) );
29
  echo '</div>';
30
  }
31
- $item_title = get_the_title( $item['id'] );
32
- if ( ! empty( $item['options'] ) && edd_has_variable_prices( $item['id'] ) ) {
33
- $item_title .= ' - ' . edd_get_cart_item_price_name( $item );
34
- }
35
  echo '<span class="edd_checkout_cart_item_title">' . esc_html( $item_title ) . '</span>';
36
  do_action( 'edd_checkout_cart_item_title_after', $item );
37
  ?>
28
  echo get_the_post_thumbnail( $item['id'], apply_filters( 'edd_checkout_image_size', array( 25,25 ) ) );
29
  echo '</div>';
30
  }
31
+ $item_title = edd_get_cart_item_name( $item );
 
 
 
32
  echo '<span class="edd_checkout_cart_item_title">' . esc_html( $item_title ) . '</span>';
33
  do_action( 'edd_checkout_cart_item_title_after', $item );
34
  ?>
templates/edd.min.css CHANGED
@@ -1 +1 @@
1
- @charset "UTF-8";@font-face{font-family:EDD-Icons;src:url(fonts/EDD-Icons.eot);src:url(fonts/EDD-Icons.eot?#iefix) format('embedded-opentype'),url(fonts/EDD-Icons.woff) format('woff'),url(fonts/EDD-Icons.ttf) format('truetype'),url(fonts/EDD-Icons.svg#EDD-Icons) format('svg');font-weight:400;font-style:normal}[class*=edd-icon-],[class*=" edd-icon-"]{font-family:EDD-Icons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;width:auto;height:auto;line-height:1;-webkit-font-smoothing:antialiased}[class*=edd-icon-]:before,[class*=" edd-icon-"]:before{text-decoration:inherit;display:inline-block;cursor:default;speak:none}.edd-icon-spinner:before{content:"\71"}.edd-icon-ok:before{content:"\77"}.edd-icon-remove:before{content:"\65"}.edd-icon-remove-circle:before{content:"\72"}.edd-icon-ok-circle:before{content:"\74"}.edd-icon-spin{display:inline-block;-moz-animation:edd-icon-spin 2s infinite linear;-o-animation:edd-icon-spin 2s infinite linear;-webkit-animation:edd-icon-spin 2s infinite linear;animation:edd-icon- spin 2s infinite linear}@-moz-keyframes edd-icon-spin{0%{-moz-transform:rotate(0deg)}100%{-moz-transform:rotate(359deg)}}@-webkit-keyframes edd-icon-spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg)}}@-o-keyframes edd-icon-spin{0%{-o-transform:rotate(0deg)}100%{-o-transform:rotate(359deg)}}@-ms-keyframes edd-icon-spin{0%{-ms-transform:rotate(0deg)}100%{-ms-transform:rotate(359deg)}}@keyframes edd-icon-spin{0%{transform:rotate(0deg)}100%{transform:rotate(359deg)}}.edd_clearfix:after{display:block;visibility:hidden;float:none;clear:both;text-indent:-9999px;content:"."}#edd_checkout_cart{text-align:left;width:100%;border:none;margin:0 0 21px;table-layout:auto}#edd_checkout_cart td,#edd_checkout_cart th{text-align:left;border:1px solid #eee;color:#666;padding:.5em 1.387em}#edd_checkout_cart .edd_cart_header_row th{background:#fafafa;padding:1.387em}#edd_checkout_cart .edd_cart_discount_row th,#edd_checkout_cart .edd_cart_tax_row th{background:0 0}#edd_checkout_cart th{font-weight:700}#edd_checkout_cart td{line-height:25px;vertical-align:middle;background:#fff}#edd_checkout_cart td.edd_cart_actions,#edd_checkout_cart td:last-child,#edd_checkout_cart th.edd_cart_actions,#edd_checkout_cart th.edd_cart_total,#edd_checkout_cart th:last-child{text-align:right}#edd_checkout_cart td img{float:left;margin:0 8px 0 0;background:0 0;padding:0;border:none}#edd_checkout_cart input.edd-item-quantity{width:3em;padding:2px}#edd_checkout_cart .edd_discount{display:inline-block;margin-left:5px}.edd_discount_remove{display:inline-block;width:10px;height:11px;background:url(images/xit.gif) no-repeat;position:relative;top:3px}.edd_discount_remove:hover{background-position:-10px 0}#edd_checkout_cart br{display:none}#edd_checkout_cart a.edd-cart-saving-button{font-weight:400;text-decoration:none}#edd_checkout_form_wrap legend{display:block;font-size:120%;line-height:1;font-weight:700;width:100%;margin:0 0 21px;padding:0}#edd_checkout_form_wrap label{font-weight:700;display:block;position:relative;line-height:100%;font-size:95%;margin:0 0 5px}#edd_checkout_form_wrap label:after{display:block;visibility:hidden;float:none;clear:both;height:0;text-indent:-9999px;content:"."}#edd_checkout_form_wrap span.edd-description{color:#666;font-size:80%;display:block;margin:0 0 5px}#edd_checkout_form_wrap input.edd-input,#edd_checkout_form_wrap textarea.edd-input{display:inline-block;width:70%}#edd_checkout_form_wrap select.edd-select{display:block;width:60%}#edd_checkout_form_wrap select.edd-select.edd-select-small{display:inline;width:auto}#edd_checkout_form_wrap input.edd-input.error,#edd_checkout_form_wrap textarea.edd-input.error{border-color:#c4554e}#edd_checkout_form_wrap #edd_tax_opt_in_fields label,#edd_checkout_form_wrap #edd_terms_agreement label{display:inline-block;width:auto}#edd_checkout_form_wrap>p{margin:0 0 21px}#edd_checkout_form_wrap span.edd-required-indicator{color:#b94a48;display:inline}#edd_checkout_form_wrap input[type=text],#edd_checkout_form_wrap input[type=email],#edd_checkout_form_wrap input[type=password],#edd_checkout_form_wrap textarea{padding:4px 6px}#edd_checkout_form_wrap input[type=radio]{border:none;margin-right:5px}#edd_checkout_form_wrap input[type=checkbox]{float:left;margin:0 8px 0 0}#edd_checkout_form_wrap .edd-payment-icons{height:32px;display:block;margin:0 0 8px}#edd_checkout_form_wrap .edd-payment-icons img.payment-icon{max-height:32px;width:auto;margin:0 3px 0 0;float:left;background:0 0;padding:0;border:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}#edd_checkout_form_wrap #edd-payment-mode-wrap label{display:inline-block;margin:0 20px 0 0}#edd_checkout_form_wrap #edd-payment-mode-wrap .edd-payment-mode-label{font-weight:700;display:inline-block;position:relative;margin-bottom:5px}#edd_checkout_form_wrap fieldset{border:1px solid #eee;padding:1.387em;margin:0 0 21px}#edd_checkout_form_wrap #edd_discount_code,#edd_checkout_form_wrap #edd_purchase_submit,#edd_checkout_form_wrap #edd_register_account_fields{padding:0;border:none}#edd_checkout_form_wrap fieldset fieldset{margin:0;border:none;padding:0}#edd_checkout_form_wrap #edd-login-account-wrap,#edd_checkout_form_wrap #edd-new-account-wrap,#edd_checkout_form_wrap #edd_final_total_wrap,#edd_checkout_form_wrap #edd_show_discount,#edd_checkout_form_wrap .edd-cart-adjustment{background:#fafafa;color:#666;padding:.5em 1.387em}#edd_checkout_form_wrap #edd-discount-code-wrap,#edd_checkout_form_wrap #edd_final_total_wrap,#edd_checkout_form_wrap #edd_show_discount{border:1px solid #eee}#edd_checkout_form_wrap .edd-cart-adjustment{padding:1.387em}#edd_checkout_form_wrap .edd-cart-adjustment input.edd-input,#edd_checkout_form_wrap .edd-cart-adjustment input.edd-submit{display:inline-block}#edd_checkout_form_wrap .edd-cart-adjustment input.edd-submit{padding:3px 12px;margin-bottom:2px}#edd_checkout_form_wrap #edd-discount-error-wrap{width:100%;display:inline-block;margin:1em 0 0}#edd_checkout_form_wrap #edd-login-account-wrap,#edd_checkout_form_wrap #edd-new-account-wrap{margin:-1.387em -1.387em 21px;border-left:none;border-right:none;border-top:none}#edd_checkout_form_wrap #edd_payment_mode_select,#edd_checkout_form_wrap fieldset#edd_register_fields #edd_checkout_user_info{margin-bottom:21px}#edd_checkout_form_wrap fieldset#edd_register_account_fields legend{padding-top:11px}#edd_checkout_form_wrap fieldset#edd_register_account_fields p.edd_login_password,#edd_checkout_form_wrap fieldset#edd_register_account_fields p.edd_register_password{margin:0}#edd_checkout_form_wrap fieldset#edd_cc_fields{border:1px solid #f0f0f0;background:#f9f9f9;position:relative}#edd_checkout_form_wrap fieldset#edd_cc_fields legend{border:none;padding:0}#edd_checkout_form_wrap fieldset p:last-child{margin-bottom:0}#edd_checkout_form_wrap fieldset#edd_cc_fields #edd-card-number-wrap{margin-top:5px}#edd_checkout_form_wrap #edd_purchase_final_total{margin:21px 0}#edd_checkout_form_wrap #edd_purchase_final_total p{margin:0}#edd_secure_site_wrapper{padding:4px 4px 4px 0;font-weight:700}#edd_secure_site_wrapper span.padlock:before{content:'\f160';display:inline-block;-webkit-font-smoothing:antialiased;font:400 20px/1 dashicons;vertical-align:top}#edd_checkout_form_wrap input.edd-input.card-number.valid{background-image:url(images/tick.png);background-repeat:no-repeat;background-position:98% 50%}#edd_checkout_form_wrap span.exp-divider{display:inline}#edd_checkout_form_wrap span.card-type{position:absolute;top:-2px;right:0;width:43px;height:32px;background-size:43px 32px!important}#edd_checkout_form_wrap span.card-type.off{display:none}#edd_checkout_form_wrap span.card-type.visa{background:url(images/icons/visa.gif) no-repeat}#edd_checkout_form_wrap span.card-type.mastercard{background:url(images/icons/mastercard.gif) no-repeat}#edd_checkout_form_wrap span.card-type.discover{background:url(images/icons/discover.gif) no-repeat}#edd_checkout_form_wrap span.card-type.amex{background:url(images/icons/americanexpress.gif) no-repeat}#edd_checkeout_form_wrap .edd-cart-ajax,#edd_checkout_form_wrap #edd-discount-loader{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.edd-amazon-profile-wrapper{font-size:12px}.edd-amazon-profile-name{font-weight:600}.edd-amazon-logout{font-size:10px;line-height:12px}.edd-amazon-logout a{cursor:pointer}#edd-amazon-address-box{height:228px;width:350px;margin-bottom:15px}#edd-amazon-wallet-box{height:228px;width:350px}@media only screen and (min-width:768px){#edd-amazon-address-box,#edd-amazon-wallet-box{width:100%;height:228px}}.edd_purchase_submit_wrapper{position:relative}.edd_purchase_submit_wrapper a.edd-add-to-cart{text-decoration:none;display:none;position:relative;overflow:hidden}.edd_purchase_submit_wrapper a.edd-add-to-cart.edd-has-js{display:inline-block}.edd_purchase_submit_wrapper .edd-cart-ajax{display:none;position:relative;left:-35px}.edd-submit.button.edd-ajax-loading{padding-right:30px}.edd-add-to-cart .edd-add-to-cart-label{opacity:1;filter:alpha(opacity=100)}a.edd-add-to-cart .edd-loading{position:absolute;left:50%;top:50%;opacity:0;filter:alpha(opacity=0)}a.edd-add-to-cart .edd-add-to-cart-label,a.edd-add-to-cart .edd-loading{-webkit-transition:.1s opacity!important;-moz-transition:.1s opacity!important;-ms-transition:.1s opacity!important;-o-transition:.1s opacity!important;transition:.1s opacity!important}.edd-add-to-cart[data-edd-loading] .edd-add-to-cart-label{opacity:0;filter:alpha(opacity=0)}.edd-add-to-cart[data-edd-loading] .edd-loading{opacity:1;filter:alpha(opacity=100)}.edd-cart-added-alert{color:#567622;display:block;position:absolute}.edd_form input.edd-input.required,.edd_form select.edd-select.required{color:#000}body.edd_receipt_page{background-color:#fff;color:#141412;margin:0;font-family:Helvetica,sans-serif;font-size:12px}body.edd_receipt_page:before{position:relative}body.edd_receipt_page #edd_receipt_wrapper{width:660px;margin:0 auto;padding:50px 0}body.edd_receipt_page table{display:table;width:100%;border-bottom:1px solid #ededed;border-collapse:collapse;border-spacing:0;font-size:14px;line-height:2;margin:0 0 20px}body.edd_receipt_page td,body.edd_receipt_page th{display:table-cell;text-align:left;border-top:1px solid #ededed;padding:6px 10px;font-weight:400}body.edd_receipt_page th{font-weight:700;text-transform:uppercase}body.edd_receipt_page h3{font-size:22px;margin:40px 0 5px;clear:both;display:block;font-weight:700}body.edd_receipt_page li{list-style:none}table#edd_purchase_receipt,table#edd_purchase_receipt_products{width:100%}table#edd_purchase_receipt td,table#edd_purchase_receipt th,table#edd_purchase_receipt_products td,table#edd_purchase_receipt_products th{text-align:left}table#edd_purchase_receipt .edd_receipt_payment_status.cancelled,table#edd_purchase_receipt .edd_receipt_payment_status.failed,table#edd_purchase_receipt .edd_receipt_payment_status.pending,table#edd_purchase_receipt .edd_receipt_payment_status.revoked{color:#f73f2e}table#edd_purchase_receipt_products li{list-style:none;margin:0 0 8px 10px}table#edd_purchase_receipt ul,table#edd_purchase_receipt_products ul.edd_purchase_receipt_files{margin:0;padding:0}table#edd_purchase_receipt li.edd_download_file{list-style:none;margin:0 0 8px}table#edd_purchase_receipt_products .edd_purchase_receipt_product_notes{font-style:italic}table#edd_purchase_receipt_products .edd_purchase_receipt_product_name{font-weight:700}table#edd_purchase_receipt_products .edd_bundled_product_name{font-style:italic;font-weight:700}#edd_user_history{text-align:left;width:100%;border-top:1px solid #f0f0f0;border-bottom:none}#edd_user_history td,#edd_user_history th{text-align:left;padding:3px 5px;border-bottom:1px solid #f0f0f0;border-top:none}#edd_user_history th{font-weight:700;background:#f5f5f5}#edd_user_history td{line-height:25px;vertical-align:middle}#edd_user_history .edd_purchase_status.cancelled,#edd_user_history .edd_purchase_status.failed,#edd_user_history .edd_purchase_status.pending,#edd_user_history .edd_purchase_status.revoked{color:#f73f2e}#edd_login_form .edd-input,#edd_login_form label,#edd_register_form .edd-input,#edd_register_form label{display:inline-block;width:200px}#edd_profile_editor_form p{margin-bottom:8px}#edd_profile_editor_form label{display:inline-block;width:200px}.edd_added_to_cart_alert{padding:5px;font-size:14px;border:1px solid #046a9e;background:#9ecce2;color:#333;margin:8px 0}.edd_added_to_cart_alert a.edd_alert_checkout_link{color:#000!important}input.edd_submit_plain{background:0 0!important;border:none!important;padding:0!important;display:inline;cursor:pointer}.single-download .edd_download_purchase_form{margin-bottom:1.387em}.edd_download_purchase_form .edd_download_quantity_wrapper{margin:0 0 .5em}.edd_download_purchase_form .edd_download_quantity_wrapper .edd-item-quantity{width:75px}.edd_download_purchase_form .edd_price_options{margin:0 0 15px}.edd_download_purchase_form .edd_price_options ul{margin:0;padding:0;list-style:none}.edd_download_purchase_form .edd_price_options li{display:block;padding:0;margin:0}.edd_download_purchase_form .edd_price_options span{display:inline;padding:0;margin:0}.edd_download_purchase_form .edd_price_options .edd_download_quantity_wrapper{padding-left:18px}.edd_download_purchase_form .edd_price_options .edd_download_quantity_wrapper *{font-size:80%}.edd_download_purchase_form .edd_price_options input.edd-item-quantity{display:inline;width:50px;max-width:90%}#edd-purchase-button,.edd-submit,input[type=submit].edd-submit{display:inline-block;padding:6px 12px;margin:0;font-size:14px;font-weight:400;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.edd-submit.button:focus,input[type=submit].edd-submit:focus{outline:#333 dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.edd-submit.button:focus,.edd-submit.button:hover,input[type=submit].edd-submit:focus,input[type=submit].edd-submit:hover{color:#333;text-decoration:none}.edd-submit.button:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.edd-submit.plain{padding:0}.edd-submit.button,.edd-submit.button.gray,.edd-submit.button:visited{color:#333;background:#f0f0f0;border-color:#ccc}.edd-submit.button.gray:active,.edd-submit.button.gray:focus,.edd-submit.button.gray:hover,.edd-submit.button:active,.edd-submit.button:focus,.edd-submit.button:hover{color:#333;background:#ebebeb;border-color:#adadad}.edd-submit.button.gray:active{background-image:none}.edd-submit.button.white{color:#333;background:#fff;border-color:#ccc}.edd-submit.button.white:active,.edd-submit.button.white:focus,.edd-submit.button.white:hover{color:#333;background:#ebebeb;border-color:#adadad}.edd-submit.button.white:active{background-image:none}.edd-submit.button.blue{color:#fff;background:#428bca;border-color:#357ebd}.edd-submit.button.blue.active,.edd-submit.button.blue:focus,.edd-submit.button.blue:hover{color:#fff;background:#3276b1;border-color:#285e8e}.edd-submit.button.blue.active{background-image:none}.edd-submit.button.red{color:#fff;background:#d9534f;border-color:#d43f3a}.edd-submit.button.red:active,.edd-submit.button.red:focus,.edd-submit.button.red:hover{color:#fff;background:#d2322d;border-color:#ac2925}.edd-submit.button.red:active{background-image:none}.edd-submit.button.green{color:#fff;background:#5cb85c;border-color:#4cae4c}.edd-submit.button.green:active,.edd-submit.button.green:focus,.edd-submit.button.green:hover{color:#fff;background:#47a447;border-color:#398439}.edd-submit.button.green:active{background-image:none}.edd-submit.button.yellow{color:#fff;background:#f0ad4e;border-color:#eea236}.edd-submit.button.yellow:active,.edd-submit.button.yellow:focus,.edd-submit.button.yellow:hover{color:#fff;background:#ed9c28;border-color:#d58512}.edd-submit.button.yellow:active{background-image:none}.edd-submit.button.orange{color:#fff;background:#ed9c28;border-color:#e3921e}.edd-submit.button.orange:active,.edd-submit.button.orange:focus,.edd-submit.button.orange:hover{color:#fff;background:#e59016;border-color:#d58512}.edd-submit.button.orange:active{background-image:none}.edd-submit.button.dark-gray{color:#fff;background:#363636;border-color:#222}.edd-submit.button.dark-gray:active,.edd-submit.button.dark-gray:focus,.edd-submit.button.dark-gray:hover{color:#fff;background:#333;border-color:#adadad}.edd-submit.button.dark-gray:active{background-image:none}.edd_download_inner{padding:0 8px 8px;margin:0 0 10px}.edd_download_image{max-width:100%}.edd_download .edd_price{margin-bottom:10px}.edd-cart-ajax{margin:0 8px 0 4px;position:relative;top:2px;background:0 0;border:none;padding:0}.edd-cart-number-of-items{font-style:italic;color:grey}.edd-cart-meta.edd_subtotal{font-weight:700;font-style:italic}.edd-cart-meta.edd_cart_tax{font-size:1em;font-style:italic}.edd-cart-meta.edd_cart_tax::before{font-style:normal}.edd-cart-meta.edd_total{font-weight:700}.edd-cart-meta{padding:2px 5px}.edd-cart-meta.edd_subtotal,.edd-cart-meta.edd_total{background-color:#f9f9f9}.edd_errors:not(.edd-alert){-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;border:1px solid #E6DB55;margin:0 0 21px;background:#FFFFE0;color:#333}.edd_error{padding:10px}p.edd_error{margin:0!important}.edd_success:not(.edd-alert){-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;border:1px solid #b3ce89;margin:20px 0;background:#d5eab3;color:#567622;padding:6px 8px;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}.edd-alert{-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;margin-bottom:20px;padding:10px;border:1px solid transparent;vertical-align:middle}.edd-alert p{padding:0}.edd-alert p:not(:last-child){margin-bottom:5px}.edd-alert p:last-child{margin-bottom:0}.edd-alert-error{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.edd-alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#3c763d}.edd-alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.edd-alert-warn{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}
1
+ @charset "UTF-8";@font-face{font-family:EDD-Icons;src:url(fonts/EDD-Icons.eot);src:url(fonts/EDD-Icons.eot?#iefix) format('embedded-opentype'),url(fonts/EDD-Icons.woff) format('woff'),url(fonts/EDD-Icons.ttf) format('truetype'),url(fonts/EDD-Icons.svg#EDD-Icons) format('svg');font-weight:400;font-style:normal}[class*=edd-icon-],[class*=" edd-icon-"]{font-family:EDD-Icons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;width:auto;height:auto;line-height:1;-webkit-font-smoothing:antialiased}[class*=edd-icon-]:before,[class*=" edd-icon-"]:before{text-decoration:inherit;display:inline-block;cursor:default;speak:none}.edd-icon-spinner:before{content:"\71"}.edd-icon-ok:before{content:"\77"}.edd-icon-remove:before{content:"\65"}.edd-icon-remove-circle:before{content:"\72"}.edd-icon-ok-circle:before{content:"\74"}#edd_checkout_form_wrap label:after,.edd_clearfix:after{clear:both;visibility:hidden;text-indent:-9999px;content:"."}.edd-icon-spin{display:inline-block;-moz-animation:edd-icon-spin 2s infinite linear;-o-animation:edd-icon-spin 2s infinite linear;-webkit-animation:edd-icon-spin 2s infinite linear;animation:edd-icon- spin 2s infinite linear}@-moz-keyframes edd-icon-spin{0%{-moz-transform:rotate(0)}100%{-moz-transform:rotate(359deg)}}@-webkit-keyframes edd-icon-spin{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(359deg)}}@-o-keyframes edd-icon-spin{0%{-o-transform:rotate(0)}100%{-o-transform:rotate(359deg)}}@-ms-keyframes edd-icon-spin{0%{-ms-transform:rotate(0)}100%{-ms-transform:rotate(359deg)}}@keyframes edd-icon-spin{0%{transform:rotate(0)}100%{transform:rotate(359deg)}}.edd_clearfix:after{display:block;float:none}#edd_checkout_cart{text-align:left;width:100%;border:none;margin:0 0 21px;table-layout:auto}#edd_checkout_cart td,#edd_checkout_cart th{text-align:left;border:1px solid #eee;color:#666;padding:.5em 1.387em}#edd_checkout_cart .edd_cart_header_row th{background:#fafafa;padding:1.387em}#edd_checkout_cart .edd_cart_discount_row th,#edd_checkout_cart .edd_cart_tax_row th{background:0 0}#edd_checkout_cart th{font-weight:700}#edd_checkout_cart td{line-height:25px;vertical-align:middle;background:#fff}#edd_checkout_cart td.edd_cart_actions,#edd_checkout_cart td:last-child,#edd_checkout_cart th.edd_cart_actions,#edd_checkout_cart th.edd_cart_total,#edd_checkout_cart th:last-child{text-align:right}#edd_checkout_cart td img{float:left;margin:0 8px 0 0;background:0 0;padding:0;border:none}#edd_checkout_cart input.edd-item-quantity{width:3em;padding:2px}#edd_checkout_cart .edd_discount{display:inline-block;margin-left:5px}.edd_discount_remove{display:inline-block;width:10px;height:11px;background:url(images/xit.gif) no-repeat;position:relative;top:3px}.edd_discount_remove:hover{background-position:-10px 0}#edd_checkout_cart br{display:none}#edd_checkout_cart a.edd-cart-saving-button{font-weight:400;text-decoration:none}#edd_checkout_form_wrap legend{display:block;font-size:120%;line-height:1;font-weight:700;width:100%;margin:0 0 21px;padding:0}#edd_checkout_form_wrap label{font-weight:700;display:block;position:relative;line-height:100%;font-size:95%;margin:0 0 5px}#edd_checkout_form_wrap label:after{display:block;float:none;height:0}#edd_checkout_form_wrap span.edd-description{color:#666;font-size:80%;display:block;margin:0 0 5px}#edd_checkout_form_wrap input.edd-input,#edd_checkout_form_wrap textarea.edd-input{display:inline-block;width:70%}#edd_checkout_form_wrap select.edd-select{display:block;width:60%}#edd_checkout_form_wrap select.edd-select.edd-select-small{display:inline;width:auto}#edd_checkout_form_wrap input.edd-input.error,#edd_checkout_form_wrap textarea.edd-input.error{border-color:#c4554e}#edd_checkout_form_wrap #edd_tax_opt_in_fields label,#edd_checkout_form_wrap #edd_terms_agreement label{display:inline-block;width:auto}#edd_checkout_form_wrap>p{margin:0 0 21px}#edd_checkout_form_wrap span.edd-required-indicator{color:#b94a48;display:inline}#edd_checkout_form_wrap input[type=text],#edd_checkout_form_wrap input[type=email],#edd_checkout_form_wrap input[type=password],#edd_checkout_form_wrap textarea{padding:4px 6px}#edd_checkout_form_wrap input[type=radio]{border:none;margin-right:5px}#edd_checkout_form_wrap input[type=checkbox]{float:left;margin:0 8px 0 0}#edd_checkout_form_wrap .edd-payment-icons{height:32px;display:block;margin:0 0 8px}#edd_checkout_form_wrap .edd-payment-icons img.payment-icon{max-height:32px;width:auto;margin:0 3px 0 0;float:left;background:0 0;padding:0;border:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}#edd_checkout_form_wrap #edd-payment-mode-wrap label{display:inline-block;margin:0 20px 0 0}#edd_checkout_form_wrap #edd-payment-mode-wrap .edd-payment-mode-label{font-weight:700;display:inline-block;position:relative;margin-bottom:5px}#edd_checkout_form_wrap fieldset{border:1px solid #eee;padding:1.387em;margin:0 0 21px}#edd_checkout_form_wrap #edd_discount_code,#edd_checkout_form_wrap #edd_purchase_submit,#edd_checkout_form_wrap #edd_register_account_fields{padding:0;border:none}#edd_checkout_form_wrap fieldset fieldset{margin:0;border:none;padding:0}#edd_checkout_form_wrap #edd-login-account-wrap,#edd_checkout_form_wrap #edd-new-account-wrap,#edd_checkout_form_wrap #edd_final_total_wrap,#edd_checkout_form_wrap #edd_show_discount,#edd_checkout_form_wrap .edd-cart-adjustment{background:#fafafa;color:#666;padding:.5em 1.387em}#edd_checkout_form_wrap #edd-discount-code-wrap,#edd_checkout_form_wrap #edd_final_total_wrap,#edd_checkout_form_wrap #edd_show_discount{border:1px solid #eee}#edd_checkout_form_wrap .edd-cart-adjustment{padding:1.387em}#edd_checkout_form_wrap .edd-cart-adjustment input.edd-input,#edd_checkout_form_wrap .edd-cart-adjustment input.edd-submit{display:inline-block}#edd_checkout_form_wrap .edd-cart-adjustment input.edd-submit{padding:3px 12px;margin-bottom:2px}#edd_checkout_form_wrap #edd-discount-error-wrap{width:100%;display:inline-block;margin:1em 0 0}#edd_checkout_form_wrap #edd-login-account-wrap,#edd_checkout_form_wrap #edd-new-account-wrap{margin:-1.387em -1.387em 21px;border-left:none;border-right:none;border-top:none}#edd_checkout_form_wrap #edd_payment_mode_select,#edd_checkout_form_wrap fieldset#edd_register_fields #edd_checkout_user_info{margin-bottom:21px}#edd_checkout_form_wrap fieldset#edd_register_account_fields legend{padding-top:11px}#edd_checkout_form_wrap fieldset#edd_register_account_fields p.edd_login_password,#edd_checkout_form_wrap fieldset#edd_register_account_fields p.edd_register_password{margin:0}#edd_checkout_form_wrap fieldset#edd_cc_fields{border:1px solid #f0f0f0;background:#f9f9f9;position:relative}#edd_checkout_form_wrap fieldset#edd_cc_fields legend{border:none;padding:0}#edd_checkout_form_wrap fieldset p:last-child{margin-bottom:0}#edd_checkout_form_wrap fieldset#edd_cc_fields #edd-card-number-wrap{margin-top:5px}#edd_checkout_form_wrap #edd_purchase_final_total{margin:21px 0}#edd_checkout_form_wrap #edd_purchase_final_total p{margin:0}#edd_secure_site_wrapper{padding:4px 4px 4px 0;font-weight:700}#edd_secure_site_wrapper span.padlock:before{content:'\f160';display:inline-block;-webkit-font-smoothing:antialiased;font:400 20px/1 dashicons;vertical-align:top}#edd_checkout_form_wrap input.edd-input.card-number.valid{background-image:url(images/tick.png);background-repeat:no-repeat;background-position:98% 50%}#edd_checkout_form_wrap span.exp-divider{display:inline}#edd_checkout_form_wrap span.card-type{position:absolute;top:-2px;right:0;width:43px;height:32px;background-size:43px 32px!important}#edd-amazon-address-box,#edd-amazon-wallet-box{height:228px;width:350px}#edd_checkout_form_wrap span.card-type.off{display:none}#edd_checkout_form_wrap span.card-type.visa{background:url(images/icons/visa.gif) no-repeat}#edd_checkout_form_wrap span.card-type.mastercard{background:url(images/icons/mastercard.gif) no-repeat}#edd_checkout_form_wrap span.card-type.discover{background:url(images/icons/discover.gif) no-repeat}#edd_checkout_form_wrap span.card-type.amex{background:url(images/icons/americanexpress.gif) no-repeat}#edd_checkeout_form_wrap .edd-cart-ajax,#edd_checkout_form_wrap #edd-discount-loader{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.edd-amazon-profile-wrapper{font-size:12px}.edd-amazon-profile-name{font-weight:600}.edd-amazon-logout{font-size:10px;line-height:12px}.edd-amazon-logout a{cursor:pointer}#edd-amazon-address-box{margin-bottom:15px}@media only screen and (min-width:768px){#edd-amazon-address-box,#edd-amazon-wallet-box{width:100%;height:228px}}.edd_purchase_submit_wrapper{position:relative}.edd_purchase_submit_wrapper a.edd-add-to-cart{text-decoration:none;display:none;position:relative;overflow:hidden}.edd_purchase_submit_wrapper a.edd-add-to-cart.edd-has-js{display:inline-block}.edd_purchase_submit_wrapper .edd-cart-ajax{display:none;position:relative;left:-35px}.edd-submit.button.edd-ajax-loading{padding-right:30px}.edd-add-to-cart .edd-add-to-cart-label{opacity:1;filter:alpha(opacity=100)}.edd-add-to-cart[data-edd-loading] .edd-add-to-cart-label,a.edd-add-to-cart .edd-loading{opacity:0;filter:alpha(opacity=0)}a.edd-add-to-cart .edd-loading{position:absolute;left:50%;top:50%}a.edd-add-to-cart .edd-add-to-cart-label,a.edd-add-to-cart .edd-loading{-webkit-transition:.1s opacity!important;-moz-transition:.1s opacity!important;-ms-transition:.1s opacity!important;-o-transition:.1s opacity!important;transition:.1s opacity!important}.edd-add-to-cart[data-edd-loading] .edd-loading{opacity:1;filter:alpha(opacity=100)}.edd-cart-added-alert{color:#567622;display:block;position:absolute}.edd-cart-ajax,body.edd_receipt_page:before{position:relative}.edd_form input.edd-input.required,.edd_form select.edd-select.required{color:#000}body.edd_receipt_page{background-color:#fff;color:#141412;margin:0;font-family:Helvetica,sans-serif;font-size:12px}#edd_user_history .edd_purchase_status.cancelled,#edd_user_history .edd_purchase_status.failed,#edd_user_history .edd_purchase_status.pending,#edd_user_history .edd_purchase_status.revoked,table#edd_purchase_receipt .edd_receipt_payment_status.cancelled,table#edd_purchase_receipt .edd_receipt_payment_status.failed,table#edd_purchase_receipt .edd_receipt_payment_status.pending,table#edd_purchase_receipt .edd_receipt_payment_status.revoked{color:#f73f2e}body.edd_receipt_page #edd_receipt_wrapper{width:660px;margin:0 auto;padding:50px 0}body.edd_receipt_page table{display:table;width:100%;border-bottom:1px solid #ededed;border-collapse:collapse;border-spacing:0;font-size:14px;line-height:2;margin:0 0 20px}body.edd_receipt_page td,body.edd_receipt_page th{display:table-cell;text-align:left;border-top:1px solid #ededed;padding:6px 10px;font-weight:400}body.edd_receipt_page th{font-weight:700;text-transform:uppercase}body.edd_receipt_page h3{font-size:22px;margin:40px 0 5px;clear:both;display:block;font-weight:700}body.edd_receipt_page li{list-style:none}table#edd_purchase_receipt,table#edd_purchase_receipt_products{width:100%}table#edd_purchase_receipt td,table#edd_purchase_receipt th,table#edd_purchase_receipt_products td,table#edd_purchase_receipt_products th{text-align:left}table#edd_purchase_receipt_products li{list-style:none;margin:0 0 8px 10px}table#edd_purchase_receipt ul,table#edd_purchase_receipt_products ul.edd_purchase_receipt_files{margin:0;padding:0}table#edd_purchase_receipt li.edd_download_file{list-style:none;margin:0 0 8px}table#edd_purchase_receipt_products .edd_purchase_receipt_product_notes{font-style:italic}table#edd_purchase_receipt_products .edd_purchase_receipt_product_name{font-weight:700}table#edd_purchase_receipt_products .edd_bundled_product_name{font-style:italic;font-weight:700}#edd_user_history{text-align:left;width:100%;border-top:1px solid #f0f0f0;border-bottom:none}#edd_login_form .edd-input,#edd_login_form label,#edd_profile_editor_form label,#edd_register_form .edd-input,#edd_register_form label{display:inline-block;width:200px}#edd_user_history td,#edd_user_history th{text-align:left;padding:3px 5px;border-bottom:1px solid #f0f0f0;border-top:none}#edd_user_history th{font-weight:700;background:#f5f5f5}#edd_user_history td{line-height:25px;vertical-align:middle}#edd_profile_editor_form p{margin-bottom:8px}.edd_added_to_cart_alert{padding:5px;font-size:14px;border:1px solid #046a9e;background:#9ecce2;color:#333;margin:8px 0}.edd_added_to_cart_alert a.edd_alert_checkout_link{color:#000!important}input.edd_submit_plain{background:0 0!important;border:none!important;padding:0!important;display:inline;cursor:pointer}.single-download .edd_download_purchase_form{margin-bottom:1.387em}.edd_download_purchase_form .edd_download_quantity_wrapper{margin:0 0 .5em}.edd_download_purchase_form .edd_download_quantity_wrapper .edd-item-quantity{width:75px}.edd_download_purchase_form .edd_price_options{margin:0 0 15px}.edd_download_purchase_form .edd_price_options ul{margin:0;padding:0;list-style:none}.edd_download_purchase_form .edd_price_options li{display:block;padding:0;margin:0}.edd_download_purchase_form .edd_price_options span{display:inline;padding:0;margin:0}.edd_download_purchase_form .edd_price_options .edd_download_quantity_wrapper{padding-left:18px}.edd_download_purchase_form .edd_price_options .edd_download_quantity_wrapper *{font-size:80%}.edd_download_purchase_form .edd_price_options input.edd-item-quantity{display:inline;width:50px;max-width:90%}#edd-purchase-button,.edd-submit,input[type=submit].edd-submit{display:inline-block;padding:6px 12px;margin:0;font-size:14px;font-weight:400;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.edd-submit.button:focus,input[type=submit].edd-submit:focus{outline:#333 dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.edd-submit.button:focus,.edd-submit.button:hover,input[type=submit].edd-submit:focus,input[type=submit].edd-submit:hover{color:#333;text-decoration:none}.edd-submit.button:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.edd-submit.plain{padding:0}.edd-submit.button,.edd-submit.button.gray,.edd-submit.button:visited{color:#333;background:#f0f0f0;border-color:#ccc}.edd-submit.button.gray:active,.edd-submit.button.gray:focus,.edd-submit.button.gray:hover,.edd-submit.button:active,.edd-submit.button:focus,.edd-submit.button:hover{color:#333;background:#ebebeb;border-color:#adadad}.edd-submit.button.gray:active{background-image:none}.edd-submit.button.white{color:#333;background:#fff;border-color:#ccc}.edd-submit.button.white:active,.edd-submit.button.white:focus,.edd-submit.button.white:hover{color:#333;background:#ebebeb;border-color:#adadad}.edd-submit.button.white:active{background-image:none}.edd-submit.button.blue{color:#fff;background:#428bca;border-color:#357ebd}.edd-submit.button.blue.active,.edd-submit.button.blue:focus,.edd-submit.button.blue:hover{color:#fff;background:#3276b1;border-color:#285e8e}.edd-submit.button.blue.active{background-image:none}.edd-submit.button.red{color:#fff;background:#d9534f;border-color:#d43f3a}.edd-submit.button.red:active,.edd-submit.button.red:focus,.edd-submit.button.red:hover{color:#fff;background:#d2322d;border-color:#ac2925}.edd-submit.button.red:active{background-image:none}.edd-submit.button.green{color:#fff;background:#5cb85c;border-color:#4cae4c}.edd-submit.button.green:active,.edd-submit.button.green:focus,.edd-submit.button.green:hover{color:#fff;background:#47a447;border-color:#398439}.edd-submit.button.green:active{background-image:none}.edd-submit.button.yellow{color:#fff;background:#f0ad4e;border-color:#eea236}.edd-submit.button.yellow:active,.edd-submit.button.yellow:focus,.edd-submit.button.yellow:hover{color:#fff;background:#ed9c28;border-color:#d58512}.edd-submit.button.yellow:active{background-image:none}.edd-submit.button.orange{color:#fff;background:#ed9c28;border-color:#e3921e}.edd-submit.button.orange:active,.edd-submit.button.orange:focus,.edd-submit.button.orange:hover{color:#fff;background:#e59016;border-color:#d58512}.edd-submit.button.orange:active{background-image:none}.edd-submit.button.dark-gray{color:#fff;background:#363636;border-color:#222}.edd-submit.button.dark-gray:active,.edd-submit.button.dark-gray:focus,.edd-submit.button.dark-gray:hover{color:#fff;background:#333;border-color:#adadad}.edd-submit.button.dark-gray:active{background-image:none}.edd_download_inner{padding:0 8px 8px;margin:0 0 10px}.edd_download_image{max-width:100%}.edd_download .edd_price{margin-bottom:10px}.edd-cart-ajax{margin:0 8px 0 4px;top:2px;background:0 0;border:none;padding:0}.edd-cart-number-of-items{font-style:italic;color:grey}.edd-cart-meta.edd_subtotal{font-weight:700;font-style:italic}.edd-cart-meta.edd_cart_tax{font-size:1em;font-style:italic}.edd-cart-meta.edd_cart_tax::before{font-style:normal}.edd-cart-meta.edd_total{font-weight:700}.edd-cart-meta{padding:2px 5px}.edd-cart-meta.edd_subtotal,.edd-cart-meta.edd_total{background-color:#f9f9f9}.edd_errors:not(.edd-alert){-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;border:1px solid #E6DB55;margin:0 0 21px;background:#FFFFE0;color:#333}.edd_error{padding:10px}p.edd_error{margin:0!important}.edd_success:not(.edd-alert){border-radius:2px;border:1px solid #b3ce89;margin:20px 0;background:#d5eab3;color:#567622;padding:6px 8px;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}.edd-alert,.edd_success:not(.edd-alert){-webkit-border-radius:2px;-moz-border-radius:2px}.edd-alert{border-radius:2px;margin-bottom:20px;padding:10px;border:1px solid transparent;vertical-align:middle}.edd-alert p{padding:0}.edd-alert p:not(:last-child){margin-bottom:5px}.edd-alert p:last-child{margin-bottom:0}.edd-alert-error{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.edd-alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#3c763d}.edd-alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.edd-alert-warn{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}
templates/emails/header-default.php CHANGED
@@ -60,6 +60,7 @@ $header_content_h1 = "
60
  line-height: 1.2;
61
  ";
62
  $header_img = edd_get_option( 'email_logo', '' );
 
63
  ?>
64
  <!DOCTYPE html>
65
  <html>
@@ -78,19 +79,21 @@ $header_img = edd_get_option( 'email_logo', '' );
78
  </div>
79
  <?php endif; ?>
80
  <table border="0" cellpadding="0" cellspacing="0" width="520" id="template_container" style="<?php echo $template_container; ?>">
81
- <tr>
82
- <td align="center" valign="top">
83
- <!-- Header -->
84
- <table border="0" cellpadding="0" cellspacing="0" width="520" id="template_header" style="<?php echo $template_header; ?>" bgcolor="#ffffff">
85
- <tr>
86
- <td>
87
- <h1 style="<?php echo $header_content_h1; ?>"><?php echo EDD()->emails->get_heading(); ?></h1>
88
- </td>
89
- </tr>
90
- </table>
91
- <!-- End Header -->
92
- </td>
93
- </tr>
 
 
94
  <tr>
95
  <td align="center" valign="top">
96
  <!-- Body -->
60
  line-height: 1.2;
61
  ";
62
  $header_img = edd_get_option( 'email_logo', '' );
63
+ $heading = EDD()->emails->get_heading();
64
  ?>
65
  <!DOCTYPE html>
66
  <html>
79
  </div>
80
  <?php endif; ?>
81
  <table border="0" cellpadding="0" cellspacing="0" width="520" id="template_container" style="<?php echo $template_container; ?>">
82
+ <?php if ( ! empty ( $heading ) ) : ?>
83
+ <tr>
84
+ <td align="center" valign="top">
85
+ <!-- Header -->
86
+ <table border="0" cellpadding="0" cellspacing="0" width="520" id="template_header" style="<?php echo $template_header; ?>" bgcolor="#ffffff">
87
+ <tr>
88
+ <td>
89
+ <h1 style="<?php echo $header_content_h1; ?>"><?php echo $heading; ?></h1>
90
+ </td>
91
+ </tr>
92
+ </table>
93
+ <!-- End Header -->
94
+ </td>
95
+ </tr>
96
+ <?php endif; ?>
97
  <tr>
98
  <td align="center" valign="top">
99
  <!-- Body -->
templates/shortcode-profile-editor.php CHANGED
@@ -109,6 +109,6 @@ if ( is_user_logged_in() ):
109
 
110
  <?php
111
  else:
112
- echo __( 'You need to login to edit your profile.', 'edd' );
113
  echo edd_login_form();
114
  endif;
109
 
110
  <?php
111
  else:
112
+ echo '<p>' . __( 'You need to login to edit your profile.', 'edd' ) . '</p>';
113
  echo edd_login_form();
114
  endif;