[wp-trac] [WordPress Trac] #37749: wp_update_post doesn't create revisions

WordPress Trac noreply at wordpress.org
Sat Aug 20 16:16:09 UTC 2016


#37749: wp_update_post doesn't create revisions
--------------------------+------------------------------
 Reporter:  levymetal     |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  4.6
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by levymetal):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Ok, this is extremely strange. I've been struggling with this issue for
 the past two days, literally replicated it before posting the ticket, and
 now wp_update_post() is working as expected.

 The only thing that happened is that I called wp_insert_post() to see if
 that made revisions. It did. After I reverted to wp_update_post(), it
 started creating revisions too.

 On one of my other environments, wp_update_post() is still not creating
 revisions.

 Marking as invalid. If I can find the issue I'll reopen.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37749#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list