[wp-trac] [WordPress Trac] #9859: Page on front option disappears when no pages are available

WordPress Trac wp-trac at lists.automattic.com
Mon May 18 15:06:40 GMT 2009


#9859: Page on front option disappears when no pages are available
----------------------------+-----------------------------------------------
 Reporter:  markjaquith     |       Owner:                             
     Type:  defect (bug)    |      Status:  new                        
 Priority:  normal          |   Milestone:  2.9                        
Component:  Administration  |     Version:  2.8                        
 Severity:  normal          |    Keywords:  page_on_front show_on_front
----------------------------+-----------------------------------------------
 Edge case, but if you have WP set to display a page on the front page, and
 you delete that page, and it was the last page, WP will maintain the
 option, but prevent you from changing it.

 When deleting pages, we should check to see if the page was the
 page_on_front page, and if so, delete the page_on_front and show_on_front
 options.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9859>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list