WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/27/17 02:23:26 (6 months ago)
Author:
johnbillion
Message:

Options, Meta APIs: Send a notification to the old admin email address when the site admin email or network admin email address is changed.

This reduces the chances of a site compromise going unnoticed, in the same way that the same notifications for user account email address changes reduces the chances of a user account compromise going unnoticed.

Props MatheusGimenez, johnbillion

Fixes #39117

File:
1 edited

Legend:

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

    r41163 r41164  
    2323add_action( 'wpmueditblogaction', 'upload_space_setting' ); 
    2424 
     25// Network hooks 
     26add_action( 'update_site_option_admin_email', 'wp_network_admin_email_change_notification', 10, 4 ); 
     27 
    2528// Taxonomy Hooks 
    2629add_filter( 'get_term', 'sync_category_tag_slugs', 10, 2 ); 
Note: See TracChangeset for help on using the changeset viewer.