[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
Sat Sep 17 23:50:04 UTC 2016


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

Comment (by westonruter):

 In [attachment:38013.2.diff], switch to letting `static_front_page`
 section be contextual rather than the controls. This makes sense because
 if there aren't any pages then the “Static Front Page” section shouldn't
 be there. It also improves compatibility with when the `page_on_front` and
 `page_for_posts` controls get proper `active_callback`s themselves. See
 #29948.

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


More information about the wp-trac mailing list