Make WordPress Core


Ignore:
Timestamp:
10/14/2019 07:06:04 PM (6 years ago)
Author:
whyisjake
Message:

Backporting several bug fixes.

  • Query: Remove the static query property.
  • HTTP API: Protect against hex interpretation.
  • Filesystem API: Prevent directory travelersals when creating new folders.
  • Administration: Ensure that admin referer nonce is valid.
  • REST API: Send a Vary: Origin header on GET requests.
  • Customizer: Properly sanitize background images.

Backports [46474], [46475], [46476], [46477], [46478], [46483], [46485] to the 4.5 branch.

Location:
branches/4.5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.5

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

    r39958 r46497  
    14121412            , 'attachment_id'
    14131413            , 'name'
    1414             , 'static'
    14151414            , 'pagename'
    14161415            , 'page_id'
     
    16281627            // post is being queried.
    16291628            $this->is_single = true;
    1630         } elseif ( '' != $qv['static'] || '' != $qv['pagename'] || !empty($qv['page_id']) ) {
     1629        } elseif ( '' != $qv['pagename'] || !empty($qv['page_id']) ) {
    16311630            $this->is_page = true;
    16321631            $this->is_single = false;
Note: See TracChangeset for help on using the changeset viewer.