protected function preSaveChecksPassed(int $post_id): bool
    {
        if ($post_id < 1) {
            return false;
        }

        if (\defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) {
            return false;
        }

        if (!\current_user_can(
            \get_post_type_object(\get_post_type($post_id))->cap->edit_post,
            $post_id
        )) {
            return false;
        }

        if (!isset($_POST[$this->nonce]) ||
            !\wp_verify_nonce($_POST[$this->nonce], \basename(__FILE__))
        ) {
            return false;
        }

        return true;
    }