Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#12692 closed defect (bug) (fixed)

"Mine" filter counter in editing screen includes auto-draft posts

Reported by: rovo89's profile rovo89 Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: Administration Keywords: has-patch
Focuses: Cc:

Description

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.

Attachments (1)

12692.diff (1.6 KB) - added by rovo89 15 years ago.

Download all attachments as: .zip

Change History (3)

@rovo89
15 years ago

#1 @nacin
15 years ago

  • Milestone changed from Unassigned to 3.0

#2 @nacin
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [13957]) Fix "Mine" posts link on edit.php. Adds post_type to URL, and hides auto-drafts from count. props rovo89, fixes #12692.

Note: See TracTickets for help on using tickets.