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

WordPress Trac noreply at wordpress.org
Fri Jun 14 14:27:15 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 sineway):

 Looks like I found the reason.

 The filter for the initialization of the walker in step 1 had priority
 1000.
 I changed it to 1001 and now it works without redundant step 2.

 @westonruter @dlh
 Thanks for helping me to figure it out!

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


More information about the wp-trac mailing list