Plugin Directory

Changeset 232514


Ignore:
Timestamp:
04/23/2010 08:18:09 PM (16 years ago)
Author:
paulgpetty
Message:

fix issue with setting & getting option for

Location:
wp-time-machine/trunk/includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-time-machine/trunk/includes/wpTimeMachineCore.php4

    r232371 r232514  
    2222        $files                = array( $wpcontent_targz, $wpdata_sqlgz, $htaccess_targz, $instructions );               
    2323        $cron_settings        = "0 0 * * * php " . $wpplugin_dir . "/wp-time-machine/wp-time-machine.php";               
    24         $offsite              = $wpTimeMachineOptionsStorage['offsite'];
    2524
    2625        if ($wpTimeMachineOptionsStorage['use_timestamp_dir'] == "true") {
     
    7473        update_option($this->adminOptionsName, $wpTimeMachineOptionsStorage);
    7574           
     75        $offsite = $wpTimeMachineOptionsStorage['offsite'];
     76       
    7677      // Strings based on $offsite
    7778     
  • wp-time-machine/trunk/includes/wpTimeMachineCore.php5

    r232371 r232514  
    3030            $instructions         = $wpcontent_dir . "/wpTimeMachine-Instructions.txt";   
    3131            $files                = array( $wpcontent_targz, $wpdata_sqlgz, $htaccess_targz, $instructions );               
    32             $cron_settings        = "0 0 * * * php " . $wpplugin_dir . "/wp-time-machine/wp-time-machine.php";               
    33             $offsite              = $wpTimeMachineOptionsStorage['offsite'];
     32            $cron_settings        = "0 0 * * * php " . $wpplugin_dir . "/wp-time-machine/wp-time-machine.php";   
    3433
    3534            if ($wpTimeMachineOptionsStorage['use_timestamp_dir'] == "true") {
     
    8281               
    8382            update_option($this->adminOptionsName, $wpTimeMachineOptionsStorage);
     83                         
     84            $offsite = $wpTimeMachineOptionsStorage['offsite'];
    8485                   
    8586          // Strings based on $offsite
Note: See TracChangeset for help on using the changeset viewer.