Make WordPress Core


Ignore:
Timestamp:
09/27/2017 02:16:21 PM (7 years ago)
Author:
johnbillion
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ms-admin-filters.php

    r41254 r41617  
    3939add_action( 'network_admin_notices', 'update_nag',      3  );
    4040add_action( 'network_admin_notices', 'maintenance_nag', 10 );
     41
     42// Network Admin Hooks
     43add_action( 'add_site_option_new_admin_email',    'update_network_option_new_admin_email', 10, 2 );
     44add_action( 'update_site_option_new_admin_email', 'update_network_option_new_admin_email', 10, 2 );
Note: See TracChangeset for help on using the changeset viewer.