Changeset 53083 for trunk/src/wp-includes/class-wp-network.php
- Timestamp:
- 04/06/2022 04:33:50 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-network.php
r49927 r53083 354 354 $using_paths = true; 355 355 if ( wp_using_ext_object_cache() ) { 356 $using_paths = wp_cache_get( 'networks_have_paths', 'site-options' ); 357 if ( false === $using_paths ) { 358 $using_paths = get_networks( 359 array( 360 'number' => 1, 361 'count' => true, 362 'path__not_in' => '/', 363 ) 364 ); 365 wp_cache_add( 'networks_have_paths', $using_paths, 'site-options' ); 366 } 356 $using_paths = get_networks( 357 array( 358 'number' => 1, 359 'count' => true, 360 'path__not_in' => '/', 361 ) 362 ); 367 363 } 368 364
Note: See TracChangeset
for help on using the changeset viewer.