WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#11180 closed defect (bug) (fixed)

Edit Pages shows status filters with no pages

Reported by: batmoo Owned by:
Milestone: 2.9 Priority: normal
Severity: normal Version: 2.9
Component: General Keywords: has-patch tested
Focuses: Cc:

Description

The post status filter links on the Edit Pages screen are displaying statuses with 0 pages. These filter links should not be visible to users.

Running 2.9-beta-1.

Screenshot attached.

Attachments (3)

Picture 3.png (16.8 KB) - added by batmoo 5 years ago.
Scheduled, Pending Review, and Private should not be visible their page counts are 0.
11180.diff (455 bytes) - added by batmoo 5 years ago.
11180.2.diff (482 bytes) - added by scribu 5 years ago.
diff relative to wp dir

Download all attachments as: .zip

Change History (6)

@batmoo5 years ago

Scheduled, Pending Review, and Private should not be visible their page counts are 0.

@batmoo5 years ago

comment:1 @batmoo5 years ago

  • Keywords has-patch added; pages removed

Patch attached.

@scribu5 years ago

diff relative to wp dir

comment:2 @scribu5 years ago

  • Keywords tested added
  • Milestone changed from Unassigned to 2.9

Confirmed behaviour & patch working.

comment:3 @ryan5 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.