"Mine" filter counter in editing screen includes auto-draft posts
|Reported by:||rovo89||Owned by:|
For users who are not allowed to edit others users' posts, a "Mine" filter is shown above the list of posts. The counter behind the filter increases every time I click "Add new" and switch back to "Edit". I found out that this is because of the auto-draft posts, which are not excluded from the counter.
The patch fixes this issue and also fixes the link, which currently (r13810) does not include the post type and thus switches to "Edit Posts", even for custom post types.