WordPress.org

Make WordPress Core

Timestamp:
06/28/2016 09:26:48 PM (3 years ago)
Author:
jeremyfelt
Message:

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.

File:
1 added

Note: See TracChangeset for help on using the changeset viewer.