diff --git a/wp-admin/about.php b/wp-admin/about.php index 15b77d3a6..984e4e1fa 100644 --- a/wp-admin/about.php +++ b/wp-admin/about.php @@ -40,9 +40,42 @@ +
+ Version %1$s addressed some security issues and fixed %2$s bug.', + 'Version %1$s addressed some security issues and fixed %2$s bugs.', + 23 + ), + '5.4.2', + number_format_i18n( 23 ) + ); + ?> + the release notes.' ), + sprintf( + /* translators: %s: WordPress version */ + esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ), + sanitize_title( '5.4.2' ) + ) + ); + ?> +
-
Please select from the list below.
"),e(this).addClass("is-error")),("EMAIL"==r&&!u.test(i.EMAIL)||"ZIP"==r&&!a.test(i.ZIP)||"PHONENUM"==r&&!s.test(i.PHONENUM)&&0!=i.PHONENUM.length)&&(f=!0,e(this).siblings(".guny-error-detailed").html(""+n.find((function(e){return e[r]}))[r]+"
"),e(this).addClass("is-error")),"EMAIL"==r&&u.test(i.EMAIL)&&(i.BOROUGH=function(e){var n="",r=t.findIndex((function(n){return n.codes.indexOf(parseInt(e))>-1}));n=-1===r?"Manhattan":t[r].borough;return n}(i.ZIP)),"EMAIL"!=r&&"ZIP"!=r&&"PHONENUM"!=r&&""===i[r]&&(f=!0,e(this).siblings(".guny-error-detailed").html(""+n.find((function(e){return e[r]}))[r]+"
"),e(this).addClass("is-error"))})),f?r.find(".guny-error").toggleClass():function(n,t){var r=e(".c-signup-form__response");n.html(r),e.ajax({url:n.attr("action"),type:n.attr("method"),dataType:"json",cache:!1,data:t,contentType:"application/json; charset=utf-8",success:function(t){"success"!==t.result?n[0].className.indexOf("contact")>-1?t.msg.includes("already subscribed")?n.html('You have already reached out to us. We will get back to you as soon as possible!
'):n.html('Something went wrong. Try again later!
'):t.msg.includes("too many recent signup requests")?e(".c-signup-form__response > .error").show():t.msg.includes("already subscribed")&&e(".c-signup-form__response > .already-subscribed").show():n[0].className.indexOf("contact")>-1?n[0].className.indexOf("unity")>-1?n.html('Thank you for contacting the NYC Unity Project! Someone will respond to you shortly.
Go back to the Unity ProjectThank you for contacting us! Someone will respond to you shortly.
Continue exploring Generation NYCThank you for contacting us! Someone will respond to you shortly.
Continue exploring Growing Up NYCThere was a problem with your subscription. Check back later.
")}})}(r,i)}e('#mc-embedded-subscribe:button[type="submit"]').click((function(n){n.preventDefault();var t=e(this).parents("form").attr("class");r(e("."+t),n)})),e('#mc-embedded-contact:button[type="submit"]').click((function(n){n.preventDefault();var t=e(this).parents("form").attr("class");r(e("."+t),n)})),e(".textarea").keyup((function(){var n=255-e(this).val().length;e(".char-count").text("Characters left: "+n),n<0?(e(".char-count").css("color","#d8006d"),e(this).css("border-color","#d8006d")):(e(".char-count").css("color","#333"),e(this).css("border-color","#2793e0"))}))}}).call(this,t(0))},function(e,n,t){"use strict";(function(e){var r=t(3),l=t.n(r),i=t(45);n.a=function(){function n(e){e.target.parentNode.classList.add("is-filled")}function t(e){""===e.target.value.trim()&&e.target.parentNode.classList.remove("is-filled")}function r(e){e.preventDefault();var n=document.querySelectorAll("input[type=search]");n.length&&l()(n,(function(e){e.value=""}))}function o(n){13==n.keyCode&&(e(n.target).prop("checked")?e(n.target).prop("checked",!1):e(n.target).prop("checked",!0))}var u=document.querySelectorAll(".signup-form__field");u.length&&l()(u,(function(e){e.addEventListener("focus",n),e.addEventListener("blur",t),Object(i.a)(e,"blur")}));var a=document.querySelectorAll(".search-clear");a.length&&l()(a,(function(e){e.addEventListener("click",r)}));var s=document.querySelectorAll("input[type=checkbox]");s.length&&l()(s,(function(e){e.addEventListener("keydown",o)}));var c=e(".fsBody.fsEmbed");c.length&&(c.closest(".o-article").css({width:"100%","margin-left":"auto","margin-right":"auto"}),c.closest(".s-wysiwyg").css({width:"100%","padding-top":"0","padding-bottom":"0"}),c.show(),e(".spinner-container").hide())}}).call(this,t(0))},function(e,n,t){"use strict";n.a=function(e,n){var t;document.createEvent?((t=document.createEvent("HTMLEvents")).initEvent(n,!0,!0),e.dispatchEvent(t)):(t=document.createEventObject(),e.fireEvent("on"+n,t))}},function(e,n,t){"use strict";(function(e){n.a=function(){e(document).on("facetwp-refresh",(function(){e("body").removeClass("facetwp-is-loaded").addClass("facetwp-is-loading"),e("html, body").scrollTop(0)})),e(document).on("facetwp-loaded",(function(){e("body").removeClass("facetwp-is-loading").addClass("facetwp-is-loaded")}))}}).call(this,t(0))},function(e,n,t){"use strict";(function(e){n.a=function(){e(".owl-carousel").owlCarousel({animateIn:"fadeIn",animateOut:"fadeOut",items:1,loop:!0,margin:0,dots:!0,autoplay:!0,autoplayTimeout:5e3,autoplayHoverPause:!0})}}).call(this,t(0))},function(e,n,t){"use strict";(function(e){n.a=function(){navigator.userAgent.match(/iPad;.*CPU.*OS 7_\d/i)&&(e(".c-side-hero").height(window.innerHeight),window.scrollTo(0,0))}}).call(this,t(0))},function(e,n,t){ +/*! + * cleave.js - 1.5.7 + * https://github.com/nosir/cleave.js + * Apache License Version 2.0 + * + * Copyright (C) 2012-2020 Max Huang https://github.com/nosir/ + */ +e.exports=function(e){function n(r){if(t[r])return t[r].exports;var l=t[r]={exports:{},id:r,loaded:!1};return e[r].call(l.exports,l,l.exports,n),l.loaded=!0,l.exports}var t={};return n.m=e,n.c=t,n.p="",n(0)}([function(e,n,t){(function(n){"use strict";var r=function(e,n){var t=this,l=!1;if("string"==typeof e?(t.element=document.querySelector(e),l=document.querySelectorAll(e).length>1):void 0!==e.length&&e.length>0?(t.element=e[0],l=e.length>1):t.element=e,!t.element)throw new Error("[cleave.js] Please check the element");if(l)try{console.warn("[cleave.js] Multiple input fields matched, cleave.js will only take the first one.")}catch(e){}n.initValue=t.element.value,t.properties=r.DefaultProperties.assign({},n),t.init()};r.prototype={init:function(){var e=this,n=e.properties;return n.numeral||n.phone||n.creditCard||n.time||n.date||0!==n.blocksLength||n.prefix?(n.maxLength=r.Util.getMaxLength(n.blocks),e.isAndroid=r.Util.isAndroid(),e.lastInputValue="",e.onChangeListener=e.onChange.bind(e),e.onKeyDownListener=e.onKeyDown.bind(e),e.onFocusListener=e.onFocus.bind(e),e.onCutListener=e.onCut.bind(e),e.onCopyListener=e.onCopy.bind(e),e.element.addEventListener("input",e.onChangeListener),e.element.addEventListener("keydown",e.onKeyDownListener),e.element.addEventListener("focus",e.onFocusListener),e.element.addEventListener("cut",e.onCutListener),e.element.addEventListener("copy",e.onCopyListener),e.initPhoneFormatter(),e.initDateFormatter(),e.initTimeFormatter(),e.initNumeralFormatter(),void((n.initValue||n.prefix&&!n.noImmediatePrefix)&&e.onInput(n.initValue))):void e.onInput(n.initValue)},initNumeralFormatter:function(){var e=this.properties;e.numeral&&(e.numeralFormatter=new r.NumeralFormatter(e.numeralDecimalMark,e.numeralIntegerScale,e.numeralDecimalScale,e.numeralThousandsGroupStyle,e.numeralPositiveOnly,e.stripLeadingZeroes,e.prefix,e.signBeforePrefix,e.tailPrefix,e.delimiter))},initTimeFormatter:function(){var e=this.properties;e.time&&(e.timeFormatter=new r.TimeFormatter(e.timePattern,e.timeFormat),e.blocks=e.timeFormatter.getBlocks(),e.blocksLength=e.blocks.length,e.maxLength=r.Util.getMaxLength(e.blocks))},initDateFormatter:function(){var e=this.properties;e.date&&(e.dateFormatter=new r.DateFormatter(e.datePattern,e.dateMin,e.dateMax),e.blocks=e.dateFormatter.getBlocks(),e.blocksLength=e.blocks.length,e.maxLength=r.Util.getMaxLength(e.blocks))},initPhoneFormatter:function(){var e=this.properties;if(e.phone)try{e.phoneFormatter=new r.PhoneFormatter(new e.root.Cleave.AsYouTypeFormatter(e.phoneRegionCode),e.delimiter)}catch(e){throw new Error("[cleave.js] Please include phone-type-formatter.{country}.js lib")}},onKeyDown:function(e){var n=this,t=n.properties,l=e.which||e.keyCode,i=r.Util,o=n.element.value;n.hasBackspaceSupport=n.hasBackspaceSupport||8===l,!n.hasBackspaceSupport&&i.isAndroidBackspaceKeydown(n.lastInputValue,o)&&(l=8),n.lastInputValue=o;var u=i.getPostDelimiter(o,t.delimiter,t.delimiters);t.postDelimiterBackspace=!(8!==l||!u)&&u},onChange:function(){this.onInput(this.element.value)},onFocus:function(){var e=this.properties;r.Util.fixPrefixCursor(this.element,e.prefix,e.delimiter,e.delimiters)},onCut:function(e){r.Util.checkFullSelection(this.element.value)&&(this.copyClipboardData(e),this.onInput(""))},onCopy:function(e){r.Util.checkFullSelection(this.element.value)&&this.copyClipboardData(e)},copyClipboardData:function(e){var n,t=this.properties,l=r.Util,i=this.element.value;n=t.copyDelimiter?i:l.stripDelimiters(i,t.delimiter,t.delimiters);try{e.clipboardData?e.clipboardData.setData("Text",n):window.clipboardData.setData("Text",n),e.preventDefault()}catch(e){}},onInput:function(e){var n=this,t=n.properties,l=r.Util,i=l.getPostDelimiter(e,t.delimiter,t.delimiters);return t.numeral||!t.postDelimiterBackspace||i||(e=l.headStr(e,e.length-t.postDelimiterBackspace.length)),t.phone?(!t.prefix||t.noImmediatePrefix&&!e.length?t.result=t.phoneFormatter.format(e):t.result=t.prefix+t.phoneFormatter.format(e).slice(t.prefix.length),void n.updateValueState()):t.numeral?(t.prefix&&t.noImmediatePrefix&&0===e.length?t.result="":t.result=t.numeralFormatter.format(e),void n.updateValueState()):(t.date&&(e=t.dateFormatter.getValidatedDate(e)),t.time&&(e=t.timeFormatter.getValidatedTime(e)),e=l.stripDelimiters(e,t.delimiter,t.delimiters),e=l.getPrefixStrippedValue(e,t.prefix,t.prefixLength,t.result,t.delimiter,t.delimiters,t.noImmediatePrefix,t.tailPrefix,t.signBeforePrefix),e=t.numericOnly?l.strip(e,/[^\d]/g):e,e=t.uppercase?e.toUpperCase():e,e=t.lowercase?e.toLowerCase():e,!t.prefix||t.noImmediatePrefix&&!e.length||(t.tailPrefix?e+=t.prefix:e=t.prefix+e,0!==t.blocksLength)?(t.creditCard&&n.updateCreditCardPropsByValue(e),e=l.headStr(e,t.maxLength),t.result=l.getFormattedValue(e,t.blocks,t.blocksLength,t.delimiter,t.delimiters,t.delimiterLazyShow),void n.updateValueState()):(t.result=e,void n.updateValueState()))},updateCreditCardPropsByValue:function(e){var n,t=this.properties,l=r.Util;l.headStr(t.result,4)!==l.headStr(e,4)&&(n=r.CreditCardDetector.getInfo(e,t.creditCardStrictMode),t.blocks=n.blocks,t.blocksLength=t.blocks.length,t.maxLength=l.getMaxLength(t.blocks),t.creditCardType!==n.type&&(t.creditCardType=n.type,t.onCreditCardTypeChanged.call(this,t.creditCardType)))},updateValueState:function(){var e=this,n=r.Util,t=e.properties;if(e.element){var l=e.element.selectionEnd,i=e.element.value,o=t.result;if(l=n.getNextCursorPosition(l,i,o,t.delimiter,t.delimiters),e.isAndroid)return void window.setTimeout((function(){e.element.value=o,n.setSelection(e.element,l,t.document,!1),e.callOnValueChanged()}),1);e.element.value=o,n.setSelection(e.element,l,t.document,!1),e.callOnValueChanged()}},callOnValueChanged:function(){var e=this,n=e.properties;n.onValueChanged.call(e,{target:{name:e.element.name,value:n.result,rawValue:e.getRawValue()}})},setPhoneRegionCode:function(e){var n=this;n.properties.phoneRegionCode=e,n.initPhoneFormatter(),n.onChange()},setRawValue:function(e){var n=this,t=n.properties;e=null!=e?e.toString():"",t.numeral&&(e=e.replace(".",t.numeralDecimalMark)),t.postDelimiterBackspace=!1,n.element.value=e,n.onInput(e)},getRawValue:function(){var e=this.properties,n=r.Util,t=this.element.value;return e.rawValueTrimPrefix&&(t=n.getPrefixStrippedValue(t,e.prefix,e.prefixLength,e.result,e.delimiter,e.delimiters,e.noImmediatePrefix,e.tailPrefix,e.signBeforePrefix)),e.numeral?e.numeralFormatter.getRawValue(t):n.stripDelimiters(t,e.delimiter,e.delimiters)},getISOFormatDate:function(){var e=this.properties;return e.date?e.dateFormatter.getISOFormatDate():""},getISOFormatTime:function(){var e=this.properties;return e.time?e.timeFormatter.getISOFormatTime():""},getFormattedValue:function(){return this.element.value},destroy:function(){var e=this;e.element.removeEventListener("input",e.onChangeListener),e.element.removeEventListener("keydown",e.onKeyDownListener),e.element.removeEventListener("focus",e.onFocusListener),e.element.removeEventListener("cut",e.onCutListener),e.element.removeEventListener("copy",e.onCopyListener)},toString:function(){return"[Cleave Object]"}},r.NumeralFormatter=t(1),r.DateFormatter=t(2),r.TimeFormatter=t(3),r.PhoneFormatter=t(4),r.CreditCardDetector=t(5),r.Util=t(6),r.DefaultProperties=t(7),("object"==typeof n&&n?n:window).Cleave=r,e.exports=r}).call(n,function(){return this}())},function(e,n){"use strict";var t=function(e,n,r,l,i,o,u,a,s,c){var f=this;f.numeralDecimalMark=e||".",f.numeralIntegerScale=n>0?n:0,f.numeralDecimalScale=r>=0?r:2,f.numeralThousandsGroupStyle=l||t.groupStyle.thousand,f.numeralPositiveOnly=!!i,f.stripLeadingZeroes=!1!==o,f.prefix=u||""===u?u:"",f.signBeforePrefix=!!a,f.tailPrefix=!!s,f.delimiter=c||""===c?c:",",f.delimiterRE=c?new RegExp("\\"+c,"g"):""};t.groupStyle={thousand:"thousand",lakh:"lakh",wan:"wan",none:"none"},t.prototype={getRawValue:function(e){return e.replace(this.delimiterRE,"").replace(this.numeralDecimalMark,".")},format:function(e){var n,r,l,i,o=this,u="";switch(e=e.replace(/[A-Za-z]/g,"").replace(o.numeralDecimalMark,"M").replace(/[^\dM-]/g,"").replace(/^\-/,"N").replace(/\-/g,"").replace("N",o.numeralPositiveOnly?"":"-").replace("M",o.numeralDecimalMark),o.stripLeadingZeroes&&(e=e.replace(/^(-)?0+(?=\d)/,"$1")),r="-"===e.slice(0,1)?"-":"",l=void 0!==o.prefix?o.signBeforePrefix?r+o.prefix:o.prefix+r:r,i=e,e.indexOf(o.numeralDecimalMark)>=0&&(i=(n=e.split(o.numeralDecimalMark))[0],u=o.numeralDecimalMark+n[1].slice(0,o.numeralDecimalScale)),"-"===r&&(i=i.slice(1)),o.numeralIntegerScale>0&&(i=i.slice(0,o.numeralIntegerScale)),o.numeralThousandsGroupStyle){case t.groupStyle.lakh:i=i.replace(/(\d)(?=(\d\d)+\d$)/g,"$1"+o.delimiter);break;case t.groupStyle.wan:i=i.replace(/(\d)(?=(\d{4})+$)/g,"$1"+o.delimiter);break;case t.groupStyle.thousand:i=i.replace(/(\d)(?=(\d{3})+$)/g,"$1"+o.delimiter)}return o.tailPrefix?r+i.toString()+(o.numeralDecimalScale>0?u.toString():"")+o.prefix:l+i.toString()+(o.numeralDecimalScale>0?u.toString():"")}},e.exports=t},function(e,n){"use strict";var t=function(e,n,t){var r=this;r.date=[],r.blocks=[],r.datePattern=e,r.dateMin=n.split("-").reverse().map((function(e){return parseInt(e,10)})),2===r.dateMin.length&&r.dateMin.unshift(0),r.dateMax=t.split("-").reverse().map((function(e){return parseInt(e,10)})),2===r.dateMax.length&&r.dateMax.unshift(0),r.initBlocks()};t.prototype={initBlocks:function(){var e=this;e.datePattern.forEach((function(n){"Y"===n?e.blocks.push(4):e.blocks.push(2)}))},getISOFormatDate:function(){var e=this,n=e.date;return n[2]?n[2]+"-"+e.addLeadingZero(n[1])+"-"+e.addLeadingZero(n[0]):""},getBlocks:function(){return this.blocks},getValidatedDate:function(e){var n=this,t="";return e=e.replace(/[^\d]/g,""),n.blocks.forEach((function(r,l){if(e.length>0){var i=e.slice(0,r),o=i.slice(0,1),u=e.slice(r);switch(n.datePattern[l]){case"d":"00"===i?i="01":parseInt(o,10)>3?i="0"+o:parseInt(i,10)>31&&(i="31");break;case"m":"00"===i?i="01":parseInt(o,10)>1?i="0"+o:parseInt(i,10)>12&&(i="12")}t+=i,e=u}})),this.getFixedDateString(t)},getFixedDateString:function(e){var n,t,r,l=this,i=l.datePattern,o=[],u=0,a=0,s=0,c=0,f=0,d=0,p=!1;return 4===e.length&&"y"!==i[0].toLowerCase()&&"y"!==i[1].toLowerCase()&&(f=2-(c="d"===i[0]?0:2),n=parseInt(e.slice(c,c+2),10),t=parseInt(e.slice(f,f+2),10),o=this.getFixedDate(n,t,0)),8===e.length&&(i.forEach((function(e,n){switch(e){case"d":u=n;break;case"m":a=n;break;default:s=n}})),d=2*s,c=u<=s?2*u:2*u+2,f=a<=s?2*a:2*a+2,n=parseInt(e.slice(c,c+2),10),t=parseInt(e.slice(f,f+2),10),r=parseInt(e.slice(d,d+4),10),p=4===e.slice(d,d+4).length,o=this.getFixedDate(n,t,r)),4!==e.length||"y"!==i[0]&&"y"!==i[1]||(d=2-(f="m"===i[0]?0:2),t=parseInt(e.slice(f,f+2),10),r=parseInt(e.slice(d,d+2),10),p=2===e.slice(d,d+2).length,o=[0,t,r]),6!==e.length||"Y"!==i[0]&&"Y"!==i[1]||(d=2-.5*(f="m"===i[0]?0:4),t=parseInt(e.slice(f,f+2),10),r=parseInt(e.slice(d,d+4),10),p=4===e.slice(d,d+4).length,o=[0,t,r]),o=l.getRangeFixedDate(o),l.date=o,0===o.length?e:i.reduce((function(e,n){switch(n){case"d":return e+(0===o[0]?"":l.addLeadingZero(o[0]));case"m":return e+(0===o[1]?"":l.addLeadingZero(o[1]));case"y":return e+(p?l.addLeadingZeroForYear(o[2],!1):"");case"Y":return e+(p?l.addLeadingZeroForYear(o[2],!0):"")}}),"")},getRangeFixedDate:function(e){var n=this,t=n.datePattern,r=n.dateMin||[],l=n.dateMax||[];return!e.length||r.length<3&&l.length<3||t.find((function(e){return"y"===e.toLowerCase()}))&&0===e[2]?e:l.length&&(l[2]