Make WordPress Core

Ticket #39354: 39354.patch

File 39354.patch, 487 bytes (added by jfarthing84, 9 years ago)
  • src/wp-includes/class-wp-term-query.php

     
    305305                global $wpdb;
    306306
    307307                $this->parse_query( $this->query_vars );
    308                 $args = $this->query_vars;
     308                $args = &$this->query_vars;
    309309
    310310                // Set up meta_query so it's available to 'pre_get_terms'.
    311311                $this->meta_query = new WP_Meta_Query();