[wp-trac] [WordPress Trac] #40601: wp_update_post then write_post causes odd revisions.

WordPress Trac noreply at wordpress.org
Fri Apr 28 23:30:15 UTC 2017


#40601: wp_update_post then write_post causes odd revisions.
-------------------------------+-----------------------------
 Reporter:  programmin         |      Owner:
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:  trunk
 Severity:  normal             |   Keywords:
  Focuses:                     |
-------------------------------+-----------------------------
 When you wp_update_post( $postarray ) a post, and write_post() a few lines
 later, it makes two revisions with the same post_name and guid. Weird.

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


More information about the wp-trac mailing list