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

WordPress Trac noreply at wordpress.org
Sat Aug 20 15:53:06 UTC 2016


#37749: wp_update_post doesn't create revisions
--------------------------+-----------------------------
 Reporter:  levymetal     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.6
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 wp_update_post() used within a theme doesn't create revisions.
 wp_insert_post() creates revisions as expected. Tested on a fresh 4.6
 install with no plugins.

 I'll have a look into the source when I get a chance to try and figure it
 out.

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


More information about the wp-trac mailing list