You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// @todo Delete postmeta when nav menu is removed?
43
+
// @todo Delete postmeta (or clear _dirty flag) when nav menu is removed?
44
+
45
+
// @todo The hasSaved property is needed because of a core bug where expanded set but instead a class is being toggled directly: https://github.com/xwp/wordpress-develop/blob/a803a33c04dfd083b5b012ba1e8c79752209ac3c/src/wp-admin/js/customize-nav-menus.js#L2909
46
+
api.bind('saved',function(){
47
+
component.hasSaved=true;
48
+
});
43
49
44
50
// Export the component to be available at wp.customize.Menus.ItemCustomFields.
0 commit comments