New site email being sent despite registrationnotification set to no
|Reported by:||tomk-m||Owned by:|
|Component:||Networks and Sites||Keywords:||has-patch needs-testing|
When a new site is created in wp-admin/network/site-new.php it sends an e-mail to the admin email address to say the site has been created (line 92 in WP 3.5.1).
I had assumed that the registrationnotification setting in wp-admin/network/settings.php would control this but it sends the e-mail regardless of this setting.
I believe that sending this email should respect the registrationnotification setting or a new configuration option should be added to prevent sending out these e-mails.