Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#15921 new enhancement

date column filter in media list table

Reported by: gonahkar Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 3.1
Component: Date/Time Keywords: needs-patch
Focuses: Cc:


please add a filter for date column in media list table, like posts list table.

in wp-admin\includes\class-wp-media-list-table.php @ line:288

<td <?php echo $attributes ?>><?php echo $h_time ?></td>


<td <?php echo $attributes ?>><?php echo apply_filters( 'media_date_column_time', $h_time); ?></td>

Attachments (1)

class-wp-media-list-table.php (13.4 KB) - added by gonahkar 3 years ago.
edited file

Download all attachments as: .zip

Change History (5)

gonahkar3 years ago

edited file

comment:1 dd323 years ago

What is an example of the purpose of this filter?

comment:2 gonahkar3 years ago

We use Iranian calendar in wordpress and need date filters.

Version 0, edited 3 years ago by gonahkar (next)

comment:3 dd323 years ago

  • Keywords 3.2-early added; media table removed
  • Milestone changed from Awaiting Review to Future Release

marking as a possibility for 3.2, We'd really have to review a lot of area's to make sure that the date can fit in all the possible spots, not just this particular spot.

comment:4 scribu3 years ago

  • Keywords needs-patch added; 3.2-early removed
Note: See TracTickets for help on using tickets.