[wp-trac] [WordPress Trac] #38025: Query networks with meta_query

WordPress Trac noreply at wordpress.org
Mon Sep 12 17:49:05 UTC 2016


#38025: Query networks with meta_query
-------------------------------------+------------------------------
 Reporter:  johnjamesjacoby          |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Networks and Sites       |     Version:  4.6
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch 2nd-opinion  |     Focuses:  multisite
-------------------------------------+------------------------------

Comment (by flixos90):

 Theoretically a definitive +1 for me, but we first need to decide how we
 are going to see network options in the future. There have been several
 discussions in Multisite weekly chat (latest discussion:
 https://wordpress.slack.com/archives/core-multisite/p1472575431000080), I
 hope we can come to a decision soon. At the moment for example, calling
 this parameter `meta_query` would be weird because this kind of data is
 commonly known as network ''options''.

 Btw the original patch for `WP_Network_Query` had this functionality, but
 it was stripped out for the above reasons. See
 https://core.trac.wordpress.org/ticket/32504#comment:22 (for the patch,
 see https://core.trac.wordpress.org/attachment/ticket/32504/32504.4.diff).

 Also in order for this idea to work properly, we would need to use the
 Meta API for network options (at least internally, see #37181) so that
 cache invalidation works.

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


More information about the wp-trac mailing list