[wp-trac] [WordPress Trac] #41144: Previewing static front page drops custom page template

WordPress Trac noreply at wordpress.org
Fri Jun 23 20:53:31 UTC 2017


#41144: Previewing static front page drops custom page template
--------------------------+-----------------------------
 Reporter:  JBChristy     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  4.8
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 We have a static front page, and that page uses a custom page template.
 When we're editing the page that is the static front page, and we click
 the '''Preview Changes''' button, the custom page template disappears, and
 the front page's page template is reset to '''Default Template'''. This
 completely screws up the rendering of our homepage.

 For some reason, this change is immediately stored to the database. So the
 instant we preview the front page, visitors to our site start seeing a
 malformed homepage.

 * Previewing the homepage should not change it's page template.
 * Previewing any page should not change the page in the database.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41144>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list