[wp-trac] [WordPress Trac] #38013: Static Front Page section/controls should be contextual and allow assignment to page stubs

WordPress Trac noreply at wordpress.org
Tue Sep 20 00:46:57 UTC 2016


#38013: Static Front Page section/controls should be contextual and allow
assignment to page stubs
------------------------------+--------------------------
 Reporter:  westonruter       |       Owner:  westonruter
     Type:  feature request   |      Status:  closed
 Priority:  normal            |   Milestone:  4.7
Component:  Customize         |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+--------------------------
Changes (by westonruter):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 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/38013#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list