[wp-trac] [WordPress Trac] #17023: add hook for media_upload_library_form()

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 2 17:19:35 UTC 2011


#17023: add hook for media_upload_library_form()
-------------------------+-----------------------------
 Reporter:  kevinB       |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Media        |    Version:
 Severity:  normal       |   Keywords:  has-patch
-------------------------+-----------------------------
 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'

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17023>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list