예제 #1
0
 /**
  * Update current configuration.
  *
  * @access  private
  */
 public function update_current_configuration()
 {
     if (isset($_POST['site_move_monitor_current_configuration']) && wp_verify_nonce($_POST['site_move_monitor_current_configuration'], 'update')) {
         $this->checker->update_stored_data();
         $this->current_configuration_updated = true;
         do_action('site_move_monitor_configuration_updated');
     }
 }
 /**
  * Install
  *
  * @access  private
  */
 public function install()
 {
     $checker = new Site_Move_Monitor_Checker();
     if (!$checker->is_stored()) {
         $checker->update_stored_data();
     }
 }