WordPress.org

Make WordPress Core

Changeset 12795


Ignore:
Timestamp:
01/22/2010 04:06:31 PM (8 years ago)
Author:
donncha
Message:

Delete the useremail cache when user updated. MU signup for old email fails until cache invalidated otherwise.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/registration.php

    r12778 r12795  
    272272    }
    273273
     274    wp_cache_delete($user[ 'user_email' ], 'useremail');
     275
    274276    // Merge old and new fields with new fields overwriting old ones.
    275277    $userdata = array_merge($user, $userdata);
Note: See TracChangeset for help on using the changeset viewer.