Plugin Directory

Changeset 3094828


Ignore:
Timestamp:
05/29/2024 08:39:54 PM (22 months ago)
Author:
seersco
Message:

ajax calls security 8.1.2

Location:
seers-cookie-consent-banner-privacy-policy
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • seers-cookie-consent-banner-privacy-policy/tags/8.1.2/readme.txt

    r3055591 r3094828  
    55Requires at least: 3.8 or higher
    66Tested up to: 6.4.3
    7 Stable tag: 8.1.2
     7Stable tag: 8.1.3
    88Requires PHP: 5.3.3
    99Author URL: https://seersco.com
    10 Plugin URL: https://seersco.com/wp-cookie-plugin
     10Plugin URL: https://seersco.com/plugins/wordpress-plugin-installation-of-seers-cookie-consent/
    1111Donate Link: https://seersco.com
    1212
     
    183183== Changelog ==
    184184
     185VERSION 8.1.3
     186• now using capablity of customize to allow your to update data ajax calls
     187
    185188VERSION 8.1.2
    186189• on ajax calls for administrator make sure logged in user is administrator
  • seers-cookie-consent-banner-privacy-policy/tags/8.1.2/seers-cookie-consent-banner-privacy-policy.php

    r3055591 r3094828  
    1111* Plugin URI: https://seersco.com/wp-cookie-plugin
    1212* Description: Seers cookie consent management platform is trusted by thousands of businesses. Become GDPR, CCPA, ePrivacy and LGPD compliant in three clicks.
    13 * Version: 8.1.2
     13* Version: 8.1.3
    1414* Author: Seers
    1515* Author URI: https://seersco.com/
     
    937937        {
    938938
    939             //if current user is not not administrator then do not do any thing
    940             if (!current_user_can( 'administrator' ))
     939            //if current user has capablity of customize then do not do any thing
     940            if (!current_user_can( 'customize' ))
    941941                return false;
    942942
     
    11461146        {
    11471147
    1148             //if current user is not not administrator then do not do any thing
    1149             if (!current_user_can( 'administrator' ))
     1148            //if current user has capablity of customize then do not do any thing
     1149            if (!current_user_can( 'customize' ))
    11501150                return false;
    11511151           
     
    21832183                    if (stripos($message, "Unauthenticated") !== false) {
    21842184                        update_option( 'SCCBPP_cookie_consent_showloginpopup', 'show' );
    2185                     } else if (current_user_can( 'administrator' )) {
     2185                    } else if (current_user_can( 'customize' )) {
    21862186                       
    21872187                        // now also get the changes of banners from seersco.com
  • seers-cookie-consent-banner-privacy-policy/trunk/seers-cookie-consent-banner-privacy-policy.php

    r3055591 r3094828  
    1111* Plugin URI: https://seersco.com/wp-cookie-plugin
    1212* Description: Seers cookie consent management platform is trusted by thousands of businesses. Become GDPR, CCPA, ePrivacy and LGPD compliant in three clicks.
    13 * Version: 8.1.2
     13* Version: 8.1.3
    1414* Author: Seers
    1515* Author URI: https://seersco.com/
Note: See TracChangeset for help on using the changeset viewer.