[wp-trac] [WordPress Trac] #13817: Reusing the Media Upload kit in a plugin

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 11 11:39:10 UTC 2010


#13817: Reusing the Media Upload kit in a plugin
-----------------------------+----------------------------------------------
 Reporter:  simonwheatley    |       Owner:                
     Type:  feature request  |      Status:  new           
 Priority:  normal           |   Milestone:  Future Release
Component:  Media            |     Version:  3.0           
 Severity:  normal           |    Keywords:  dev-feedback  
-----------------------------+----------------------------------------------

Comment(by simonwheatley):

 OK. Now I look at the diff I see three new filters, sorry for the
 confusion, the third being:

 '''get_media_item_args''' - This allows you to filter the arguments passed
 to ''get_media_item'', and I propose using this to set "send" to true so
 that the action button (named "Insert into Post" when uploading images for
 posts) is not supressed.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13817#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list