[wp-trac] [WordPress Trac] #31555: 'Preview Changes' in CPT with non-standard Post Formats throws 404 error

WordPress Trac noreply at wordpress.org
Sat Mar 7 14:35:02 UTC 2015


#31555: 'Preview Changes' in CPT with non-standard Post Formats throws 404 error
--------------------------+-----------------------------
 Reporter:  Faisal79c2    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Post Formats  |    Version:  4.1.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I've tested a few custom post type plugins (having post formats support).

 ISSUE: While editing any CPT entry (having some post format assigned other
 than 'standard') if I want to view those changes and click on 'Preview
 Changes' button, it throws a 404 error.

 The URL which throws 404 error is something like this ...


 {{{
 http://www.example.com/cpt-name/post-
 name/?preview_id=559&preview_nonce=0a0feaeab7&post_format=gallery

 }}}

 Now, if I remove
 {{{
 post_format=gallery
 }}}
 parameter from this URL, it works just fine and displays the post.

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


More information about the wp-trac mailing list