Ticket #33218: 33218.patch
| File 33218.patch, 775 bytes (added by , 10 years ago) |
|---|
-
src/wp-includes/nav-menu-template.php
230 230 'echo' => true, 'fallback_cb' => 'wp_page_menu', 'before' => '', 'after' => '', 'link_before' => '', 'link_after' => '', 'items_wrap' => '<ul id="%1$s" class="%2$s">%3$s</ul>', 231 231 'depth' => 0, 'walker' => '', 'theme_location' => '' ); 232 232 233 // Prevent a fallback_cb in Customizer Preview to assist with has_nav_menu() and partial refresh.234 if ( is_customize_preview() ) {235 $defaults['fallback_cb'] = '';236 }237 238 233 $args = wp_parse_args( $args, $defaults ); 239 234 /** 240 235 * Filter the arguments used to display a navigation menu.