[wp-trac] [WordPress Trac] #34923: Allow users to more seamlessly create page-based nav menus during customization
WordPress Trac
noreply at wordpress.org
Tue Sep 20 00:46:56 UTC 2016
#34923: Allow users to more seamlessly create page-based nav menus during
customization
-------------------------------------+-------------------------------------
Reporter: westonruter | Owner: westonruter
Type: enhancement | Status: closed
Priority: high | Milestone: 4.7
Component: Customize | Version: 4.3
Severity: normal | Resolution: fixed
Keywords: has-patch ux-feedback | Focuses: ui, accessibility,
needs-testing has-screenshots | javascript
-------------------------------------+-------------------------------------
Comment (by westonruter):
In [changeset:"38624"]:
{{{
#!CommitTicketReference repository="" revision="38624"
Customize: Let `static_front_page` section be contextually active based on
whether there are any published pages.
If there are no pages when the customizer is opened, the
`static_front_page` section will be hidden. As soon as a page is created
in the customizer session, the `static_front_page` section will be
revealed. Previously the section would not be registered if there were no
pages. Page stubs created via nav menus will appear in the `dropdown-
pages` controls for `page_for_posts` and `page_on_front`, and such page
stubs will thus cause the `static_front_page` section to appear. Plugins
that facilitate page creation in the customizer by filtering `get_pages`
will also cause the section to appear.
See #34923.
Fixes #38013.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34923#comment:85>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list