[wp-trac] [WordPress Trac] #32756: Notice in `WP_Tax_Query::get_sql_for_clause()`
WordPress Trac
noreply at wordpress.org
Tue Jun 23 12:43:08 UTC 2015
#32756: Notice in `WP_Tax_Query::get_sql_for_clause()`
--------------------------+---------------------------
Reporter: dlh | Owner: boonebgorges
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.3
Component: Taxonomy | Version:
Severity: normal | Resolution: fixed
Keywords: | Focuses:
--------------------------+---------------------------
Changes (by boonebgorges):
* owner: => boonebgorges
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"32910"]:
{{{
#!CommitTicketReference repository="" revision="32910"
Fix PHP notice in `WP_Tax_Query::get_sql_for_clause()`.
Previously, the `$where` variable was not initialized, so that when an
invalid
'operator' was passed, PHP would complain that `$where` was undefined.
Props dlh.
Fixes #32756.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32756#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list