protected function do_edit_content($action, $form_data)
 {
     if (parent::do_edit_content($action, $form_data) === true) {
         return true;
     }
     if ($action == 'delete') {
         if ($this->get_current_post_id() <= 0) {
             $this->form_errors[] = new WP_Error(__('You must supply a post ID to delete', 'cuar'), 0);
             return false;
         }
         if (!$this->current_user_can_delete_content()) {
             $this->form_errors[] = new WP_Error(__('You are not allowed to delete this post', 'cuar'), 0);
             return false;
         }
         if (false !== wp_delete_post($this->get_current_post_id(), false)) {
             $this->should_print_form = false;
             $this->form_messages[] = __('The content has been deleted.', 'cuar');
             return true;
         }
     }
     return false;
 }