Changeset 14242
- Timestamp:
- 04/26/2010 06:20:11 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/ms.php
r14215 r14242 274 274 275 275 function update_option_new_admin_email( $old_value, $value ) { 276 error_log(var_export($value, true)); 277 $email = get_option( 'admin_email' ); 278 error_log(var_export($email, true)); 276 279 if ( $value == get_option( 'admin_email' ) || !is_email( $value ) ) 277 280 return; 278 281 error_log('here'); 279 282 $hash = md5( $value. time() .mt_rand() ); 280 283 $new_admin_email = array( … … 308 311 } 309 312 add_action( 'update_option_new_admin_email', 'update_option_new_admin_email', 10, 2 ); 313 add_action( 'add_option_new_admin_email', 'update_option_new_admin_email', 10, 2 ); 310 314 311 315 function send_confirmation_on_profile_email() {
Note: See TracChangeset
for help on using the changeset viewer.