Changeset 15774 for trunk/wp-includes/nav-menu-template.php
- Timestamp:
- 10/11/2010 01:21:08 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/nav-menu-template.php
r15772 r15774 169 169 // If no menu was found or if the menu has no items and no location was requested, call the fallback_cb if it exists 170 170 if ( ( !$menu || is_wp_error($menu) || ( isset($menu_items) && empty($menu_items) && !$args->theme_location ) ) 171 && $args->fallback_cb && ( function_exists($args->fallback_cb) || is_callable( $args->fallback_cb )) )171 && $args->fallback_cb && is_callable( $args->fallback_cb ) ) 172 172 return call_user_func( $args->fallback_cb, (array) $args ); 173 173
Note: See TracChangeset
for help on using the changeset viewer.