[wp-trac] [WordPress Trac] #18191: New filter request - media_items

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 21 15:03:21 UTC 2011


#18191: New filter request - media_items
---------------------------+-----------------------------
 Reporter:  honza.skypala  |      Owner:
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Media          |    Version:  3.2.1
 Severity:  normal         |   Keywords:
---------------------------+-----------------------------
 Hi there,

 I humbly ask for new filter in WordPress, in file wp-
 admin/includes/media.php, function get_media_items(), aplied on output
 after the media files have been processed. Please see attached file (based
 on 3.2.1 version of the file) where I would like to have it.

 Purpose: I am developing a plug-in that would add mass-rename/update to
 the gallery items (e.g. I upload 50 pictures into gallery and want to set
 their label to the same value for all 50 of them, so I don't need to edit
 it 50 times, but do it just once). For this I want to add one more line to
 the list of media items where I put the code for this functionality. For
 this injection of my code I ask for the new filter.

 Thanks, Honza

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


More information about the wp-trac mailing list