Changeset 3220165
- Timestamp:
- 01/10/2025 11:38:00 AM (14 months ago)
- Location:
- accessibe/trunk
- Files:
-
- 3 edited
-
accessibe.php (modified) (1 diff)
-
class.accessibeforwp.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
accessibe/trunk/accessibe.php
r3220122 r3220165 4 4 * Plugin URI: https://accessibe.com/ 5 5 * Description: accessiBe is the #1 fully automated web accessibility solution. Protect your website from lawsuits and increase your potential audience. 6 * Version: 2.2 6 * Version: 2.2.1 7 7 * Author: accessiBe 8 8 * Author URI: https://accessibe.com/ -
accessibe/trunk/class.accessibeforwp.php
r3220133 r3220165 510 510 // Attempt to retrieve and decode options using ACCESSIBE_OPTIONS_KEY 511 511 $accessibe_options = get_option(ACCESSIBE_WP_OPTIONS_KEY, array()); 512 $isLoggedOutOnce = false; 512 513 if(!empty($accessibe_options)) { 513 514 $accessibe_options = json_decode($accessibe_options, true); 515 $isLoggedOutOnce = $accessibe_options['isLoggedOutOnce']; 514 516 } 515 517 … … 517 519 if(empty($accessibe_options) || !isset($accessibe_options['script'])) { 518 520 $accessibe_options = get_option(ACCESSIBE_WP_OLD_OPTIONS_KEY, array()); 521 $accessibe_options['isLoggedOutOnce'] = $isLoggedOutOnce; 519 522 } 520 523 … … 605 608 </div> 606 609 <?php 607 if (!isset($accessibe_options['isLoggedOutOnce'])) { 608 $accessibe_options['isLoggedOutOnce'] = true; 609 update_option(ACCESSIBE_WP_OPTIONS_KEY, json_encode($accessibe_options)); 610 if ($accessibe_options['isLoggedOutOnce'] != true) { 610 611 echo "<script> 611 612 window.addEventListener('message', (event) => { … … 621 622 }}); 622 623 </script>"; 624 $accessibe_options['isLoggedOutOnce'] = true; 625 626 update_option(ACCESSIBE_WP_OPTIONS_KEY, json_encode($accessibe_options)); 623 627 } 624 628 ?> -
accessibe/trunk/readme.txt
r3220122 r3220165 4 4 Requires at least: 4.7 5 5 Tested up to: 6.7 6 Stable tag: 2.2 6 Stable tag: 2.2.1 7 7 Requires PHP: 7.0 8 8 License: GPLv2 or later … … 58 58 59 59 == Changelog == 60 = v2.2.1 = 61 * 2025-01-10 62 * Bug fixes 63 60 64 = v2.2 = 61 65 * 2025-01-10
Note: See TracChangeset
for help on using the changeset viewer.