[wp-trac] [WordPress Trac] #32820: Disambiguate "Automatically add new top-level pages to this menu." as being an option and not a menu location

WordPress Trac noreply at wordpress.org
Tue Jul 14 01:03:11 UTC 2015


#32820: Disambiguate "Automatically add new top-level pages to this menu." as being
an option and not a menu location
--------------------------+--------------------------
 Reporter:  pbearne       |       Owner:  westonruter
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.3
Component:  Customize     |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  javascript
--------------------------+--------------------------

Comment (by celloexpressions):

 @pbearne the point of making this a distinct control is that it offers
 more flexibility with manipulating the UI here via the Customizer API than
 you could get via traditional actions and filters. See
 `WP_Customize_Manager::add_control()`, `get_control()`, and
 `remove_control()` for ways to add additional controls here, modify the
 auto add control, or remove the auto add control.

 I think it's fine to say menu options by default, and plugins can
 remove/change that if they need to. A plugin that adds another basic
 checkbox control below the auto-add option would work perfectly with the
 current setup, though. I also think @nacin would probably prefer that we
 use `Menu locations` and `Menu options` for the capitalization, although
 I'd say it works either way as long as they're consistent.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32820#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list