Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#20781 closed defect (bug) (fixed)

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

Reported by: wpmuguru's profile wpmuguru Owned by: nacin's profile 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 13 years ago.
20781.2.diff (1.1 KB) - added by SergeyBiryukov 13 years ago.

Download all attachments as: .zip

Change History (6)

@wpmuguru
13 years ago

#1 @scribu
13 years ago

  • Keywords commit added
  • Severity changed from normal to minor

#2 @SergeyBiryukov
13 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.

#3 @SergeyBiryukov
13 years ago

  • Milestone changed from Future Release to 3.5

#4 @nacin
13 years 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.