Closed ipajen closed 9 months ago
Code in question:
and the core function that is responsible: https://github.com/WordPress/wordpress-develop/blob/8ec4d9dfc7e2043485d83d4af9e505ec1cc21470/src/wp-admin/includes/upgrade.php#L535-L616
Filtering that filter and returning a falsey value would work.. but filtering wp_mail()
as a whole is probably a better route.
Bug Report
Description
When checking accessibility or/and performance test a email is sent out with admin credentials for new site. (System failed to delivery e-mail)
https://wordpress.slack.com/archives/C1LBM36LC/p1707869533873209
Environment
Steps to Reproduce
Expected Results
Actual Results
With a new user (administrator) and password for “ New WordPress Site”