Make WordPress Core


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

Customize: Add additional filters to Customizer to prevent JSON corruption.
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 [47633], [47634], [47635], [47636], [47637], and [47638] to the 5.0 branch.

Props: aduth, batmoo, ehti, ellatrix, jorgefilipecosta, nickdaugherty, noisysocks, pento, peterwilsoncc, sergeybiryukov, sstoqnov, talldanwp, westi, westonruter, whyisjake, whyisjake, xknown.

Location:
branches/5.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0

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

    r43827 r47647  
    17011701
    17021702    if ( $update ) {
    1703         if ( $user_email !== $old_user_data->user_email ) {
     1703        if ( $user_email !== $old_user_data->user_email || $user_pass !== $old_user_data->user_pass ) {
    17041704            $data['user_activation_key'] = '';
    17051705        }
Note: See TracChangeset for help on using the changeset viewer.