False error notice on email/domain check
-
Hello,
there is a false error notice triggered on email/domain check in the sender field when the site is a subsite of a multisite with a different domain than the network domain.
Network domain: https://www.my-network-domain.com
Subsite domain: https://www.my-subsite.comOn the subsite https://www.my-subsite.com:
[email protected] will trigger an error that the email is not in the domain
[email protected] will not trigger an errorI think the error is in inc/validation-functions.php line 192
$sitename = wp_parse_url( network_home_url(), PHP_URL_HOST );
It should be
$sitename = wp_parse_url( home_url(), PHP_URL_HOST );
All the best
Christian
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘False error notice on email/domain check’ is closed to new replies.