Give – Donation Plugin and Fundraising Platform - Version 2.12.1

Version Description

Download this release

Release Info

Developer jason_the_adams
Plugin Icon 128x128 Give – Donation Plugin and Fundraising Platform
Version 2.12.1
Comparing to
See all releases

Code changes from version 2.12.0 to 2.12.1

assets/dist/js/give-sequoia-template.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function i(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,i),a.l=!0,a.exports}i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)i.d(n,a,function(t){return e[t]}.bind(null,a));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=903)}({20:function(e,t){function i(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=i=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=i=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),i(t)}e.exports=i,e.exports.default=e.exports,e.exports.__esModule=!0},903:function(e,t,i){i(904),e.exports=i(905)},904:function(e,t,i){},905:function(e,t,i){"use strict";i.r(t);var n=i(20),a=i.n(n);!function(e){var t=window.sequoiaTemplateL10n,i=window.sequoiaTemplateOptions,n=e(".give-embed-form"),o=e(".advance-btn",n),r=e(".back-btn"),c=e(".give-form-navigator .title"),s=e("#give-payment-mode-select"),l=!1,d=window.parent.wp;d&&d.data&&n.on("click",(function(){var e=window.frameElement.closest(".wp-block").getAttribute("data-block");d.data.dispatch("core/block-editor").selectBlock(e)}));var u={currentStep:"enabled"===i.introduction.enabled?0:1,animating:!1,firstFocus:!1,goToStep:function(t){var a=p[t].title?e(p[t].selector).height()+50:e(p[t].selector).height(),o=p[u.currentStep].title?e(p[u.currentStep].selector).height()+50:e(p[u.currentStep].selector).height();a>o?e(".give-form-templates").css("min-height","".concat(a+123,"px")):setTimeout((function(){e(".give-form-templates").css("min-height","".concat(a+123,"px"))}),200),e(".step-tracker").removeClass("current"),e('.step-tracker[data-step="'+t+'"]').addClass("current"),"disabled"===i.introduction.enabled?(3===e(".step-tracker").length&&e(".step-tracker").remove(),1===(t=t>0?t:1)?e(".back-btn",n).hide():e(".back-btn",n).show(),e(".give-form-navigator",n).addClass("nav-visible"),e(p[t].selector).css("padding-top","50px")):0===t?(e(".give-form-navigator",n).removeClass("nav-visible"),e(p[t].selector).css("padding-top","")):(e(".give-form-navigator",n).addClass("nav-visible"),e(p[t].selector).css("padding-top","50px")),p[t].title&&c.text(p[t].title);var r=p.map((function(e,i){return i===t||i===u.currentStep?null:e.selector})).filter(Boolean).join(", ");if(e(r).hide(),u.currentStep!==t){var s="slide-in-right slide-in-left slide-out-right slide-out-left",l=u.currentStep<t?"left":"right",d=u.currentStep<t?"right":"left";e(p[u.currentStep].selector).removeClass(s).addClass("slide-out-".concat(l)),e(p[t].selector).show().removeClass(s).addClass("slide-in-".concat(d))}u.currentStep=t,setTimeout((function(){if(_(),!u.firstFocus&&"disabled"===i.introduction.enabled)return u.firstFocus=!0;p[u.currentStep].firstFocus&&e(p[u.currentStep].firstFocus).focus()}),200)},init:function(){var t,i;p.forEach((function(t){void 0!==t.setup&&t.setup(),e(t.selector).css("position","absolute")})),o.on("click",(function(e){e.preventDefault(),u.forward()})),r.on("click",(function(e){e.preventDefault(),u.back()})),e(".step-tracker").on("click",(function(t){t.preventDefault(),u.goToStep(parseInt(e(t.target).attr("data-step")))})),t=function(t){!1===l?e(".form-footer").css("transition","margin-top 0.2s ease"):e(".form-footer").css("transition",""),e(".form-footer").css("margin-top","".concat(t,"px"))},i=0,window.requestAnimationFrame((function n(){var a=e(p[u.currentStep].selector);i!==e(a).outerHeight()&&(t(e(a).outerHeight()),i=e(a).outerHeight()),window.requestAnimationFrame(n)})),e(".give-fee-recovery-donors-choice").parent().hasClass("give-form")&&e("#give_checkout_user_info").after(e(".give-fee-recovery-donors-choice")),u.goToStep(Give.fn.getParameterByName("showDonationProcessingError")||Give.fn.getParameterByName("showFailedDonationError")?2:0);var n=document.querySelectorAll('[data-field-type="checkbox"]');Array.from(n).forEach((function(e){var t='[data-field-name="'+e.getAttribute("data-field-name")+'"]';y({container:t,label:t+" label",input:t+' input[type="checkbox"]'})}))},back:function(){var e=0!==u.currentStep?u.currentStep-1:0;u.goToStep(e),u.currentStep=e},forward:function(){var e=null!==u.currentStep?u.currentStep+1:1;u.goToStep(e),u.currentStep=e}},p=[{id:"introduction",title:null,selector:".give-section.introduction",label:i.introduction.donate_label,showErrors:!1,tabOrder:[".introduction .advance-btn",".step-tracker"]},{id:"choose-amount",title:i.payment_amount.header_label,selector:".give-section.choose-amount",label:i.payment_amount.next_label,showErrors:!1,tabOrder:["select.give-cs-select-currency","input.give-amount-top",".give-donation-levels-wrap button",".give-recurring-period",".give-recurring-donors-choice-period",".give_fee_mode_checkbox",".choose-amount .advance-btn",".step-tracker",".back-btn"],firstFocus:".give-default-level",setup:function(){var t=e(".give-donation-level-btn").length;1===t?e(".give-donation-levels-wrap").attr("style","display: none!important;"):t%2==0&&t<6&&e(".give-donation-levels-wrap").css("grid-template-columns","repeat(2, minmax(0, 1fr))"),e("#give-amount").on("blur",(function(){Give.form.fn.isValidDonationAmount(e("form"))?e(".advance-btn").attr("disabled",!1):e(".advance-btn").attr("disabled",!0)})),e(".give-donation-level-btn").each((function(){if(!e(this).attr("has-tooltip")){var t=e(this).attr("value"),i=e(this).text(),n=window.give_global_vars.currency_sign,a=window.give_global_vars.currency_pos;if("custom"!==t){var o="before"===a?'<div class="currency currency--before">'.concat(n,"</div>").concat(t):"".concat(t,'<div class="currency currency--after">').concat(n,"</div>");e(this).html(o)}if("custom"!==t&&i!==("before"===a?n+t:t+n)){var r=document.createElement("span");r.classList.add("give-tooltip","hint--top","hint--bounce",i.length<50?"narrow":""),r.style.width="100%",r.setAttribute("aria-label",i.length<50?i:i.substr(0,50)+"..."),e(this).wrap(r),e(this).attr("has-tooltip",!0)}}}))}},{id:"payment",title:i.payment_information.header_label,label:i.payment_information.checkout_label,selector:".give-section.payment",showErrors:!0,tabOrder:[".payment input, .payment a, .payment button, .payment select, .payment multiselect, .payment textarea, .payment .button",".give-submit",".step-tracker",".back-btn"],firstFocus:"#give-first",setup:function(){e(".give-section.payment").on("click",".give-cancel-login, .give-checkout-register-cancel",k),e(".give-section.payment").on("click touchend",'input[name="give_login_submit"]',(function(){e('input[name="give_login_submit"] + .give-loading-animation').removeClass("give-loading-animation").addClass("sequoia-loader spinning")})),window.give_global_vars.purchase_loading="",e(".give_error").each((function(){f(e(this))})),y({container:"#give-anonymous-donation-wrap label",label:"#give-anonymous-donation-wrap label",input:"#give-anonymous-donation"}),y({container:".give-recurring-donors-choice",label:".give-recurring-donors-choice label",input:'input[name="give-recurring-period"]'}),y({container:".give-fee-recovery-donors-choice",label:".give-fee-message-label-text",input:'input[name="give_fee_mode_checkbox"]'}),y({container:".give-activecampaign-fieldset",label:".give-activecampaign-optin-label",input:".give-activecampaign-optin-input"}),y({container:".give-mailchimp-fieldset",label:".give-mc-message-text",input:'input[name="give_mailchimp_signup"]'}),y({container:".give-constant-contact-fieldset",label:".give-constant-contact-fieldset span",input:'input[name="give_constant_contact_signup"]'}),y({container:"#give_terms_agreement",label:"#give_terms_agreement label",input:'input[name="give_agree_to_terms"]'}),e("body.give-form-templates").on("click touchend",'form.give-form input[name="give-purchase"].give-submit',(function(){e("#give-purchase-button + .give-loading-animation").removeClass("give-loading-animation").addClass("sequoia-loader"),e("form").get(0).checkValidity()&&e(".sequoia-loader").addClass("spinning")})),e("body.give-form-templates").on("click touchend","#give_error_invalid_donation_maximum",(function(){u.goToStep(1)})),e("body.give-form-templates").on("click touchend","#give_error_invalid_donation_amount",(function(){u.goToStep(1)})),e("#give-gateway-radio-list li").each((function(){var t;switch(e("input",this).val()){case"manual":t="fas fa-tools";break;case"offline":t="fas fa-wallet";break;case"paypal":t="fab fa-paypal";break;case"stripe":case"stripe_checkout":t="far fa-credit-card";break;case"stripe_sepa":case"stripe_ach":case"stripe_ideal":case"stripe_becs":t="fas fa-university";break;case"paypalpro_payflow":case"paypal-commerce":t="far fa-credit-card";break;case"stripe_google_pay":t="fab fa-google";break;case"stripe_apple_pay":t="fab fa-apple";break;default:t="fas fa-hand-holding-heart"}e(this).append('<i class="'.concat(t,'"></i>'))})),v(),b(),new window.MutationObserver((function(t){t.forEach((function(t){if(t.addedNodes)for(var i=0;i<t.addedNodes.length;i++){var n=t.addedNodes[i];if(e(n).find(".give_error").length>0&&(f(e(n).find(".give_error")),S()),e(n).children().hasClass("give_errors")&&(e(n).parent().hasClass("donation-errors")||e(n).children(".give_errors").each((function(){f(e(this))})),S()),e(n).hasClass("give_errors")&&!e(n).parent().hasClass("donation-errors")&&(f(e(n)),e(".sequoia-loader").removeClass("spinning"),S()),"give_tributes_address_state"===e(n).attr("id")){var a=e(n).attr("placeholder");e(n).prepend("<option selected disabled>".concat(a,"</option>"))}if("give_tributes_address_state"===e(n).attr("name")&&e(n).attr("class").includes("give-input")&&e(n).attr("placeholder",e(n).siblings("label").text().trim()),e(n).attr("id")&&e(n).attr("id").includes("give-checkout-login-register")&&g(),e(n).prop("tagName")&&"select"===e(n).prop("tagName").toLowerCase()){var o=e(n).attr("placeholder");o&&e(n).prepend('<option value="" disabled selected>'.concat(o,"</option>"))}}}))})).observe(document.body,{childList:!0,subtree:!0,attributes:!1,characterData:!1})}}];function f(t){e(t).parent().hasClass("give-stripe-payment-request-button")||(0===e(".donation-errors").length&&e(".payment").prepend('<div class="donation-errors"></div>'),setTimeout((function(){void 0===a()(e(".donation-errors").html())||e(".donation-errors").html().includes(e(t).html())?e(t).remove():e(t).appendTo(".donation-errors")}),1))}function g(){var t=function(t){e(t.target).is("input")&&(e(t.target).hasClass("give-disabled")||e(t.target).closest("label").toggleClass("checked"))};e('[id*="give-register-account-fields"]').off("click",t).on("click",t)}function v(){e("#give-ffm-section").off("click",w).on("click",w),e("#give-ffm-section input").each((function(){switch(e(this).prop("type")){case"checkbox":e(this).prop("checked")?e(this).parent().addClass("checked"):e(this).parent().removeClass("checked");break;case"radio":e(this).prop("checked")?e(this).parent().addClass("selected"):e(this).parent().removeClass("selected")}}))}function m(){0===e("#donate-fieldset").length&&e(".give-section.payment").append('<fieldset id="donate-fieldset"></fieldset>');[".give-constant-contact-fieldset",".give-activecampaign-fieldset",".give-mailchimp-fieldset","#give_terms_agreement",".give-donation-submit"].forEach((function(t){0===e("#donate-fieldset ".concat(t)).length||e("#donate-fieldset ".concat(t)).html()!==e("#give_purchase_form_wrap ".concat(t)).html()&&void 0!==e("#give_purchase_form_wrap ".concat(t)).html()?(e("#donate-fieldset ".concat(t)).remove(),e("#donate-fieldset").append(e("#give_purchase_form_wrap ".concat(t)))):e("#give_purchase_form_wrap ".concat(t)).remove()})),e("li.give-gateway-option-selected").after(e("#give_purchase_form_wrap"));var t="gateway-"+e(".give-gateway-option-selected input").attr("value").replace("_","-");e("#give_purchase_form_wrap").attr("class",t)}function h(t,i){e(t).each((function(){if(""!==e(this).html()&&!1===e(this).html().includes('<i class="fas fa-'.concat(i,'"></i>'))){var t="rtl"===e("html").attr("dir")?"padding-right":"padding-left";e(this).prepend('<i class="fas fa-'.concat(i,'"></i>')),e(this).children("input, selector").each((function(){e(this).attr("style",t+": 33px!important;")}))}}))}function b(){h("#give-first-name-wrap","user"),h("#give-email-wrap","envelope"),h("#give-company-wrap","building"),h("#date_field-wrap","calendar-alt"),h("#url_field-wrap","globe"),h("#phone_field-wrap","phone"),h("#give-phone-wrap","phone"),h("#email_field-wrap","envelope")}function _(){e("select, button, input, textarea, multiselect, a").attr("tabindex",-1),p[u.currentStep].tabOrder.forEach((function(t,i){e(t).attr("tabindex",i+1)}))}function y(t){var i=t.container,n=t.label,a=t.input;!0===e(a).prop("checked")&&e(i).addClass("active"),e(document).on("click",n,(function(t){i===n&&(t.stopPropagation(),t.preventDefault(),e(a).prop("checked",!e(a).prop("checked"))),e(i).toggleClass("active")}))}function w(t){if(e(t.target).is("input"))switch(e(t.target).prop("type")){case"checkbox":e(t.target).closest("label").toggleClass("checked");break;case"radio":e(t.target).closest("label").addClass("selected"),e(t.target).parent().siblings().removeClass("selected")}}function k(){e("#give_error_must_log_in").remove()}function x(){e('select option[selected="selected"][value=""]').length>0&&e('select option[selected="selected"][value=""]').each((function(){e(this).parent().siblings("label").length&&(e(this).text(e(this).parent().siblings("label").text().replace("*","").trim()),e(this).attr("disabled",!0))}))}function S(){"parentIFrame"in window&&window.parentIFrame.sendMessage({action:"giveScrollIframeInToView"})}u.init(),s.length&&"none"!==s.css("display")?(m(),e(document).on("give_gateway_loaded",(function(){setTimeout(_,200),m(),g(),v(),b(),x(),e("#give_purchase_form_wrap").slideDown(200,(function(){l=!1}))})),e(document).on("Give:onPreGatewayLoad",(function(){l=!0,e("#give_purchase_form_wrap").slideUp(200)})),e(document).on("Give:onPreGatewayLoad",(function(){var t=["give_error_test_mode"];e(".give_errors, .give_notices, .give_error").each((function(){t.includes(e(this).attr("id"))||e(this).slideUp(200,(function(){e(this).remove()}))}))}))):e("#give_purchase_form_wrap").addClass("give-single-gateway-wrap"),e(document).on("give_gateway_loaded",(function(t,i,n){2===u.currentStep&&e(".give-form-templates").css("min-height","");var a=e("#".concat(n));if(a.parent().hasClass("give-embed-form")){var o={action:"give_cancel_login",form_id:a.find('[name="give-form-id"]').val()};e.post(Give.fn.getGlobalVar("ajaxurl"),o,(function(t){var i=a.find("[id^=give-checkout-login-register]");i.length&&t.fields.includes("give_checkout_user_info")&&a.find("#give_checkout_user_info").remove(),i.replaceWith(e.parseJSON(t.fields)),i.css({display:"block"}),a.find(".give-submit-button-wrap").show()})).done((function(){window.give_fl_trigger(),b()}))}})),x(),g(),v(),b(),"enabled"===i.payment_amount.decimals_enabled&&e(".give-form").each((function(t,i){var n=e(i),a=Give.form.fn.getVariablePrices(n),o=Give.form.fn.getInfo("currency_symbol",n),r=Give.form.fn.getInfo("currency_position",n),c=Give.form.fn.getInfo("number_decimals",n);e.each(a,(function(e,t){if("custom"!==t.price_id){var i=Give.fn.numberHasDecimal(t.amount)?Give.fn.formatCurrency(t.amount,{symbol:o,position:r,precision:c},n):t.amount,a='<div class="currency currency--'+r+'">'+o+"</div>"+i;n.find(".give-btn-level-"+t.price_id).html(a)}}))})),Array.from(document.querySelectorAll('#give_checkout_user_info input[type="text"]')).filter((function(e){return!e.required})).map((function(e){e.placeholder+=t.optionalLabel}))}(jQuery)}});
1
+ !function(e){var t={};function i(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,i),a.l=!0,a.exports}i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)i.d(n,a,function(t){return e[t]}.bind(null,a));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=903)}({20:function(e,t){function i(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=i=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=i=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),i(t)}e.exports=i,e.exports.default=e.exports,e.exports.__esModule=!0},903:function(e,t,i){i(904),e.exports=i(905)},904:function(e,t,i){},905:function(e,t,i){"use strict";i.r(t);var n=i(20),a=i.n(n);!function(e){var t=window.sequoiaTemplateL10n,i=window.sequoiaTemplateOptions,n=e(".give-embed-form"),o=e(".advance-btn",n),r=e(".back-btn"),c=e(".give-form-navigator .title"),s=e("#give-payment-mode-select"),l=!1,d=window.parent.wp;d&&d.data&&n.on("click",(function(){var e=window.frameElement.closest(".wp-block").getAttribute("data-block");d.data.dispatch("core/block-editor").selectBlock(e)}));var u={currentStep:"enabled"===i.introduction.enabled?0:1,animating:!1,firstFocus:!1,goToStep:function(t){var a=p[t].title?e(p[t].selector).height()+50:e(p[t].selector).height(),o=p[u.currentStep].title?e(p[u.currentStep].selector).height()+50:e(p[u.currentStep].selector).height();a>o?e(".give-form-templates").css("min-height","".concat(a+123,"px")):setTimeout((function(){e(".give-form-templates").css("min-height","".concat(a+123,"px"))}),200),e(".step-tracker").removeClass("current"),e('.step-tracker[data-step="'+t+'"]').addClass("current"),"disabled"===i.introduction.enabled?(3===e(".step-tracker").length&&e(".step-tracker").remove(),1===(t=t>0?t:1)?e(".back-btn",n).hide():e(".back-btn",n).show(),e(".give-form-navigator",n).addClass("nav-visible"),e(p[t].selector).css("padding-top","50px")):0===t?(e(".give-form-navigator",n).removeClass("nav-visible"),e(p[t].selector).css("padding-top","")):(e(".give-form-navigator",n).addClass("nav-visible"),e(p[t].selector).css("padding-top","50px")),p[t].title&&c.text(p[t].title);var r=p.map((function(e,i){return i===t||i===u.currentStep?null:e.selector})).filter(Boolean).join(", ");if(e(r).hide(),u.currentStep!==t){var s="slide-in-right slide-in-left slide-out-right slide-out-left",l=u.currentStep<t?"left":"right",d=u.currentStep<t?"right":"left";e(p[u.currentStep].selector).removeClass(s).addClass("slide-out-".concat(l)),e(p[t].selector).show().removeClass(s).addClass("slide-in-".concat(d))}u.currentStep=t,setTimeout((function(){if(_(),!u.firstFocus&&"disabled"===i.introduction.enabled)return u.firstFocus=!0;p[u.currentStep].firstFocus&&e(p[u.currentStep].firstFocus).focus()}),200)},init:function(){var t,i;p.forEach((function(t){void 0!==t.setup&&t.setup(),e(t.selector).css("position","absolute")})),o.on("click",(function(e){e.preventDefault(),u.forward()})),r.on("click",(function(e){e.preventDefault(),u.back()})),e(".step-tracker").on("click",(function(t){t.preventDefault(),u.goToStep(parseInt(e(t.target).attr("data-step")))})),t=function(t){!1===l?e(".form-footer").css("transition","margin-top 0.2s ease"):e(".form-footer").css("transition",""),e(".form-footer").css("margin-top","".concat(t,"px"))},i=0,window.requestAnimationFrame((function n(){var a=e(p[u.currentStep].selector);i!==e(a).outerHeight()&&(t(e(a).outerHeight()),i=e(a).outerHeight()),window.requestAnimationFrame(n)})),e(".give-fee-recovery-donors-choice").parent().hasClass("give-form")&&e("#give_checkout_user_info").after(e(".give-fee-recovery-donors-choice")),u.goToStep(Give.fn.getParameterByName("showDonationProcessingError")||Give.fn.getParameterByName("showFailedDonationError")?2:0);var n=document.querySelectorAll('[data-field-type="checkbox"]');Array.from(n).forEach((function(e){var t='[data-field-name="'+e.getAttribute("data-field-name")+'"]';y({container:t,label:t+" label",input:t+' input[type="checkbox"]'})}))},back:function(){var e=0!==u.currentStep?u.currentStep-1:0;u.goToStep(e),u.currentStep=e},forward:function(){var e=null!==u.currentStep?u.currentStep+1:1;u.goToStep(e),u.currentStep=e}},p=[{id:"introduction",title:null,selector:".give-section.introduction",label:i.introduction.donate_label,showErrors:!1,tabOrder:[".introduction .advance-btn",".step-tracker"]},{id:"choose-amount",title:i.payment_amount.header_label,selector:".give-section.choose-amount",label:i.payment_amount.next_label,showErrors:!1,tabOrder:["select.give-cs-select-currency","input.give-amount-top",".give-donation-levels-wrap button",".give-recurring-period",".give-recurring-donors-choice-period",".give_fee_mode_checkbox",".choose-amount .advance-btn",".step-tracker",".back-btn"],firstFocus:".give-default-level",setup:function(){var t=e(".give-donation-level-btn").length;1===t?e(".give-donation-levels-wrap").attr("style","display: none!important;"):t%2==0&&t<6&&e(".give-donation-levels-wrap").css("grid-template-columns","repeat(2, minmax(0, 1fr))"),e("#give-amount").on("blur",(function(){Give.form.fn.isValidDonationAmount(e("form"))?e(".advance-btn").attr("disabled",!1):e(".advance-btn").attr("disabled",!0)})),e(".give-donation-level-btn").each((function(){if(!e(this).attr("has-tooltip")){var t=e(this).attr("value"),i=e(this).text(),n=window.give_global_vars.currency_sign,a=window.give_global_vars.currency_pos;if("custom"!==t){var o="before"===a?'<div class="currency currency--before">'.concat(n,"</div>").concat(t):"".concat(t,'<div class="currency currency--after">').concat(n,"</div>");e(this).html(o)}if("custom"!==t&&i!==("before"===a?n+t:t+n)){var r=document.createElement("span");r.classList.add("give-tooltip","hint--top","hint--bounce"),i.length<50&&r.classList.add("narrow"),r.style.width="100%",r.setAttribute("aria-label",i.length<50?i:i.substr(0,50)+"..."),e(this).wrap(r),e(this).attr("has-tooltip",!0)}}}))}},{id:"payment",title:i.payment_information.header_label,label:i.payment_information.checkout_label,selector:".give-section.payment",showErrors:!0,tabOrder:[".payment input, .payment a, .payment button, .payment select, .payment multiselect, .payment textarea, .payment .button",".give-submit",".step-tracker",".back-btn"],firstFocus:"#give-first",setup:function(){e(".give-section.payment").on("click",".give-cancel-login, .give-checkout-register-cancel",k),e(".give-section.payment").on("click touchend",'input[name="give_login_submit"]',(function(){e('input[name="give_login_submit"] + .give-loading-animation').removeClass("give-loading-animation").addClass("sequoia-loader spinning")})),window.give_global_vars.purchase_loading="",e(".give_error").each((function(){f(e(this))})),y({container:"#give-anonymous-donation-wrap label",label:"#give-anonymous-donation-wrap label",input:"#give-anonymous-donation"}),y({container:".give-recurring-donors-choice",label:".give-recurring-donors-choice label",input:'input[name="give-recurring-period"]'}),y({container:".give-fee-recovery-donors-choice",label:".give-fee-message-label-text",input:'input[name="give_fee_mode_checkbox"]'}),y({container:".give-activecampaign-fieldset",label:".give-activecampaign-optin-label",input:".give-activecampaign-optin-input"}),y({container:".give-mailchimp-fieldset",label:".give-mc-message-text",input:'input[name="give_mailchimp_signup"]'}),y({container:".give-constant-contact-fieldset",label:".give-constant-contact-fieldset span",input:'input[name="give_constant_contact_signup"]'}),y({container:"#give_terms_agreement",label:"#give_terms_agreement label",input:'input[name="give_agree_to_terms"]'}),e("body.give-form-templates").on("click touchend",'form.give-form input[name="give-purchase"].give-submit',(function(){e("#give-purchase-button + .give-loading-animation").removeClass("give-loading-animation").addClass("sequoia-loader"),e("form").get(0).checkValidity()&&e(".sequoia-loader").addClass("spinning")})),e("body.give-form-templates").on("click touchend","#give_error_invalid_donation_maximum",(function(){u.goToStep(1)})),e("body.give-form-templates").on("click touchend","#give_error_invalid_donation_amount",(function(){u.goToStep(1)})),e("#give-gateway-radio-list li").each((function(){var t;switch(e("input",this).val()){case"manual":t="fas fa-tools";break;case"offline":t="fas fa-wallet";break;case"paypal":t="fab fa-paypal";break;case"stripe":case"stripe_checkout":t="far fa-credit-card";break;case"stripe_sepa":case"stripe_ach":case"stripe_ideal":case"stripe_becs":t="fas fa-university";break;case"paypalpro_payflow":case"paypal-commerce":t="far fa-credit-card";break;case"stripe_google_pay":t="fab fa-google";break;case"stripe_apple_pay":t="fab fa-apple";break;default:t="fas fa-hand-holding-heart"}e(this).append('<i class="'.concat(t,'"></i>'))})),v(),b(),new window.MutationObserver((function(t){t.forEach((function(t){if(t.addedNodes)for(var i=0;i<t.addedNodes.length;i++){var n=t.addedNodes[i];if(e(n).find(".give_error").length>0&&(f(e(n).find(".give_error")),S()),e(n).children().hasClass("give_errors")&&(e(n).parent().hasClass("donation-errors")||e(n).children(".give_errors").each((function(){f(e(this))})),S()),e(n).hasClass("give_errors")&&!e(n).parent().hasClass("donation-errors")&&(f(e(n)),e(".sequoia-loader").removeClass("spinning"),S()),"give_tributes_address_state"===e(n).attr("id")){var a=e(n).attr("placeholder");e(n).prepend("<option selected disabled>".concat(a,"</option>"))}if("give_tributes_address_state"===e(n).attr("name")&&e(n).attr("class").includes("give-input")&&e(n).attr("placeholder",e(n).siblings("label").text().trim()),e(n).attr("id")&&e(n).attr("id").includes("give-checkout-login-register")&&g(),e(n).prop("tagName")&&"select"===e(n).prop("tagName").toLowerCase()){var o=e(n).attr("placeholder");o&&e(n).prepend('<option value="" disabled selected>'.concat(o,"</option>"))}}}))})).observe(document.body,{childList:!0,subtree:!0,attributes:!1,characterData:!1})}}];function f(t){e(t).parent().hasClass("give-stripe-payment-request-button")||(0===e(".donation-errors").length&&e(".payment").prepend('<div class="donation-errors"></div>'),setTimeout((function(){void 0===a()(e(".donation-errors").html())||e(".donation-errors").html().includes(e(t).html())?e(t).remove():e(t).appendTo(".donation-errors")}),1))}function g(){var t=function(t){e(t.target).is("input")&&(e(t.target).hasClass("give-disabled")||e(t.target).closest("label").toggleClass("checked"))};e('[id*="give-register-account-fields"]').off("click",t).on("click",t)}function v(){e("#give-ffm-section").off("click",w).on("click",w),e("#give-ffm-section input").each((function(){switch(e(this).prop("type")){case"checkbox":e(this).prop("checked")?e(this).parent().addClass("checked"):e(this).parent().removeClass("checked");break;case"radio":e(this).prop("checked")?e(this).parent().addClass("selected"):e(this).parent().removeClass("selected")}}))}function m(){0===e("#donate-fieldset").length&&e(".give-section.payment").append('<fieldset id="donate-fieldset"></fieldset>');[".give-constant-contact-fieldset",".give-activecampaign-fieldset",".give-mailchimp-fieldset","#give_terms_agreement",".give-donation-submit"].forEach((function(t){0===e("#donate-fieldset ".concat(t)).length||e("#donate-fieldset ".concat(t)).html()!==e("#give_purchase_form_wrap ".concat(t)).html()&&void 0!==e("#give_purchase_form_wrap ".concat(t)).html()?(e("#donate-fieldset ".concat(t)).remove(),e("#donate-fieldset").append(e("#give_purchase_form_wrap ".concat(t)))):e("#give_purchase_form_wrap ".concat(t)).remove()})),e("li.give-gateway-option-selected").after(e("#give_purchase_form_wrap"));var t="gateway-"+e(".give-gateway-option-selected input").attr("value").replace("_","-");e("#give_purchase_form_wrap").attr("class",t)}function h(t,i){e(t).each((function(){if(""!==e(this).html()&&!1===e(this).html().includes('<i class="fas fa-'.concat(i,'"></i>'))){var t="rtl"===e("html").attr("dir")?"padding-right":"padding-left";e(this).prepend('<i class="fas fa-'.concat(i,'"></i>')),e(this).children("input, selector").each((function(){e(this).attr("style",t+": 33px!important;")}))}}))}function b(){h("#give-first-name-wrap","user"),h("#give-email-wrap","envelope"),h("#give-company-wrap","building"),h("#date_field-wrap","calendar-alt"),h("#url_field-wrap","globe"),h("#phone_field-wrap","phone"),h("#give-phone-wrap","phone"),h("#email_field-wrap","envelope")}function _(){e("select, button, input, textarea, multiselect, a").attr("tabindex",-1),p[u.currentStep].tabOrder.forEach((function(t,i){e(t).attr("tabindex",i+1)}))}function y(t){var i=t.container,n=t.label,a=t.input;!0===e(a).prop("checked")&&e(i).addClass("active"),e(document).on("click",n,(function(t){i===n&&(t.stopPropagation(),t.preventDefault(),e(a).prop("checked",!e(a).prop("checked"))),e(i).toggleClass("active")}))}function w(t){if(e(t.target).is("input"))switch(e(t.target).prop("type")){case"checkbox":e(t.target).closest("label").toggleClass("checked");break;case"radio":e(t.target).closest("label").addClass("selected"),e(t.target).parent().siblings().removeClass("selected")}}function k(){e("#give_error_must_log_in").remove()}function x(){e('select option[selected="selected"][value=""]').length>0&&e('select option[selected="selected"][value=""]').each((function(){e(this).parent().siblings("label").length&&(e(this).text(e(this).parent().siblings("label").text().replace("*","").trim()),e(this).attr("disabled",!0))}))}function S(){"parentIFrame"in window&&window.parentIFrame.sendMessage({action:"giveScrollIframeInToView"})}u.init(),s.length&&"none"!==s.css("display")?(m(),e(document).on("give_gateway_loaded",(function(){setTimeout(_,200),m(),g(),v(),b(),x(),e("#give_purchase_form_wrap").slideDown(200,(function(){l=!1}))})),e(document).on("Give:onPreGatewayLoad",(function(){l=!0,e("#give_purchase_form_wrap").slideUp(200)})),e(document).on("Give:onPreGatewayLoad",(function(){var t=["give_error_test_mode"];e(".give_errors, .give_notices, .give_error").each((function(){t.includes(e(this).attr("id"))||e(this).slideUp(200,(function(){e(this).remove()}))}))}))):e("#give_purchase_form_wrap").addClass("give-single-gateway-wrap"),e(document).on("give_gateway_loaded",(function(t,i,n){2===u.currentStep&&e(".give-form-templates").css("min-height","");var a=e("#".concat(n));if(a.parent().hasClass("give-embed-form")){var o={action:"give_cancel_login",form_id:a.find('[name="give-form-id"]').val()};e.post(Give.fn.getGlobalVar("ajaxurl"),o,(function(t){var i=a.find("[id^=give-checkout-login-register]");i.length&&t.fields.includes("give_checkout_user_info")&&a.find("#give_checkout_user_info").remove(),i.replaceWith(e.parseJSON(t.fields)),i.css({display:"block"}),a.find(".give-submit-button-wrap").show()})).done((function(){window.give_fl_trigger(),b()}))}})),x(),g(),v(),b(),"enabled"===i.payment_amount.decimals_enabled&&e(".give-form").each((function(t,i){var n=e(i),a=Give.form.fn.getVariablePrices(n),o=Give.form.fn.getInfo("currency_symbol",n),r=Give.form.fn.getInfo("currency_position",n),c=Give.form.fn.getInfo("number_decimals",n);e.each(a,(function(e,t){if("custom"!==t.price_id){var i=Give.fn.numberHasDecimal(t.amount)?Give.fn.formatCurrency(t.amount,{symbol:o,position:r,precision:c},n):t.amount,a='<div class="currency currency--'+r+'">'+o+"</div>"+i;n.find(".give-btn-level-"+t.price_id).html(a)}}))})),Array.from(document.querySelectorAll('#give_checkout_user_info input[type="text"]')).filter((function(e){return!e.required})).map((function(e){e.placeholder+=t.optionalLabel}))}(jQuery)}});
give.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: The most robust, flexible, and intuitive way to accept donations on WordPress.
6
  * Author: GiveWP
7
  * Author URI: https://givewp.com/
8
- * Version: 2.12.0
9
  * Text Domain: give
10
  * Domain Path: /languages
11
  *
@@ -267,7 +267,7 @@ final class Give {
267
  private function setup_constants() {
268
  // Plugin version.
269
  if ( ! defined( 'GIVE_VERSION' ) ) {
270
- define( 'GIVE_VERSION', '2.12.0' );
271
  }
272
 
273
  // Plugin Root File.
5
  * Description: The most robust, flexible, and intuitive way to accept donations on WordPress.
6
  * Author: GiveWP
7
  * Author URI: https://givewp.com/
8
+ * Version: 2.12.1
9
  * Text Domain: give
10
  * Domain Path: /languages
11
  *
267
  private function setup_constants() {
268
  // Plugin version.
269
  if ( ! defined( 'GIVE_VERSION' ) ) {
270
+ define( 'GIVE_VERSION', '2.12.1' );
271
  }
272
 
273
  // Plugin Root File.
includes/forms/template.php CHANGED
@@ -499,10 +499,10 @@ add_action( 'give_donation_form_top', 'give_output_donation_amount_top', 10, 2 )
499
  /**
500
  * Outputs the Donation Levels in various formats such as dropdown, radios, and buttons.
501
  *
502
- * @param int $form_id The form ID.
503
  *
 
504
  * @return string Donation levels.
505
- * @since 1.0
506
  */
507
  function give_output_levels( $form_id ) {
508
 
@@ -550,7 +550,7 @@ function give_output_levels( $form_id ) {
550
  $level_classes,
551
  $formatted_amount,
552
  array_key_exists( '_give_default', $price ) ? 1 : 0,
553
- esc_attr( $level_text )
554
  );
555
  }
556
 
@@ -592,7 +592,7 @@ function give_output_levels( $form_id ) {
592
  $formatted_amount,
593
  ( give_is_default_level_id( $price ) ? 'checked="checked"' : '' ),
594
  array_key_exists( '_give_default', $price ) ? 1 : 0,
595
- esc_html( $level_text )
596
  );
597
  }
598
 
@@ -640,7 +640,7 @@ function give_output_levels( $form_id ) {
640
  $formatted_amount,
641
  ( give_is_default_level_id( $price ) ? 'selected="selected"' : '' ),
642
  array_key_exists( '_give_default', $price ) ? 1 : 0,
643
- esc_html( $level_text )
644
  );
645
  }
646
 
499
  /**
500
  * Outputs the Donation Levels in various formats such as dropdown, radios, and buttons.
501
  *
502
+ * @since 1.0
503
  *
504
+ * @param int $form_id The form ID.
505
  * @return string Donation levels.
 
506
  */
507
  function give_output_levels( $form_id ) {
508
 
550
  $level_classes,
551
  $formatted_amount,
552
  array_key_exists( '_give_default', $price ) ? 1 : 0,
553
+ $level_text
554
  );
555
  }
556
 
592
  $formatted_amount,
593
  ( give_is_default_level_id( $price ) ? 'checked="checked"' : '' ),
594
  array_key_exists( '_give_default', $price ) ? 1 : 0,
595
+ $level_text
596
  );
597
  }
598
 
640
  $formatted_amount,
641
  ( give_is_default_level_id( $price ) ? 'selected="selected"' : '' ),
642
  array_key_exists( '_give_default', $price ) ? 1 : 0,
643
+ $level_text
644
  );
645
  }
646
 
languages/give.pot CHANGED
@@ -2,14 +2,14 @@
2
  # This file is distributed under the same license as the Give - Donation Plugin plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Give - Donation Plugin 2.12.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/givewp\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "POT-Creation-Date: 2021-07-21T21:05:23+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.5.0\n"
15
  "X-Domain: give\n"
2
  # This file is distributed under the same license as the Give - Donation Plugin plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Give - Donation Plugin 2.12.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/givewp\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2021-07-23T00:07:47+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.5.0\n"
15
  "X-Domain: give\n"
output.log CHANGED
@@ -5,11 +5,6 @@ https://docs.docker.com/engine/reference/commandline/login/#credentials-store
5
 
6
  Login Succeeded
7
  Pulling docker.pkg.github.com/impress-org/givewp/php-actions_composer_givewp:php-7.2-build2
8
- WARNING: ⚠️ Failed to pull manifest by the resolved digest. This registry does not
9
- appear to conform to the distribution registry specification; falling back to
10
- pull by tag. This fallback is DEPRECATED, and will be removed in a future
11
- release. Please contact admins of https://docker.pkg.github.com. ⚠️
12
-
13
  php-7.2-build2: Pulling from impress-org/givewp/php-actions_composer_givewp
14
  801bfaa63ef2: Pulling fs layer
15
  30e209609427: Pulling fs layer
@@ -21,43 +16,44 @@ c88517be8365: Pulling fs layer
21
  181891da1ea0: Pulling fs layer
22
  2a0fa75da19b: Pulling fs layer
23
  136539a47de8: Pulling fs layer
24
- 4612e05a72cf: Waiting
25
- f1478d838f46: Waiting
26
  c88517be8365: Waiting
27
  142abe9b67c6: Waiting
28
  181891da1ea0: Waiting
 
29
  2a0fa75da19b: Waiting
 
30
  136539a47de8: Waiting
31
- 30e209609427: Verifying Checksum
32
- 30e209609427: Download complete
33
  320f26ee9b1c: Verifying Checksum
34
  320f26ee9b1c: Download complete
 
 
 
 
 
35
  4612e05a72cf: Verifying Checksum
36
  4612e05a72cf: Download complete
 
 
 
 
 
37
  f1478d838f46: Verifying Checksum
38
  f1478d838f46: Download complete
39
- c88517be8365: Download complete
40
- 801bfaa63ef2: Verifying Checksum
41
- 801bfaa63ef2: Download complete
42
- 801bfaa63ef2: Pull complete
43
  181891da1ea0: Verifying Checksum
44
  181891da1ea0: Download complete
 
 
45
  2a0fa75da19b: Verifying Checksum
46
  2a0fa75da19b: Download complete
47
- 30e209609427: Pull complete
48
- 320f26ee9b1c: Pull complete
49
- 4612e05a72cf: Pull complete
50
  142abe9b67c6: Verifying Checksum
51
  142abe9b67c6: Download complete
52
- f1478d838f46: Pull complete
53
- c88517be8365: Pull complete
54
  136539a47de8: Verifying Checksum
55
  136539a47de8: Download complete
56
  142abe9b67c6: Pull complete
57
  181891da1ea0: Pull complete
58
  2a0fa75da19b: Pull complete
59
  136539a47de8: Pull complete
60
- Digest: sha256:f1169d1e7b3706fc60eb8b36299e6588e4f656cacfdaf9c5ff1c42fb2ca3034d
61
  Status: Downloaded newer image for docker.pkg.github.com/impress-org/givewp/php-actions_composer_givewp:php-7.2-build2
62
  docker.pkg.github.com/impress-org/givewp/php-actions_composer_givewp:php-7.2-build2
63
  Docker tag: docker.pkg.github.com/impress-org/givewp/php-actions_composer_givewp:php-7.2-build2
@@ -70,13 +66,8 @@ https://docs.docker.com/engine/reference/commandline/login/#credentials-store
70
 
71
  Login Succeeded
72
  Pulling docker.pkg.github.com/impress-org/givewp/php-actions_composer_givewp:php-7.2-build2
73
- WARNING: ⚠️ Failed to pull manifest by the resolved digest. This registry does not
74
- appear to conform to the distribution registry specification; falling back to
75
- pull by tag. This fallback is DEPRECATED, and will be removed in a future
76
- release. Please contact admins of https://docker.pkg.github.com. ⚠️
77
-
78
  php-7.2-build2: Pulling from impress-org/givewp/php-actions_composer_givewp
79
- Digest: sha256:f1169d1e7b3706fc60eb8b36299e6588e4f656cacfdaf9c5ff1c42fb2ca3034d
80
  Status: Image is up to date for docker.pkg.github.com/impress-org/givewp/php-actions_composer_givewp:php-7.2-build2
81
  docker.pkg.github.com/impress-org/givewp/php-actions_composer_givewp:php-7.2-build2
82
  Docker tag: docker.pkg.github.com/impress-org/givewp/php-actions_composer_givewp:php-7.2-build2
5
 
6
  Login Succeeded
7
  Pulling docker.pkg.github.com/impress-org/givewp/php-actions_composer_givewp:php-7.2-build2
 
 
 
 
 
8
  php-7.2-build2: Pulling from impress-org/givewp/php-actions_composer_givewp
9
  801bfaa63ef2: Pulling fs layer
10
  30e209609427: Pulling fs layer
16
  181891da1ea0: Pulling fs layer
17
  2a0fa75da19b: Pulling fs layer
18
  136539a47de8: Pulling fs layer
 
 
19
  c88517be8365: Waiting
20
  142abe9b67c6: Waiting
21
  181891da1ea0: Waiting
22
+ 4612e05a72cf: Waiting
23
  2a0fa75da19b: Waiting
24
+ f1478d838f46: Waiting
25
  136539a47de8: Waiting
 
 
26
  320f26ee9b1c: Verifying Checksum
27
  320f26ee9b1c: Download complete
28
+ 801bfaa63ef2: Verifying Checksum
29
+ 801bfaa63ef2: Download complete
30
+ 30e209609427: Verifying Checksum
31
+ 30e209609427: Download complete
32
+ 801bfaa63ef2: Pull complete
33
  4612e05a72cf: Verifying Checksum
34
  4612e05a72cf: Download complete
35
+ c88517be8365: Verifying Checksum
36
+ c88517be8365: Download complete
37
+ 30e209609427: Pull complete
38
+ 320f26ee9b1c: Pull complete
39
+ 4612e05a72cf: Pull complete
40
  f1478d838f46: Verifying Checksum
41
  f1478d838f46: Download complete
 
 
 
 
42
  181891da1ea0: Verifying Checksum
43
  181891da1ea0: Download complete
44
+ f1478d838f46: Pull complete
45
+ c88517be8365: Pull complete
46
  2a0fa75da19b: Verifying Checksum
47
  2a0fa75da19b: Download complete
 
 
 
48
  142abe9b67c6: Verifying Checksum
49
  142abe9b67c6: Download complete
 
 
50
  136539a47de8: Verifying Checksum
51
  136539a47de8: Download complete
52
  142abe9b67c6: Pull complete
53
  181891da1ea0: Pull complete
54
  2a0fa75da19b: Pull complete
55
  136539a47de8: Pull complete
56
+ Digest: sha256:e18a4a2e8f8acca5f1d1858eb7dddfb92afdfe850d11fc6d65dee871b6b64584
57
  Status: Downloaded newer image for docker.pkg.github.com/impress-org/givewp/php-actions_composer_givewp:php-7.2-build2
58
  docker.pkg.github.com/impress-org/givewp/php-actions_composer_givewp:php-7.2-build2
59
  Docker tag: docker.pkg.github.com/impress-org/givewp/php-actions_composer_givewp:php-7.2-build2
66
 
67
  Login Succeeded
68
  Pulling docker.pkg.github.com/impress-org/givewp/php-actions_composer_givewp:php-7.2-build2
 
 
 
 
 
69
  php-7.2-build2: Pulling from impress-org/givewp/php-actions_composer_givewp
70
+ Digest: sha256:e18a4a2e8f8acca5f1d1858eb7dddfb92afdfe850d11fc6d65dee871b6b64584
71
  Status: Image is up to date for docker.pkg.github.com/impress-org/givewp/php-actions_composer_givewp:php-7.2-build2
72
  docker.pkg.github.com/impress-org/givewp/php-actions_composer_givewp:php-7.2-build2
73
  Docker tag: docker.pkg.github.com/impress-org/givewp/php-actions_composer_givewp:php-7.2-build2
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: donation, fundraising, crowdfunding, givewp, give
5
  Requires at least: 4.9
6
  Tested up to: 5.8
7
  Requires PHP: 5.6
8
- Stable tag: 2.12.0
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -232,6 +232,9 @@ The 2% fee on Stripe donations only applies to donations taken via our free Stri
232
 
233
  == Changelog ==
234
 
 
 
 
235
  = 2.12.0: July 21st, 2021 =
236
  * New: Compatible with the upcoming [GiveWP - Text-to-Give](https://go.givewp.com/t2g) release!
237
  * Change: Various style improvements for accessibility within the admin
5
  Requires at least: 4.9
6
  Tested up to: 5.8
7
  Requires PHP: 5.6
8
+ Stable tag: 2.12.1
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
232
 
233
  == Changelog ==
234
 
235
+ = 2.12.1: July 22st, 2021 =
236
+ * Fix: Resolved an issue with admin-defined recurring options showing up as a bunch of HTML
237
+
238
  = 2.12.0: July 21st, 2021 =
239
  * New: Compatible with the upcoming [GiveWP - Text-to-Give](https://go.givewp.com/t2g) release!
240
  * Change: Various style improvements for accessibility within the admin
src/Views/Form/Templates/Sequoia/assets/js/form.js CHANGED
@@ -219,7 +219,10 @@
219
  // Setup tooltip unless for custom donation level, or if level label matches value
220
  if ( value !== 'custom' && text !== compare ) {
221
  const wrap = document.createElement('span');
222
- wrap.classList.add('give-tooltip', 'hint--top', 'hint--bounce', text.length < 50 ? 'narrow' : '');
 
 
 
223
  wrap.style.width = '100%';
224
  wrap.setAttribute('aria-label', text.length < 50 ? text : text.substr( 0, 50 ) + '...');
225
  $( this ).wrap( wrap );
219
  // Setup tooltip unless for custom donation level, or if level label matches value
220
  if ( value !== 'custom' && text !== compare ) {
221
  const wrap = document.createElement('span');
222
+ wrap.classList.add('give-tooltip', 'hint--top', 'hint--bounce');
223
+ if( text.length < 50 ) {
224
+ wrap.classList.add( 'narrow' );
225
+ }
226
  wrap.style.width = '100%';
227
  wrap.setAttribute('aria-label', text.length < 50 ? text : text.substr( 0, 50 ) + '...');
228
  $( this ).wrap( wrap );
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitb481488af91f3e1a489205d4283367d7::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit603c07d5e2ce27e74c1bf397eba77072::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitb481488af91f3e1a489205d4283367d7
6
  {
7
  private static $loader;
8
 
@@ -24,15 +24,15 @@ class ComposerAutoloaderInitb481488af91f3e1a489205d4283367d7
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
- spl_autoload_register(array('ComposerAutoloaderInitb481488af91f3e1a489205d4283367d7', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
- spl_autoload_unregister(array('ComposerAutoloaderInitb481488af91f3e1a489205d4283367d7', 'loadClassLoader'));
30
 
31
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
32
  if ($useStaticLoader) {
33
  require __DIR__ . '/autoload_static.php';
34
 
35
- call_user_func(\Composer\Autoload\ComposerStaticInitb481488af91f3e1a489205d4283367d7::getInitializer($loader));
36
  } else {
37
  $map = require __DIR__ . '/autoload_namespaces.php';
38
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit603c07d5e2ce27e74c1bf397eba77072
6
  {
7
  private static $loader;
8
 
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
+ spl_autoload_register(array('ComposerAutoloaderInit603c07d5e2ce27e74c1bf397eba77072', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
+ spl_autoload_unregister(array('ComposerAutoloaderInit603c07d5e2ce27e74c1bf397eba77072', 'loadClassLoader'));
30
 
31
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
32
  if ($useStaticLoader) {
33
  require __DIR__ . '/autoload_static.php';
34
 
35
+ call_user_func(\Composer\Autoload\ComposerStaticInit603c07d5e2ce27e74c1bf397eba77072::getInitializer($loader));
36
  } else {
37
  $map = require __DIR__ . '/autoload_namespaces.php';
38
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitb481488af91f3e1a489205d4283367d7
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'S' =>
@@ -96,9 +96,9 @@ class ComposerStaticInitb481488af91f3e1a489205d4283367d7
96
  public static function getInitializer(ClassLoader $loader)
97
  {
98
  return \Closure::bind(function () use ($loader) {
99
- $loader->prefixLengthsPsr4 = ComposerStaticInitb481488af91f3e1a489205d4283367d7::$prefixLengthsPsr4;
100
- $loader->prefixDirsPsr4 = ComposerStaticInitb481488af91f3e1a489205d4283367d7::$prefixDirsPsr4;
101
- $loader->classMap = ComposerStaticInitb481488af91f3e1a489205d4283367d7::$classMap;
102
 
103
  }, null, ClassLoader::class);
104
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit603c07d5e2ce27e74c1bf397eba77072
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'S' =>
96
  public static function getInitializer(ClassLoader $loader)
97
  {
98
  return \Closure::bind(function () use ($loader) {
99
+ $loader->prefixLengthsPsr4 = ComposerStaticInit603c07d5e2ce27e74c1bf397eba77072::$prefixLengthsPsr4;
100
+ $loader->prefixDirsPsr4 = ComposerStaticInit603c07d5e2ce27e74c1bf397eba77072::$prefixDirsPsr4;
101
+ $loader->classMap = ComposerStaticInit603c07d5e2ce27e74c1bf397eba77072::$classMap;
102
 
103
  }, null, ClassLoader::class);
104
  }
vendor/composer/installed.php CHANGED
@@ -1,11 +1,11 @@
1
  <?php return array(
2
  'root' => array(
3
- 'pretty_version' => '2.12.0',
4
- 'version' => '2.12.0.0',
5
  'type' => 'wordpress-plugin',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
- 'reference' => '9cf18ba0e151eaed04c851955b4e75b36e1d30c5',
9
  'name' => 'impress-org/give',
10
  'dev' => false,
11
  ),
@@ -41,12 +41,12 @@
41
  ),
42
  ),
43
  'impress-org/give' => array(
44
- 'pretty_version' => '2.12.0',
45
- 'version' => '2.12.0.0',
46
  'type' => 'wordpress-plugin',
47
  'install_path' => __DIR__ . '/../../',
48
  'aliases' => array(),
49
- 'reference' => '9cf18ba0e151eaed04c851955b4e75b36e1d30c5',
50
  'dev_requirement' => false,
51
  ),
52
  'kjohnson/format-object-list' => array(
1
  <?php return array(
2
  'root' => array(
3
+ 'pretty_version' => '2.12.1',
4
+ 'version' => '2.12.1.0',
5
  'type' => 'wordpress-plugin',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
+ 'reference' => '9a7f43362f47e4043ef591a2ef2fc40f926876d0',
9
  'name' => 'impress-org/give',
10
  'dev' => false,
11
  ),
41
  ),
42
  ),
43
  'impress-org/give' => array(
44
+ 'pretty_version' => '2.12.1',
45
+ 'version' => '2.12.1.0',
46
  'type' => 'wordpress-plugin',
47
  'install_path' => __DIR__ . '/../../',
48
  'aliases' => array(),
49
+ 'reference' => '9a7f43362f47e4043ef591a2ef2fc40f926876d0',
50
  'dev_requirement' => false,
51
  ),
52
  'kjohnson/format-object-list' => array(