[wp-trac] [WordPress Trac] #47533: wp_nav_menu() walker parameter breaks selective refresh

WordPress Trac noreply at wordpress.org
Thu Jun 13 16:44:54 UTC 2019


#47533: wp_nav_menu() walker parameter breaks selective refresh
--------------------------+----------------------
 Reporter:  sineway       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Customize     |     Version:  4.5
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------

Comment (by westonruter):

 Why do you need to do  step 2? Calling `wp_nav_menu()` is what core does
 already: https://github.com/WordPress/wordpress-
 develop/blob/e153f957ade910a7017fa1911d7ddd2d2807cf31/src/wp-includes
 /class-wp-customize-nav-menus.php#L1495-L1517

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


More information about the wp-trac mailing list