Opened 12 years ago
Last modified 6 years ago
#24411 new defect (bug)
New site email being sent despite registrationnotification set to no
Reported by: | tomk-m | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.5.1 |
Component: | Networks and Sites | Keywords: | has-patch needs-testing |
Focuses: | multisite | Cc: |
Description
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.
Attachments (1)
Change History (5)
#2
@
12 years ago
To be clear, the option currently only has an effect on newblog_notify_siteadmin()
: tags/3.5.1/wp-includes/ms-functions.php#L1001.
The option label says: "Send the network admin an email notification every time someone registers a site or user account." (tags/3.5.1/wp-admin/network/settings.php#L127).
Patch to respect registrationnotification setting