Make WordPress Core


Ignore:
Timestamp:
04/29/2020 04:25:54 PM (6 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 4.7 branch.

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

Location:
branches/4.5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.5

  • branches/4.5/src/wp-includes/user.php

    r41128 r47652  
    15941594
    15951595        if ( $update ) {
    1596                 if ( $user_email !== $old_user_data->user_email ) {
     1596                if ( $user_email !== $old_user_data->user_email || $user_pass !== $old_user_data->user_pass ) {
    15971597                        $data['user_activation_key'] = '';
    15981598                }
Note: See TracChangeset for help on using the changeset viewer.