diff --git a/src/wp-admin/css/customize-nav-menus.css b/src/wp-admin/css/customize-nav-menus.css index 9c4fd1366e..5bb64f6920 100644 --- a/src/wp-admin/css/customize-nav-menus.css +++ b/src/wp-admin/css/customize-nav-menus.css @@ -358,19 +358,19 @@ line-height: 30px; } -#accordion-panel-menus .field-link-target, -#accordion-panel-menus .field-attr-title, -#accordion-panel-menus .field-css-classes, -#accordion-panel-menus .field-xfn, -#accordion-panel-menus .field-description { +#accordion-panel-nav_menus .field-link-target, +#accordion-panel-nav_menus .field-attr-title, +#accordion-panel-nav_menus .field-css-classes, +#accordion-panel-nav_menus .field-xfn, +#accordion-panel-nav_menus .field-description { display: none; } -#accordion-panel-menus.field-link-target-active .field-link-target, -#accordion-panel-menus.field-attr-title-active .field-attr-title, -#accordion-panel-menus.field-css-classes-active .field-css-classes, -#accordion-panel-menus.field-xfn-active .field-xfn, -#accordion-panel-menus.field-description-active .field-description { +#accordion-panel-nav_menus.field-link-target-active .field-link-target, +#accordion-panel-nav_menus.field-attr-title-active .field-attr-title, +#accordion-panel-nav_menus.field-css-classes-active .field-css-classes, +#accordion-panel-nav_menus.field-xfn-active .field-xfn, +#accordion-panel-nav_menus.field-description-active .field-description { display: block; } diff --git a/src/wp-admin/js/customize-nav-menus.js b/src/wp-admin/js/customize-nav-menus.js index 21f8fcd6b0..f26c34c9ae 100644 --- a/src/wp-admin/js/customize-nav-menus.js +++ b/src/wp-admin/js/customize-nav-menus.js @@ -2238,7 +2238,7 @@ * Extends wp.customize.panelConstructor with section constructor for menus. */ $.extend( api.panelConstructor, { - menus: api.Menus.MenusPanel + nav_menus: api.Menus.MenusPanel }); /**