WordPress.org

Make WordPress Core

Ticket #8650: 8650.001.diff

File 8650.001.diff, 507 bytes (added by AaronCampbell, 9 years ago)

Adds 'query_vars' filter

  • trunk/wp-includes/query.php

     
    15671567                // Shorthand.
    15681568                $q = &$this->query_vars;
    15691569
    1570                 $q = $this->fill_query_vars($q);
     1570                $q = apply_filters('query_vars', $this->fill_query_vars($q));
    15711571
    15721572                // First let's clear some variables
    15731573                $distinct = '';
     
    26812681        return true;
    26822682}
    26832683
    2684 ?>
    2685  No newline at end of file
     2684?>