mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-09-15 05:20:23 +00:00
Options, Meta APIs: Require a confirmation link in an email to be clicked when a user attempts to change the network
admin email address on Multisite. This mirrors the same functionality for the site admin email address and user profile email address. Fixes #41254 git-svn-id: https://develop.svn.wordpress.org/trunk@41617 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -38,3 +38,7 @@ add_action( 'network_admin_notices', 'site_admin_notice' );
|
||||
// Update Hooks
|
||||
add_action( 'network_admin_notices', 'update_nag', 3 );
|
||||
add_action( 'network_admin_notices', 'maintenance_nag', 10 );
|
||||
|
||||
// Network Admin Hooks
|
||||
add_action( 'add_site_option_new_admin_email', 'update_network_option_new_admin_email', 10, 2 );
|
||||
add_action( 'update_site_option_new_admin_email', 'update_network_option_new_admin_email', 10, 2 );
|
||||
|
||||
Reference in New Issue
Block a user