WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/29/2020 04:15:39 PM (21 months 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], [47637], and [47638] to the 4.9 branch.

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

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/src/wp-includes/class-wp-query.php

    r46493 r47648  
    760760        } elseif ( $qv['p'] ) {
    761761            $this->is_single = true;
    762         } elseif ( ('' !== $qv['hour']) && ('' !== $qv['minute']) &&('' !== $qv['second']) && ('' != $qv['year']) && ('' != $qv['monthnum']) && ('' != $qv['day']) ) {
    763             // If year, month, day, hour, minute, and second are set, a single
    764             // post is being queried.
    765             $this->is_single = true;
    766762        } elseif ( '' != $qv['pagename'] || !empty($qv['page_id']) ) {
    767763            $this->is_page = true;
Note: See TracChangeset for help on using the changeset viewer.