[wp-trac] [WordPress Trac] #60789: Administration Email Address: Allow method to deactivate

WordPress Trac noreply at wordpress.org
Mon Mar 18 21:12:43 UTC 2024


#60789: Administration Email Address: Allow method to deactivate
-------------------------------+------------------------------
 Reporter:  andrewhoyer        |       Owner:  (none)
     Type:  feature request    |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Administration     |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  2nd-opinion close  |     Focuses:
-------------------------------+------------------------------

Comment (by sabernhardt):

 > non admin users shouldn't be able to change databases

 Users need to log in and have sufficient capabilities to change the email
 address, but [https://github.com/WordPress/wordpress-
 develop/blob/6a0e4aa570b6b9e7ce6d630b8d92e2f5091aac6b/src/wp-
 admin/includes/upgrade.php#L2171 resetting the 'admin_email_lifespan'
 option] might be an acceptable database change. Then the next admin user
 to log in should get a prompt to replace the email.

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


More information about the wp-trac mailing list