Changes between Initial Version and Version 1 of Ticket #56963, comment 1
- Timestamp:
- 11/02/2022 05:39:16 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #56963, comment 1
initial v1 7 7 The way new posts are created is as follows: 8 8 1. User opens the New Post screen => WP creates a special post type (auto-draft) and inserts it in the DB. 9 2. User adds a title or starts to type in the new post => WP auto-saves the post and converts it to a standard draft (removes the auto-draft type). At this point the post in the DB can be seen by other users, they can "take over" and edit it, etc.9 2. User adds a title or starts to type in the new post => WP auto-saves the post and converts it to a standard draft (removes the auto-draft type). At this point the post can be seen by other users on the Posts screen, they can "take over" and edit it, etc. 10 10 11 11 Also posts with no title and no content are considered "invalid" or "user error". These happen sometimes when a user opens the New Post screen but then goes away or just quits the browser. Because of that opening several New Post screens in separate tabs by the same user (without entering anything in them) may reuse the same auto-draft (same post ID). Guessing that at the back-end that looks like the user reloading the same screen several times. 12 12 13 A better workflow would be if a draft is saved for each new post (by clicking the button) before another is started. Then WP will change the type of the first post to a standard draft. (Of course this only applies when the same user wants to create many new post very fast. Posts by different users can be made concurrently.)13 A better workflow would be if a draft is saved for each new post (by clicking the button) before another is started. Then WP will change the type of the first post to a standard draft. (Of course this only applies when the same user wants to create many new posts very fast. Posts by different users can be made concurrently.)