[wp-trac] [WordPress Trac] #46349: Is your/this admin email still correct

WordPress Trac noreply at wordpress.org
Mon Aug 5 02:41:26 UTC 2019


#46349: Is your/this admin email still correct
-------------------------------------------------+-------------------------
 Reporter:  andraganescu                         |       Owner:
                                                 |  andraganescu
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.3
Component:  Site Health                          |     Version:  5.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-docs   |     Focuses:  ui,
  needs-codex                                    |  administration
-------------------------------------------------+-------------------------

Comment (by azaozz):

 In 46349.1.diff:
 - Based on 46349.diff.
 - Add a nonce check when saving the options for the next admin email
 verification.
 - Remove the `wp_confirm_admin_email()` function from user.php. The
 functionality is moved to wp-login.php, when not outputting to the
 "interim login" iframe.
 - Add setting of the new option on WP upgrade. It's good to set it for
 cases where the new screen is not shown for a while after upgrading. For
 example an admin doesn't log in, only editors and authors do (checking an
 option that is not set requires one more trip to the DB).
 - Come cleanup and small fixes (white space, printf, "translatable" URL to
 help page, etc.).

 Still to-do: need to make the handbook page with explanation about the
 admin email.

 The patch also contains unrelated WPCS fixes (wp-login.php needed quite a
 few).

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46349#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list