[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:31:21 UTC 2016


#37922: WP_Site_Query does not have a $join query clause to compact
--------------------------------+------------------------
 Reporter:  johnjamesjacoby     |       Owner:
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  4.7
Component:  Networks and Sites  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  has-patch commit    |     Focuses:  multisite
--------------------------------+------------------------

Comment (by jeremyfelt):

 I think we can follow what we're doing in `WP_Network_Query` and make
 `$join` available to the `sites_clauses` filter (where it could be used)
 but not yet add it to the `sql_clauses` property (where it wouldn't yet be
 used).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37922#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list