Merge conditonal

This commit is contained in:
Mike Jolley 2016-08-09 11:17:47 +01:00
parent b7dcd97572
commit f4b45001ec
1 changed files with 0 additions and 2 deletions

View File

@ -881,9 +881,7 @@ class WC_Customer extends WC_Legacy_Customer {
$this->{"set_{$key}"}( $meta_value );
}
}
}
if ( $this->_is_user ) {
$this->set_is_paying_customer( get_user_meta( $id, 'paying_customer', true ) );
$wp_user = new WP_User( $id );
$this->set_email( $wp_user->user_email );