Make WordPress Core


Ignore:
Timestamp:
07/13/2015 08:39:17 AM (10 years ago)
Author:
westonruter
Message:

Customizer: Disambiguate a menu's auto-add pages option from preceding menu location checkboxes.

Creates a separate nav_menu_auto_add control type following the pattern of the nav_menu_name control type.

Props valendesigns.
Fixes #32820.

File:
1 edited

Legend:

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

    r33167 r33189  
    406406        $this->manager->register_control_type( 'WP_Customize_Nav_Menu_Control' );
    407407        $this->manager->register_control_type( 'WP_Customize_Nav_Menu_Name_Control' );
     408        $this->manager->register_control_type( 'WP_Customize_Nav_Menu_Auto_Add_Control' );
    408409        $this->manager->register_control_type( 'WP_Customize_Nav_Menu_Item_Control' );
    409410
Note: See TracChangeset for help on using the changeset viewer.