Changes between Version 1 and Version 2 of Ticket #23497, comment 136
- 03/28/13 21:17:47 (12 months ago)
v1 v2 4 4 Thinking that when a post was published from QuickPress or PressThis, there is no such revision either so some existing posts will not have them. These revisions were only created from the New Post screen and (as far as I remember) were discussed as not needed/bugs at some point. 5 5 6 Edit: confirmed, these revisions were created by the first autosave that we run manually when the user clicks from the post title to the editor. So posts created not from the New Post screen won't have them. 6 Edit: confirmed, these revisions . So posts created not from the New Post screen won't have them. 7 7 8 8 If we have to keep making these empty revisions, the return of `add_action( 'pre_post_update', 'wp_save_post_revision' )` in 23497.42.diff would need to make sure this runs only the very first time a past is saved. This also means we will have a minimum of 3 rows in the DB for each post, whether it's ever edited or not.