Plugin Directory

Changeset 2344974


Ignore:
Timestamp:
07/22/2020 07:07:26 PM (6 years ago)
Author:
yaidier
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wn-flipbox-pro/trunk/wp-hover-images.php

    r2344948 r2344974  
    108108       
    109109        function version_check()
    110         {
    111             $general_options = get_option( 'WN_Image_Hover' );
    112            
    113             if ( array_key_exists( 'version', $general_options ) ) {
    114                 if ( $general_options['version'] != '1.11' ) {
     110        {           
     111            $general_options = get_option( 'WN_Image_Hover' ); 
     112            if($general_options != ''){         
     113                if (array_key_exists('version', $general_options ) ) {
     114                    if ( $general_options['version'] != '1.11' ) {
     115                        $this->update_version( $general_options );
     116                    }
     117                } else {
    115118                    $this->update_version( $general_options );
    116119                }
    117             } else {
    118                 $this->update_version( $general_options );
    119120            }
    120121       
Note: See TracChangeset for help on using the changeset viewer.