# Imported Discourse -\> Wordpress Users Get Error

**URL:** https://meta.discourse.org/t/imported-discourse-wordpress-users-get-error/98903
**Category:** WordPress
**Created:** [October 6, 2018, 8:33pm UTC](https://meta.discourse.org/t/imported-discourse-wordpress-users-get-error/98903 "2018-10-06T20:33:00Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [October 6, 2018, 9:06pm UTC](https://meta.discourse.org/t/imported-discourse-wordpress-users-get-error/98903/6 "2018-10-06T21:06:25Z")

</div>

> [@justin](#):
>
> Is there a way to work around this?

Here’s a temporary solution that will be safe for your case **if** you are certain that the email addresses of your imported users are valid, **and** you continue to use the default WordPress login system for your new users. If you ever switch to using a front-end login system that doesn’t validate emails, you must be sure to remove this code. Try copying this function into your theme’s `functions.php` file:

```plaintext
add_filter( 'discourse_email_verification', 'wpdc_custom_email_verification' );
function wpdc_custom_email_verification() {

    return false;
}

```

---

_[View the full topic](https://meta.discourse.org/t/imported-discourse-wordpress-users-get-error/98903)._
