Changes between Initial Version and Version 1 of Ticket #16215, comment 91
- Timestamp:
- 04/08/2013 12:10:40 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16215, comment 91
initial v1 1 1 > ...first call to wp_insert_post() inserts the first revision. But, this should not happen on auto-drafts. 2 2 3 `wp_save_post_revision()` short-circuits on `'auto-draft' == $post->post_status`, so that's working properly. Wondering if we should remove and re-add the action in get_default_post_to_edit() anyway.3 `wp_save_post_revision()` bails on `'auto-draft' == $post->post_status`, so that's working properly. Wondering if we should remove and re-add the action in get_default_post_to_edit() anyway.