[wp-trac] [WordPress Trac] #37916: Customize: ability to disable content creation in menus
WordPress Trac
noreply at wordpress.org
Fri Sep 30 05:31:20 UTC 2016
#37916: Customize: ability to disable content creation in menus
------------------------------+-----------------------------
Reporter: celloexpressions | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Customize | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
------------------------------+-----------------------------
Changes (by westonruter):
* keywords: needs-patch dev-feedback => needs-patch
* milestone: 4.7 => Future Release
Comment:
I don't think we currently *need* a way to turn off the ability to create
stubs for nav menu items. Since the `post_format` taxonomy is the only
known use case for needing to turn off stub creation, and since term stubs
aren't going to be part of 4.7 (per #37915) I think we can punt this to
Future Release.
And the ticket isn't about turning off stub creation _entirely_ but rather
turning off stub creation for specific object types. So in
[attachment:37916.2.diff] the `customize_create_nav_menu_content` filter
would need to be amended with additional context for the specific
`post_type` or `taxonomy`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37916#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list