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

WordPress Trac noreply at wordpress.org
Sun Dec 4 17:28:32 UTC 2016


#30854: `wp_insert_post` doesn't save revision for new published post
--------------------------+------------------------------
 Reporter:  JamesDiGioia  |       Owner:  adamsilverstein
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Revisions     |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------------------

Comment (by westonruter):

 In [changeset:"39477"]:
 {{{
 #!CommitTicketReference repository="" revision="39477"
 Customize: Ensure a `custom_css` post insertion gets an initial post
 revision.

 Props georgestephanis, westonruter.
 See #30854, #38672, #35395.
 Fixes #39032.
 }}}

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


More information about the wp-trac mailing list