Make WordPress Core


Ignore:
Timestamp:
10/05/2017 02:21:22 AM (8 years ago)
Author:
westonruter
Message:

Customize: Improve the menu creation flow.

Often, folks run into two issues when they create new menus: they click "Add a Menu" thinking it will add a new page to their menu, or they forget to assign their new menu to a location, and then wonder why it doesn't show up on their site.

This commit rearranges the order of items in the menu panel, and updates the flow for creating a menu by breaking it up into steps. Additionally, more help text has been added to guide people through the process of creating a menu.

Also adds default type lookups for Panel and Section instances. See #30741.

Props bpayton, obenland, westonruter, celloexpessions, afercia, melchoyce, zoonini, michelleweber.
Fixes #40104.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-manager.php

    r41750 r41768  
    316316        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-location-control.php' );
    317317        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-name-control.php' );
     318        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-locations-control.php' );
    318319        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-auto-add-control.php' );
    319         require_once( ABSPATH . WPINC . '/customize/class-wp-customize-new-menu-control.php' );
    320320
    321321        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menus-panel.php' );
     
    325325        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-sidebar-section.php' );
    326326        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-section.php' );
    327         require_once( ABSPATH . WPINC . '/customize/class-wp-customize-new-menu-section.php' );
    328327
    329328        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-custom-css-setting.php' );
Note: See TracChangeset for help on using the changeset viewer.