diff -r be944660c56a -r 3d72ae0968f4 wp/wp-includes/class-wp-network.php --- a/wp/wp-includes/class-wp-network.php Wed Sep 21 18:19:35 2022 +0200 +++ b/wp/wp-includes/class-wp-network.php Tue Sep 27 16:37:53 2022 +0200 @@ -353,17 +353,13 @@ */ $using_paths = true; if ( wp_using_ext_object_cache() ) { - $using_paths = wp_cache_get( 'networks_have_paths', 'site-options' ); - if ( false === $using_paths ) { - $using_paths = get_networks( - array( - 'number' => 1, - 'count' => true, - 'path__not_in' => '/', - ) - ); - wp_cache_add( 'networks_have_paths', $using_paths, 'site-options' ); - } + $using_paths = get_networks( + array( + 'number' => 1, + 'count' => true, + 'path__not_in' => '/', + ) + ); } $paths = array();