WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 22 months ago

#20781 closed defect (bug) (fixed)

duplicate column name check in class-wp-post-list-table.php

Reported by: wpmuguru Owned by: nacin
Milestone: 3.5 Priority: normal
Severity: minor Version: 3.3.2
Component: Administration Keywords: has-patch commit
Focuses: Cc:

Description

In the single row function, there is a duplicate column name check inside the 'date' case.

Attachments (2)

20781.diff (530 bytes) - added by wpmuguru 2 years ago.
20781.2.diff (1.1 KB) - added by SergeyBiryukov 2 years ago.

Download all attachments as: .zip

Change History (6)

wpmuguru2 years ago

SergeyBiryukov2 years ago

comment:1 scribu2 years ago

  • Keywords commit added
  • Severity changed from normal to minor

comment:2 SergeyBiryukov2 years ago

  • Milestone changed from Awaiting Review to Future Release

One more instance in class-wp-media-list-table.php (20781.2.diff).

Introduced in [6933] as a way to distinguish case 'date' from case 'modified'.

Missed in [9110], where case 'modified' was removed.

comment:3 SergeyBiryukov22 months ago

  • Milestone changed from Future Release to 3.5

comment:4 nacin22 months ago

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

In [21162]:

Remove dead conditionals from the media and post list tables. props wpmuguru, SergeyBiryukov. fixes #20781.

Note: See TracTickets for help on using tickets.