mirror of
git://develop.git.wordpress.org/
synced 2025-02-12 02:44:22 +01:00
d277dd8ef1
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