Plugin Directory

Changeset 2858782


Ignore:
Timestamp:
02/02/2023 07:14:14 AM (3 years ago)
Author:
seersco
Message:

fix in popup expiry default value

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

Legend:

Unmodified
Added
Removed
  • seers-cookie-consent-banner-privacy-policy/tags/Development Versions/templates/frontend-popup.php

    r2858775 r2858782  
    20732073
    20742074                        if (days) {
    2075                             let expirindays = <?php echo ((get_option('SCCBPP_cookie_consent_cookies_expiry')) ? get_option('SCCBPP_cookie_consent_cookies_expiry') : 0 );?>;
     2075                            let expirindays = <?php echo ((get_option('SCCBPP_cookie_consent_cookies_expiry')) ? get_option('SCCBPP_cookie_consent_cookies_expiry') : 1 );?>;
    20762076                            var date = new Date();
    20772077                            //date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
  • seers-cookie-consent-banner-privacy-policy/trunk/templates/frontend-popup.php

    r2858775 r2858782  
    20732073
    20742074                        if (days) {
    2075                             let expirindays = <?php echo ((get_option('SCCBPP_cookie_consent_cookies_expiry')) ? get_option('SCCBPP_cookie_consent_cookies_expiry') : 0 );?>;
     2075                            let expirindays = <?php echo ((get_option('SCCBPP_cookie_consent_cookies_expiry')) ? get_option('SCCBPP_cookie_consent_cookies_expiry') : 1 );?>;
    20762076                            var date = new Date();
    20772077                            //date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
Note: See TracChangeset for help on using the changeset viewer.