Changeset 25289 for trunk/src/wp-includes/nav-menu.php
- Timestamp:
- 09/06/2013 06:09:24 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/nav-menu.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/nav-menu.php
r25196 r25289 477 477 */ 478 478 function wp_get_nav_menu_items( $menu, $args = array() ) { 479 global $_wp_using_ext_object_cache;480 481 479 $menu = wp_get_nav_menu_object( $menu ); 482 480 … … 505 503 506 504 // Get all posts and terms at once to prime the caches 507 if ( empty( $fetched[$menu->term_id] ) || $_wp_using_ext_object_cache) {505 if ( empty( $fetched[$menu->term_id] ) || wp_using_ext_object_cache() ) { 508 506 $fetched[$menu->term_id] = true; 509 507 $posts = array();
Note: See TracChangeset
for help on using the changeset viewer.