Make WordPress Core

Opened 14 years ago

Closed 11 years ago

Last modified 11 years ago

#17023 closed enhancement (wontfix)

add hook for media_upload_library_form()

Reported by: kevinb's profile kevinB Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Media Keywords: has-patch
Focuses: Cc:

Description

The "Media Library" tab of the Upload Media dialog includes a date filtering dropdown. The query which populates it returns only month/year combinations in which attachments were uploaded. However, that query is not filterable.

Plugins which filter backend access to attachments via standard WP_Query hooks need a way to make the month/year dropdown match those filtered results.

The corresponding patch adds query filter 'media_upload_year_month_query'

Attachments (1)

media-upload-month-year_filter_3.2.patch (692 bytes) - added by kevinB 14 years ago.
query filter for month/year query in media_upload_library_form()

Download all attachments as: .zip

Change History (4)

@kevinB
14 years ago

query filter for month/year query in media_upload_library_form()

#1 @scribu
14 years ago

Related: #17022

#2 @songsthatsaved
11 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

This applies to the old media experience. Closing.

#3 @ocean90
11 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.