WordPress.org

Plugin Directory

Changeset 608434


Ignore:
Timestamp:
10/05/12 11:20:49 (19 months ago)
Author:
kovshenin
Message:

Add the ability to delete the camptix options. Useful for debugging, especially upgrades.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • camptix/trunk/camptix.php

    r608433 r608434  
    10191019            $options['version'] = 0; 
    10201020            update_option( 'camptix_options', $options ); 
     1021        } 
     1022 
     1023        if ( current_user_can( $this->caps['manage_options'] ) && isset( $_GET['tix_delete_options'] ) ) { 
     1024            delete_option( 'camptix_options' ); 
     1025            $options = $default_options; 
    10211026        } 
    10221027 
Note: See TracChangeset for help on using the changeset viewer.