Prep Plugin for release on WordPress.org (#23)

* Update translation text domain
* Escape everything that should be escaped.
* Add nonce checks where needed.
* Sanitize all inputs.
* Apply Code style changes across the codebase.
* Correct many deprecation notices.
* Optimize load order of many filters.
* Add Proper Build script
* Use emojii flags
* Fix i18n deprecation  notice for translating too early
* Put all scripts in footer and load async
This commit is contained in:
David Stone
2025-04-14 11:36:46 -06:00
committed by GitHub
parent a31cfcb565
commit d88e50df38
1087 changed files with 12586 additions and 18535 deletions

View File

@ -1 +1 @@
window.wu_create_cookie=function(e,o,n){let t;if(n){const e=new Date;e.setTime(e.getTime()+24*n*60*60*1e3),t="; expires="+e.toGMTString()}else t="";document.cookie=e+"="+o+t+"; path=/"},window.wu_read_cookie=function(e){const o=e+"=",n=document.cookie.split(";");for(let e=0;e<n.length;e++){let t=n[e];for(;" "===t.charAt(0);)t=t.substring(1,t.length);if(0===t.indexOf(o))return t.substring(o.length,t.length)}return null},window.wu_erase_cookie=function(e){window.wu_create_cookie(e,"",-1)},window.wu_listen_to_cookie_change=function(e,o){let n=window.wu_read_cookie(e);setInterval((function(){const t=window.wu_read_cookie(e);t!==n&&(n=t,o(n))}),100)};
window.wu_create_cookie=function(e,o,n){let t;var i;t=n?((i=new Date).setTime(i.getTime()+24*n*60*60*1e3),"; expires="+i.toGMTString()):"",document.cookie=e+"="+o+t+"; path=/"},window.wu_read_cookie=function(e){var n=e+"=",t=document.cookie.split(";");for(let o=0;o<t.length;o++){let e=t[o];for(;" "===e.charAt(0);)e=e.substring(1,e.length);if(0===e.indexOf(n))return e.substring(n.length,e.length)}return null},window.wu_erase_cookie=function(e){window.wu_create_cookie(e,"",-1)},window.wu_listen_to_cookie_change=function(o,n){let t=window.wu_read_cookie(o);setInterval(function(){var e=window.wu_read_cookie(o);e!==t&&(t=e,n(t))},100)};