[wp-trac] [WordPress Trac] #16379: Better UI for doing "Page on Front"

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 27 15:40:27 UTC 2012


#16379: Better UI for doing "Page on Front"
--------------------------------------------+------------------
 Reporter:  markjaquith                     |       Owner:
     Type:  task (blessed)                  |      Status:  new
 Priority:  normal                          |   Milestone:  3.5
Component:  Administration                  |     Version:  3.1
 Severity:  normal                          |  Resolution:
 Keywords:  3.5-early jane-likes has-patch  |
--------------------------------------------+------------------

Comment (by lessbloat):

 This is shaping up nicely.  Nice work SergeyBiryukov!  A couple things:

 - When you initially click "Show a page instead of your latest posts", the
 second option should be checked by default:
 http://cl.ly/image/2A1e38413O47
 - Immediately clicking "Show latest posts on a separate page" after "Show
 a page instead of your latest posts" without saving first results in a
 bunch of PHP errors: http://cl.ly/image/053G2h0E2W2L as $pag_for_posts
 isn't set.
 - _dropdown_pages() doesn't appear to do anything with the "selected"
 parameter.
 - In _dropdown_pages() the "selected" equals get_option( 'page_on_front'
 ).  Do we need to do some validation on this to make sure that the page
 that was previously set as get_option( 'page_on_front' ) still exists.
 - Last, we need to duplicate this functionality in the customizer's
 "Static Front Page" section.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16379#comment:42>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list