Make WordPress Core


Ignore:
Timestamp:
04/29/2020 04:48:42 PM (4 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.3 branch.

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

Location:
branches/4.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.3

  • branches/4.3/src/wp-includes/query.php

    r46499 r47656  
    16001600        } elseif ( $qv['p'] ) {
    16011601            $this->is_single = true;
    1602         } elseif ( ('' !== $qv['hour']) && ('' !== $qv['minute']) &&('' !== $qv['second']) && ('' != $qv['year']) && ('' != $qv['monthnum']) && ('' != $qv['day']) ) {
    1603             // If year, month, day, hour, minute, and second are set, a single
    1604             // post is being queried.
    1605             $this->is_single = true;
    16061602        } elseif ( '' != $qv['pagename'] || !empty($qv['page_id']) ) {
    16071603            $this->is_page = true;
Note: See TracChangeset for help on using the changeset viewer.