[wp-trac] [WordPress Trac] #42693: WordPress 4.9 sends an "admin email address was changed" message to you at example.com on new install

WordPress Trac noreply at wordpress.org
Fri Nov 24 23:01:49 UTC 2017


#42693: WordPress 4.9 sends an "admin email address was changed" message to
you at example.com on new install
-----------------------------+-----------------------------
 Reporter:  tigertech        |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Upgrade/Install  |    Version:  trunk
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 This is a follow-up to #39117.

 When I install a new copy of WordPress 4.9, it sends the following message
 to literal address {{{you at example.com}}} at install time:

 {{{
 To: you at example.com
 Subject: [redacted] Notice of Admin Email Change

 Hi,

 This notice confirms that the admin email address was changed on
 [redacted].

 The new admin email address is [redacted].

 This email has been sent to you at example.com

 Regards,
 All at [redacted]
 }}}

 This happens because "wp-admin/includes/schema.php" initially populates
 the database with the placeholder address "you at example.com". Then
 wp_install() calls

 {{{
         update_option('admin_email', $user_email);
 }}}

 And that triggers the new code from the change in #39117 to notice the
 update and send the email message.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42693>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list