[wp-trac] [WordPress Trac] #39665: Customize: nav menu fallbacks don't get edit shortcuts

WordPress Trac noreply at wordpress.org
Sun Mar 19 22:10:11 UTC 2017


#39665: Customize: nav menu fallbacks don't get edit shortcuts
------------------------------+--------------------
 Reporter:  celloexpressions  |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  4.7.4
Component:  Customize         |     Version:  4.7
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:
------------------------------+--------------------

Comment (by dlh):

 [attachment:39665.diff] is an approach that would apply to only
 `wp_page_menu()`: It applies the same filter to that function's markup as
 is applied to `wp_nav_menu()`.

 In my testing with the patch, the edit shortcut appears, and a partial
 refresh occurs when switching from no-menu to actual-menu, but a full
 refresh occurs when the opposite happens.

 The patch illustrates the idea, but it isn't ready for primetime.
 @celloexpressions, if you think this is a direction worth pursuing, I can
 try to flesh it out.

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


More information about the wp-trac mailing list