Plugin Directory

Changeset 3399749


Ignore:
Timestamp:
11/20/2025 01:09:16 PM (4 months ago)
Author:
cartcoder
Message:

Updated to version 4.0.8

Location:
accessibility-assistant/trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • accessibility-assistant/trunk/accessibility_assistant.php

    r3393585 r3399749  
    55    Description: ADA, EAA, AODA & WCAG Compliance Widget for Website Accessibility
    66    Author: CartCoder
    7     Version: 4.0.7
     7    Version: 4.0.8
    88    License: GPLv2 or later
    99    License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    2020
    2121define('ASSISTANT_API_URL', ASSISTANT_URL . '/v1');
     22define('CDN_URL', 'https://cdn.cartcoders.com/');
    2223
    2324// During Activatation
  • accessibility-assistant/trunk/admin/accessibility_counts_dashboard.php

    r3393569 r3399749  
    66$data = array('shopid' => $shopid,);
    77
    8 $content = assistant_api_call('/getShopData', $data, 'get');
     8$content = assistant_api_call('/NewGetShopData', $data, 'get');
    99$primary_id = $content['data']['id'];
    1010if ($primary_id) {
  • accessibility-assistant/trunk/admin/accessibility_dashboard.php

    r3393569 r3399749  
    66$data = array('shopid' => $shopid,);
    77
    8 $content = assistant_api_call('/getShopData', $data, 'get');
     8$content = assistant_api_call('/NewGetShopData', $data, 'get');
    99
    1010?>
     
    404404            <a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a> <strong>Success! </strong> </div>';
    405405                $data = array('shopid' => $returnsenddata['data']['shopid'],);
    406                 $content = assistant_api_call('/getShopData', $data, 'get');
     406                $content = assistant_api_call('/NewGetShopData', $data, 'get');
    407407            } else {
    408408                echo '<div class="alert alert-danger alert-dismissible">
     
    420420
    421421
    422 // if (empty($current_plan)) {
    423 //     require_once 'plan-list.php';
    424 //     return;
    425 // }
    426 
    427 if (empty($accessibility_url)) {
    428     update_option('accessibility_url', sanitize_text_field($content['data']['url']));
    429 }
     422$js_url = CDN_URL."wp_js/{$shopid}.js";
     423update_option('accessibility_url', $js_url);
    430424
    431425//if ($trial_day == 1 || $access_by_admin == '1') {
  • accessibility-assistant/trunk/admin/edit-language.php

    r3393569 r3399749  
    1111$accessibility_url = get_option('accessibility_url');
    1212$data = array('shopid' => $shopid, 'language_translation_id' => $current_language_id);
    13 $content = assistant_api_call('/getShopData', $data, 'get');
     13$content = assistant_api_call('/NewGetShopData', $data, 'get');
    1414$current_plan = $content['data']['plan'];
    1515
     
    561561      echo '<div class="alert alert-success alert-dismissible">
    562562            <a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a> <strong>' . esc_html__('Success!', 'accessibility-assistant') . ' </strong> </div>';
    563       $content = assistant_api_call('/getShopData', $data, 'get');
     563      $content = assistant_api_call('/NewGetShopData', $data, 'get');
    564564    } elseif ($returnsenddata['status'] == 400) {
    565565      echo '<div class="alert alert-danger alert-dismissible">
  • accessibility-assistant/trunk/admin/languages-listing.php

    r3393569 r3399749  
    55$accessibility_url = get_option('accessibility_url');
    66$data = array('shopid' => $shopid, 'language' => true);
    7 $content = assistant_api_call('/getShopData', $data, 'get');
     7$content = assistant_api_call('/NewGetShopData', $data, 'get');
    88
    99$primary_id = $content['data']['id'];
     
    3535
    3636
    37 //if (empty($accessibility_url)) {
    38 $url_data = assistant_api_call('/wordpress/script', ['siteId' => $shopid], 'get');
    39 $js_url = $url_data['scriptUrl'];
     37$js_url = CDN_URL."wp_js/{$shopid}.js";
    4038update_option('accessibility_url', $js_url);
    41 //}
    4239
    4340if ($access_by_admin == '1') {
  • accessibility-assistant/trunk/admin/menu-settings.php

    r3393569 r3399749  
    77$data = array('shopid' => $shopid, 'primaryid' => $accessibility_primaryid);
    88
    9 $content = assistant_api_call('/getShopData', $data, 'get');
     9$content = assistant_api_call('/NewGetShopData', $data, 'get');
    1010
    1111$primary_id = $content['data']['id'];
     
    451451            <a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a> <strong>Success! </strong> </div>';
    452452                $data = array('shopid' => $returnsenddata['data']['shopid'],);
    453                 $content = assistant_api_call('/getShopData', $data, 'get');
     453                $content = assistant_api_call('/NewGetShopData', $data, 'get');
    454454            } else {
    455455                echo '<div class="alert alert-danger alert-dismissible">
     
    466466<?php
    467467
    468 //if (empty($accessibility_url)) {
    469 $url_data = assistant_api_call('/wordpress/script', ['siteId' => $shopid], 'get');
    470 $js_url = $url_data['scriptUrl'];
     468$js_url = CDN_URL."wp_js/{$shopid}.js";
    471469update_option('accessibility_url', $js_url);
    472 //}
     470
    473471if ($access_by_admin == '1') {
    474472    echo "<p class='free-trial-note'>You have admin access</p>";
  • accessibility-assistant/trunk/admin/plan-list.php

    r3393569 r3399749  
    44$token = get_option('accessibility_tokken');
    55$data = array('shopid' => $shopid,);
    6 $content = assistant_api_call('/getShopData', $data, 'get');
     6$content = assistant_api_call('/NewGetShopData', $data, 'get');
    77
    88$primary_id = $content['data']['id'];
  • accessibility-assistant/trunk/admin/scanner.php

    r3393569 r3399749  
    66$data = array('shopid' => $shopid,);
    77
    8 $content = assistant_api_call('/getShopData', $data, 'get');
     8$content = assistant_api_call('/NewGetShopData', $data, 'get');
    99$primary_id = $content['data']['id'];
    1010if ($primary_id) {
     
    2121
    2222
    23 //if (empty($accessibility_url)) {
    24 $url_data = assistant_api_call('/wordpress/script', ['siteId' => $shopid], 'get');
    25 $js_url = $url_data['scriptUrl'];
     23$js_url = CDN_URL."wp_js/{$shopid}.js";
    2624update_option('accessibility_url', $js_url);
    27 //}
     25
    2826
    2927if ($access_by_admin == '1') {
  • accessibility-assistant/trunk/admin/widget-settings.php

    r3393569 r3399749  
    66$data = array('shopid' => $shopid,);
    77
    8 $content = assistant_api_call('/getShopData', $data, 'get');
     8$content = assistant_api_call('/NewGetShopData', $data, 'get');
    99
    1010$primary_id = $content['data']['id'];
     
    138138            <a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a> <strong>Success! </strong> </div>';
    139139                $data = array('shopid' => $returnsenddata['data']['shopid'],);
    140                 $content = assistant_api_call('/getShopData', $data, 'get');
     140                $content = assistant_api_call('/NewGetShopData', $data, 'get');
    141141            } else {
    142142                echo '<div class="alert alert-danger alert-dismissible">
     
    154154<?php
    155155
    156 //if (empty($accessibility_url)) {
    157 $url_data = assistant_api_call('/wordpress/script', ['siteId' => $shopid], 'get');
    158 $js_url = $url_data['scriptUrl'];
     156$js_url = CDN_URL."wp_js/{$shopid}.js";
    159157update_option('accessibility_url', $js_url);
    160 //}
    161158
    162159if ($access_by_admin == '1') {
  • accessibility-assistant/trunk/readme.txt

    r3393569 r3399749  
    256256= 1.4.1 =
    257257* Added a new screenshots, resolved the admin access issue, added language translation
     258
    258259= 1.4.2 =
    259260* Added a testimonials and loader
     261
    260262= 1.4.3 =
    261263* Disabled all the options on dashboard and edit-language page and save buttons when user has no plan
     
    291293
    292294= 2.1.6 =
    293 * scanner added
     295* site scanner added
    294296
    295297= 2.1.8 =
    296 * widget loader & new banner
     298* widget loader & new banner added on dashboard page
    297299
    298300= 2.1.9 =
    299 * Laravel 12
     301* Added new features
    300302
    301303= 3.0 =
    302 * Member access
     304* Added Member access feature
    303305
    304306= 3.0.5 =
     
    306308
    307309= 3.0.6 =
    308 *Updated style
     310* Updated style
    309311
    310312= 3.0.7 =
    311 *Removed log
     313* Removed log
    312314
    313315= 3.0.8 =
    314 *Fixed the conflict errors with the popup maker plugin
     316* Fixed the conflict errors with the popup maker plugin
    315317
    316318= 4.0.0 =
    317 *Widget icon hover text added
     319* Widget icon hover text added
    318320
    319321= 4.0.1 =
    320 *API domain changed
     322* API domain changed
    321323
    322324= 4.0.4 =
    323 *Load cdn directly on website
     325* Load cdn directly on website
    324326
    325327= 4.0.6 =
    326 Romanian language added
     328* Romanian language added
     329
     330= 4.0.8 =
     331* Resolved bugs related languages ranking
    327332
    328333**Explore More Accessibility Options:**
Note: See TracChangeset for help on using the changeset viewer.