Make WordPress Core


Ignore:
Timestamp:
04/29/2020 04:58:19 PM (5 years ago)
Author:
whyisjake
Message:

User: Invalidate user_activation_key on password update.
Query: Ensure that only a single post can be returned on date/time based queries.
Cache API: Ensure proper escaping around the stats method in the cache API.
Formatting: Expand sanitize_file_name to have better support for utf8 characters.

Brings the changes in [47634], [47635], [47637], and [47638] to the 3.7 branch.

Props: batmoo, ehti, nickdaugherty, peterwilsoncc, sergeybiryukov, sstoqnov, westi, whyisjake, whyisjake, xknown.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.7/src/wp-includes/user.php

    r30434 r47662  
    14161416
    14171417    if ( $update ) {
    1418         if ( $user_email !== $old_user_data->user_email ) {
     1418        if ( $user_email !== $old_user_data->user_email || $user_pass !== $old_user_data->user_pass ) {
    14191419            $data['user_activation_key'] = '';
    14201420        }
Note: See TracChangeset for help on using the changeset viewer.