Plugin Directory

Changeset 3454584


Ignore:
Timestamp:
02/05/2026 11:53:38 AM (7 weeks ago)
Author:
nintechnet
Message:

Adding v1.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code-profiler/trunk/lib/helper.php

    r3454495 r3454584  
    138138    }
    139139
    140     if ( empty( $cp_options['version'] ) ||
    141         version_compare( $cp_options['version'], CODE_PROFILER_VERSION, '<') ) {
     140    if ( empty( $cp_options['version'] ) ) {
     141        $cp_options['version'] = CODE_PROFILER_VERSION;
     142        update_option('code-profiler', $cp_options );
     143
     144    } elseif ( version_compare( $cp_options['version'], CODE_PROFILER_VERSION, '<') ) {
    142145
    143146        // Version 1.1
Note: See TracChangeset for help on using the changeset viewer.