Skip to content

Commit d277dd8

Browse files
committed
Multisite: Introduce WP_Network_Query.
Provides a consistent way to query `$wpdb->site` for `WP_Network` objects based on domain, path, network ID, and (main) site ID. Introduces and uses update_network_cache() and _prime_network_caches() to maintain a cached list of WP_Network objects for use in multiple queries. Props flixos90. See #32504. git-svn-id: https://develop.svn.wordpress.org/trunk@37894 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 7de7b36 commit d277dd8

4 files changed

Lines changed: 991 additions & 0 deletions

File tree

0 commit comments

Comments
 (0)