Scribblemacher<p>I wasted a bunch of time trying to figure out why a form on a <a href="https://mstdn.games/tags/WordPress" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WordPress</span></a> application was not working for some tests. Turns out that `wp_sanitize_email()` doesn't just sanitize but will return empty if it doesn't think the email is valid. So a technically valid email like doe@example would be returned as empty. It was like sanitizing a string with bleach; can't be dangerous if it's empty, I guess. <a href="https://mstdn.games/tags/WebDev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebDev</span></a> <a href="https://mstdn.games/tags/PHP" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PHP</span></a></p>