[wp-trac] [WordPress Trac] #32385: Adding Post Formats Support to Pages breaks the Preview Changes functionality

WordPress Trac noreply at wordpress.org
Thu May 14 09:51:15 UTC 2015


#32385: Adding Post Formats Support to Pages breaks the Preview Changes
functionality
--------------------------+-----------------------------
 Reporter:  bduclos       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Post Formats  |    Version:  4.2.2
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 When I add Post Formats Support to pages using the code:
 {{{
 add_post_type_support( 'page', 'post-formats' );
 }}}

 clicking on the Preview Changes button while editing a page leads to "Page
 not Found".

 The url generated looks like

 {{{
 http://domain.com/?page_id=457&preview_id=457&preview_nonce=9f71d1c7df&post_format=standard
 }}}


 If I remove the "&post_format=standard" at the end of the url it works.

 (Tested with Twenty Fifteen, no plugins activated)

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


More information about the wp-trac mailing list