WordPress.org

Make WordPress Core

Changeset 38020


Ignore:
Timestamp:
07/09/2016 11:48:13 AM (4 years ago)
Author:
ocean90
Message:

Taxonomy: Remove an unnecessary double assignment in WP_Term_Query::get_terms().

Props birgire.
Fixes #37254.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-term-query.php

    r37860 r38020  
    622622        $this->sql_clauses['limits']  = $limits;
    623623
    624         $this->request = $this->request = "{$this->sql_clauses['select']} {$this->sql_clauses['from']} {$where} {$this->sql_clauses['orderby']} {$this->sql_clauses['limits']}";
     624        $this->request = "{$this->sql_clauses['select']} {$this->sql_clauses['from']} {$where} {$this->sql_clauses['orderby']} {$this->sql_clauses['limits']}";
    625625
    626626        // $args can be anything. Only use the args defined in defaults to compute the key.
Note: See TracChangeset for help on using the changeset viewer.