[wp-trac] [WordPress Trac] #18088: Network Admin Email setting in wp-admin/network/settings.php fails silently
WordPress Trac
noreply at wordpress.org
Tue Apr 26 17:04:17 UTC 2016
#18088: Network Admin Email setting in wp-admin/network/settings.php fails silently
--------------------------------+----------------------------------------
Reporter: kawauso | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Future Release
Component: Networks and Sites | Version: 3.2
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: administration, multisite
--------------------------------+----------------------------------------
Comment (by flixos90):
Replying to [comment:10 thomaswm]:
> * When the user saves the settings, WordPress will call
`update_site_option` (see
[https://core.trac.wordpress.org/browser/tags/4.3.1/src/wp-
admin/network/settings.php#L100 line 100 in settings.php]) which then
calls `sanitize_option`.
> * When `sanitize_option` decides that the user did not provide a valid
email address, it will call `get_option( 'admin_email' )` and return that
value (see [https://core.trac.wordpress.org/browser/tags/4.3.1/src/wp-
includes/formatting.php#L3721 line 3721 in formatting.php]).
> * This value will then be saved to the network options table by
`update_site_option`.
This bug will be fixed with #35379 being completed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/18088#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list