[wp-trac] [WordPress Trac] #30854: `wp_insert_post` doesn't save revision for new published post

WordPress Trac noreply at wordpress.org
Thu Feb 4 21:46:42 UTC 2021


#30854: `wp_insert_post` doesn't save revision for new published post
--------------------------------------+------------------------------
 Reporter:  JamesDiGioia              |       Owner:  adamsilverstein
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  5.7
Component:  Revisions                 |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------
Changes (by Mista-Flo):

 * keywords:  needs-patch => has-patch has-unit-tests


Comment:

 I have uploaded two patches.

 The first one is just a refresh of the last patch.
 The second one also remove the special workaround introduced in
 [changeset:"39477"]

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


More information about the wp-trac mailing list