Make WordPress Core

Opened 2 years ago

#55588 new enhancement

Enhancement request: Allow me to prevent admin_email changes

Reported by: desmith's profile desmith Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version: 5.9.3
Component: Administration Keywords:
Focuses: Cc:

Description

Subject says it all :) I would like a way to prevent changes to the admin_email option (the "Administration Email Address" on Settings -> General).

The first/most obvious way to do this, to me at least, would be to create a new define, similar to WP_SITEURL, that always overrides the value of admin_email. That seems more comprehensive, but would involve digging into a lot of different places. Another possible implementation is to add a filter to update_option_new_admin_email (in wp-admin/misc.php) that lets you abort that call early.

Change History (0)

Note: See TracTickets for help on using tickets.