Multisite: Do not prime site meta caches unless necessary.

Props spacedmonkey.
Fixes #46357. See #46167.


git-svn-id: https://develop.svn.wordpress.org/trunk@44926 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Felix Arntz
2019-03-18 15:55:25 +00:00
parent cab8d7df1a
commit 82be24c885
6 changed files with 40 additions and 32 deletions
+3 -2
View File
@@ -586,8 +586,9 @@ function get_oembed_response_data_for_url( $url, $args ) {
);
$qv = array(
'domain' => $url_parts['host'],
'path' => '/',
'domain' => $url_parts['host'],
'path' => '/',
'update_site_meta_cache' => false,
);
// In case of subdirectory configs, set the path.