Changeset 2512256
- Timestamp:
- 04/09/2021 02:27:28 PM (5 years ago)
- Location:
- agy-verification/trunk
- Files:
-
- 4 edited
-
admin/assets/js/agy_admin_script.js (modified) (1 diff)
-
agy-verification.php (modified) (1 diff)
-
public/assets/js/agy_public_script.js (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
agy-verification/trunk/admin/assets/js/agy_admin_script.js
r2473732 r2512256 1 "use strict";const openTab=(e,t)=>{let a,l,s;l=document.getElementsByClassName("agy-tabcontent");for(let e=0;e<l.length;e++)l[e].style.display="none";for(s=document.getElementsByClassName("agy-tablinks"),a=0;a<s.length;a++)s[a].className=s[a].className.replace(" agy-active","");document.getElementById(t).style.display="block",e.currentTarget.className+=" agy-active"}; document.getElementById("agy-default-open").click();1 "use strict";const openTab=(e,t)=>{let a,l,s;l=document.getElementsByClassName("agy-tabcontent");for(let e=0;e<l.length;e++)l[e].style.display="none";for(s=document.getElementsByClassName("agy-tablinks"),a=0;a<s.length;a++)s[a].className=s[a].className.replace(" agy-active","");document.getElementById(t).style.display="block",e.currentTarget.className+=" agy-active"};if(document.getElementById("agy-default-open")){document.getElementById("agy-default-open").click()} -
agy-verification/trunk/agy-verification.php
r2488609 r2512256 12 12 * Plugin URI: https://wordpress.org/plugins/agy-verification 13 13 * Description: Agy Verification is a powerful solution to add any kind of verification restriction on your website. Easy to setup, optimized for all devices, and modern design option to match your style. 14 * Version: 1.0. 314 * Version: 1.0.4 15 15 * Requires at least: 4.6 16 16 * Requires PHP: 7.1 -
agy-verification/trunk/public/assets/js/agy_public_script.js
r2473732 r2512256 1 "use strict"; 2 document.querySelector("#agy-my-modal") && (document.querySelector("#agy-my-modal").style.display = "block"), document.querySelector(".agy-enter-btn button") && document.querySelector(".agy-enter-btn button").addEventListener("click", () => { 3 document.cookie = "agy_verification=approved", setTimeout(() => document.querySelector("#agy-my-modal").style.display = "none", 500) 4 }); 1 "use strict";document.querySelector("#agy-my-modal")&&(document.querySelector("#agy-my-modal").style.display="block"),document.querySelector(".agy-enter-btn button")&&document.querySelector(".agy-enter-btn button").addEventListener("click",()=>{document.cookie="agy_verification=approved;path=/",setTimeout(()=>document.querySelector("#agy-my-modal").style.display="none",500)}); -
agy-verification/trunk/readme.txt
r2488609 r2512256 6 6 Donate link: https://mlab-studio.com 7 7 Tested up to: 5.7 8 Stable tag: 1.0. 38 Stable tag: 1.0.4 9 9 License: GPL v3 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-3.0.txt … … 104 104 == Changelog == 105 105 106 = [ 1.0.4 ] - 2021.08.04 = 107 * Added path=/ in the cookie to make the age verification to the whole site 108 * Fixed issue with searching plugin 109 * Fixed compatibility with latest version of WordPress 110 106 111 = [ 1.0.3 ] - 2021.06.03 = 107 112 * Fix: Fix compatibility with latest version of WordPress … … 117 122 118 123 == Upgrade Notice == 119 Fix compatibility with latest version of WordPress 124 Fix compatibility with latest version of WordPress and searching for a plugins
Note: See TracChangeset
for help on using the changeset viewer.