[wp-trac] [WordPress Trac] #37922: WP_Site_Query does not have a $join query clause to compact
WordPress Trac
noreply at wordpress.org
Tue Sep 20 17:48:43 UTC 2016
#37922: WP_Site_Query does not have a $join query clause to compact
--------------------------------+-------------------------
Reporter: johnjamesjacoby | Owner: jeremyfelt
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.7
Component: Networks and Sites | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses: multisite
--------------------------------+-------------------------
Changes (by jeremyfelt):
* owner: => jeremyfelt
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"38631"]:
{{{
#!CommitTicketReference repository="" revision="38631"
Multisite: Provide `$join` as a possible SQL clause to the `sites_clauses`
filter.
Previously, `compact()` provided a non existent `$join` and could cause
confusion for anyone attempting to extend `WP_Site_Query` with their own
tables. This aligns with the current behavior in `WP_Network_Query`.
Props johnjamesjacoby.
Fixes #37922.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37922#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list