WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#39710 new enhancement

Deprecate unused `WP_Media_List_Table::column_desc()`

Reported by: iandunn Owned by:
Milestone: Awaiting Review Priority: normal
Severity: trivial Version:
Component: Media Keywords:
Focuses: Cc:
PR Number:

Description

As far as I can tell, WP_Media_List_Table::column_desc() never gets called by anything in Core. It doesn't look like there's ever been a Description column in that table.

I think it was just accidentally added when the table was broken out into it's own file (list-table-media.php at the time) from default-list-tables.php in r15491. It might go back even further, but that's when I stopped digging :)

Attachments (1)

39710.diff (536 bytes) - added by iandunn 3 years ago.

Download all attachments as: .zip

Change History (2)

@iandunn
3 years ago

#1 @JeffMatson
3 years ago

  • Severity changed from normal to trivial

It looks like nothing uses it, but it might be used by anyone who might be extending the class. I don't see any harm in keeping it in there for those purposes, but otherwise, it could be removed.

Note: See TracTickets for help on using tickets.