[wp-trac] [WordPress Trac] #39103: Customize: menus aren't deleted

WordPress Trac noreply at wordpress.org
Mon Dec 12 01:56:56 UTC 2016

#39103: Customize: menus aren't deleted
 Reporter:  celloexpressions              |       Owner:  westonruter
     Type:  defect (bug)                  |      Status:  closed
 Priority:  normal                        |   Milestone:  4.7.1
Component:  Customize                     |     Version:  4.7
 Severity:  normal                        |  Resolution:  fixed
 Keywords:  has-patch commit fixed-major  |     Focuses:
Changes (by dd32):

 * status:  reopened => closed
 * resolution:   => fixed


 In [changeset:"39570"]:
 #!CommitTicketReference repository="" revision="39570"
 Customize: Fix inability to delete nav menus by preventing `preview`
 filters from being added during `customize_save` admin ajax request.

 Also prevent setting `nav_menu_locations[...]` values to `NaN` which gets
 sent as `null`.

 Props westonruter.
 See #30937, [38810].
 Merges [39558] to the 4.7 branch.
 Fixes #39103.

Ticket URL: <https://core.trac.wordpress.org/ticket/39103#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list