[wp-trac] [WordPress Trac] #10518: Make the post editing form file upload friendly

WordPress Trac wp-trac at lists.automattic.com
Sun Oct 4 00:20:16 UTC 2009


#10518: Make the post editing form file upload friendly
----------------------------+-----------------------------------------------
 Reporter:  mark-k          |        Type:  feature request
   Status:  new             |    Priority:  low            
Milestone:  Future Release  |   Component:  Media          
  Version:  2.8             |    Severity:  minor          
 Keywords:                  |  
----------------------------+-----------------------------------------------

Comment(by azaozz):

 It is very easy to change all forms to this at the moment too:
 {{{
 add_action('admin_print_footer_scripts', 'my_form_type', 20);
 function my_form_type(){ ?>
     jQuery('form').attr('enctype', 'multipart/form-data');
 <?php
 }
 }}}

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


More information about the wp-trac mailing list