Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #39011


Ignore:
Timestamp:
12/01/2016 07:45:28 PM (8 years ago)
Author:
georgestephanis
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #39011 – Description

    initial v1  
     1When you save a post, then update it, the initial version isn't saved.
     2
     3This is often not seen, because when calling `get_default_post_to_edit()` with true as the second parameter, an empty post is created in the db, and that not being seen after the fact is hardly missed.
     4
     5However, if `wp_insert_post()` is called directly, the initial content currently gets lost.
     6
    17Unit test attached.