[wp-trac] [WordPress Trac] #26287: Bug when removing a location when still attached to a menu

WordPress Trac noreply at wordpress.org
Tue Dec 3 01:26:45 UTC 2013


#26287: Bug when removing a location when still attached to a menu
-------------------------------------+------------------------------
 Reporter:  nielsvanrenselaar        |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Menus                    |     Version:  3.7.1
 Severity:  minor                    |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------------------
Changes (by nofearinc):

 * keywords:   => has-patch needs-testing


Comment:

 IMO this is not likely to happen way too often, but it's still possible
 (for example, menus being updated after a theme update). Since the menu
 locations are fetched as `get_theme_mod( 'nav_menu_locations' )` the
 simple checks in the patch should not cause significant performance
 drawbacks.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26287#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list