Author: Inpsyde GmbH, toscho
Inheritance: implements Mlp_Options_Page_Data
 /**
  * Combine all update actions.
  *
  * @return void
  */
 public function update_settings()
 {
     if (!check_admin_referer($this->tab_page_data->get_nonce_action(), $this->tab_page_data->get_nonce_name())) {
         wp_die('Invalid', 'Invalid', array('response' => 403));
     }
     $blog_id = $this->get_blog_id();
     $this->update_language($blog_id);
     $this->update_flag($blog_id);
     $this->update_related_blogs($blog_id);
     /**
      * Action after saving the MLP-Site-Settings
      * @param   Array $_POST
      */
     do_action('mlp_blogs_save_fields', $_POST);
     $url = add_query_arg('msg', 'updated', $_POST['_wp_http_referer']);
     wp_safe_redirect($url);
     exit;
 }
 /**
  * @return void
  */
 private function run_admin_actions()
 {
     $setting = new Mlp_Network_Site_Settings_Tab_Data($this->plugin_data->get('type_factory'));
     $nonce = new WPNonce($setting->action());
     // TODO: Check what this sucker needs...
     new Mlp_Network_Site_Settings_Controller($this->plugin_data, $setting, $nonce);
     new Mlp_Network_New_Site_Controller($this->plugin_data->get('site_relations'), $this->plugin_data->get('languages'));
 }