[wp-trac] [WordPress Trac] #22489: If no pages, except for the Sample page, exist, automatically creating a new page fails when enabling a static front page.

WordPress Trac noreply at wordpress.org
Sat Nov 17 12:48:08 UTC 2012


#22489: If no pages, except for the Sample page, exist, automatically creating a
new page fails when enabling a static front page.
-------------------------------------+--------------------------
 Reporter:  ldebrouwer               |       Type:  defect (bug)
   Status:  new                      |   Priority:  normal
Milestone:  Awaiting Review          |  Component:  General
  Version:  trunk                    |   Severity:  normal
 Keywords:  has-patch needs-testing  |
-------------------------------------+--------------------------
 If no pages, except for the Sample page, exist, automatically creating a
 new page fails when enabling a static front page. This is due to $_POST[
 'page_on_front' ] not existing and not having the value "new".

 How to reproduce:
 - Install a fresh checkout of trunk.
 - Go to Setting > Reading
 - Check "Show a page instead of your latest posts"
 - Hit "Save changes"

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


More information about the wp-trac mailing list