Plugin Directory

Changeset 3224023


Ignore:
Timestamp:
01/17/2025 08:37:23 AM (14 months ago)
Author:
anshumanja
Message:

widget enable backward

Location:
accessibe/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • accessibe/trunk/accessibe.php

    r3223591 r3224023  
    44  * Plugin URI: https://accessibe.com/
    55  * Description: accessiBe is the #1 fully automated web accessibility solution. Protect your website from lawsuits and increase your potential audience.
    6   * Version: 2.3.1
     6  * Version: 2.3.2
    77  * Author: accessiBe
    88  * Author URI: https://accessibe.com/
  • accessibe/trunk/class.accessibeforwp.php

    r3223588 r3224023  
    156156            || (isset($accessibe_options["script"][$current_domain]) && $accessibe_options["script"][$current_domain]['widgetStatus'] != true)) {
    157157            echo "<script>console.log(".json_encode($accessibe_options).")</script>";
     158        }
     159
     160        if (isset($accessibe_options["script"][$current_domain]) && $accessibe_options["script"][$current_domain]['widgetStatus'] != true) {
    158161            return false;
    159162        }
     
    172175        }
    173176
    174             echo "<script>(function(){var s=document.createElement('script');e = !document.body ? document.querySelector('head'):document.body;s.src='https://acsbapp.com/apps/app/dist/js/app.js';s.setAttribute('data-source', 'WordPress');s.defer=true;s.onload=function(){acsbJS.init({
     177            echo "<script>(function(){var s=document.createElement('script');e = !document.body ? document.querySelector('head'):document.body;s.src='https://acsbapp.com/apps/app/dist/js/app.js';s.setAttribute('data-source', 'WordPress');s.setAttribute('data-plugin-version', ".self::accessibe_get_plugin_version().");s.defer=true;s.onload=function(){acsbJS.init({
    175178                statementLink     : '" . esc_url($accessibe_options['statementLink']) . "',
    176179                footerHtml        : '" . esc_html($accessibe_options['footerHtml']) . "',
     
    335338            $modified_status = true;
    336339            if(!empty($old_data)) {
    337                 $modified_status = $data_decoded->newLicense ? true : 'enabled' == $old_data['accessibe'];
     340                // $modified_status = $data_decoded->newLicense ? true : 'enabled' == $old_data['accessibe'];
    338341                $modified_config = self::modify_old_data($old_data);
    339342                delete_option(ACCESSIBE_WP_OLD_OPTIONS_KEY);
  • accessibe/trunk/readme.txt

    r3223591 r3224023  
    44Requires at least: 4.7
    55Tested up to: 6.7
    6 Stable tag: 2.3.1
     6Stable tag: 2.3.2
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    5959== Changelog ==
    6060= v2.3.1 =
     61* 2025-01-17
     62* Bug fixes
     63
     64= v2.3.1 =
    6165* 2025-01-16
    6266* Bug fixes
Note: See TracChangeset for help on using the changeset viewer.