[wp-trac] [WordPress Trac] #37254: $this->request duplication in WP_Term_Query (was: $this->request duplication in WP_Tax_Query)
WordPress Trac
noreply at wordpress.org
Sat Jul 2 10:23:10 UTC 2016
#37254: $this->request duplication in WP_Term_Query
--------------------------+------------------------------
Reporter: birgire | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------------
Description changed by swissspidy:
Old description:
> This part of {{{WP_Tax_Query}}} looks like a duplication:
>
> {{{
> $this->request = $this->request = "{$this->sql_clauses['select']} ... etc
> }}}
>
> I guess this structure originates from the {{{WP_Query}}}:
>
> {{{
> $this->request = $old_request = "SELECT ... etc";
> }}}
New description:
This part of {{{WP_Term_Query}}} looks like a duplication:
{{{
$this->request = $this->request = "{$this->sql_clauses['select']} ... etc
}}}
I guess this structure originates from the {{{WP_Query}}}:
{{{
$this->request = $old_request = "SELECT ... etc";
}}}
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37254#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list