Ticket #32781: 32781.diff
File 32781.diff, 648 bytes (added by , 10 years ago) |
---|
-
wp-includes/nav-menu-template.php
308 308 * - Otherwise, bail. 309 309 */ 310 310 if ( ( !$menu || is_wp_error($menu) || ( isset($menu_items) && empty($menu_items) && !$args->theme_location ) ) 311 && $args->fallback_cb && is_callable( $args->fallback_cb ) )311 && isset( $args->fallback_cb ) && $args->fallback_cb && is_callable( $args->fallback_cb ) ) 312 312 return call_user_func( $args->fallback_cb, (array) $args ); 313 313 314 314 if ( ! $menu || is_wp_error( $menu ) )