Plugin Directory

Changeset 2765621


Ignore:
Timestamp:
08/03/2022 09:50:11 AM (4 years ago)
Author:
aseran
Message:

Fix bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vmv-preloader/trunk/vmv/vmv-miscellaneous.php

    r2765601 r2765621  
    137137
    138138function put_base_code_to_template($demoViewArg){
     139  $option = vmv_preloader_get_option();
     140  $b0 = esc_html( stripslashes( $option['b0'] ) );
     141  $t4 = esc_html( stripslashes( $option['t4'] ) );
     142
    139143  $demoView = 'false';
    140144  if($demoViewArg) {
     
    175179  $demoView = $post_slug == 'vmv-preloader-preview';
    176180
    177   if ( (( ! isset( $_COOKIE[ $currentCookie ] ) && $pluginActivated && $isNotCrawler ) || isset($demoView) ) ) {
     181  if ( (( ! isset( $_COOKIE[ $currentCookie ] ) && $pluginActivated && $isNotCrawler ) || $demoView ) ) {
    178182    put_base_code_to_template($demoView);
    179183  }
Note: See TracChangeset for help on using the changeset viewer.