public function process_post_data($post_data) { if (!wp_verify_nonce($_REQUEST['jwp6_nonce'], $this->page_slug)) { wp_nonce_ays($this->page_slug); } parent::process_post_data($post_data, true); }
public function process_post_data($post_data) { parent::process_post_data($post_data, false); if (isset($_GET['player_id'])) { return $this->process_edit_post_data($post_data); } else { return $this->process_overview_post_data($post_data); } }
public function process_post_data($post_data) { if (!wp_verify_nonce($_REQUEST['jwp6_nonce'], $this->page_slug . $_REQUEST['player_id'])) { wp_nonce_ays($this->page_slug); } parent::process_post_data($post_data, false); if (isset($_GET['player_id'])) { return $this->process_edit_post_data($post_data); } else { return $this->process_overview_post_data($post_data); } }
public function __construct() { parent::__construct(); }