Opened 8 years ago
Closed 8 years ago
#40196 closed enhancement (fixed)
Support querying sites by lang_id
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.8 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Networks and Sites | Keywords: | has-patch has-unit-tests commit |
Focuses: | multisite | Cc: |
Description
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.
Attachments (2)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Thanks for the patch. Can't believe we miss this. The only thing I would change is that I would also add lang_idin and lang_idnot_in to bring it inline with other params