[wp-trac] [WordPress Trac] #33218: Customizer: Does Not Read the Default wp_page_menu fallback_cb for wp_nav_menu

WordPress Trac noreply at wordpress.org
Tue Aug 4 21:43:45 UTC 2015


#33218: Customizer: Does Not Read the Default wp_page_menu fallback_cb for
wp_nav_menu
------------------------------+--------------------------
 Reporter:  davidakennedy     |       Owner:  westonruter
     Type:  defect (bug)      |      Status:  assigned
 Priority:  normal            |   Milestone:  4.3
Component:  Customize         |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+--------------------------
Changes (by westonruter):

 * keywords:  has-patch => has-patch commit


Comment:

 And the full refreshes are expected since the Customizer preview isn't
 able to wrap the `wp_nav_menu()` calls for fallback callbacks. In Twenty
 Fifteen it doesn't ''appear'' to work but this is only because the
 `wp_nav_menu()` calls are wrapped in `has_nav_menu()` checks, and so the
 fallbacks are never called anyway. So yeah, this looks good to remove.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33218#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list