[wp-trac] [WordPress Trac] #40196: Support querying sites by lang_id

WordPress Trac noreply at wordpress.org
Sat Mar 18 13:55:25 UTC 2017


#40196: Support querying sites by lang_id
--------------------------------+--------------------------------------
 Reporter:  ocean90             |      Owner:
     Type:  enhancement         |     Status:  new
 Priority:  normal              |  Milestone:  4.8
Component:  Networks and Sites  |    Version:
 Severity:  normal              |   Keywords:  has-patch has-unit-tests
  Focuses:  multisite           |
--------------------------------+--------------------------------------
 The `wp_blogs` table has a `lang_id` field and I don't see why we
 shouldn't support this field in `WP_Site_Query`.

 WordPress.org has a separate table to store all locales with its data. By
 using `WP_Site_Query` we would benefit of the built-in query cache.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40196>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list