[wp-trac] Re: [WordPress Trac] #4320: Filter max file size in import uploader

WordPress Trac wp-trac at lists.automattic.com
Wed May 23 18:19:48 GMT 2007


#4320: Filter max file size in import uploader
----------------------------+-----------------------------------------------
 Reporter:  donncha         |        Owner:  rob1n 
     Type:  enhancement     |       Status:  closed
 Priority:  normal          |    Milestone:  2.3   
Component:  Administration  |      Version:        
 Severity:  normal          |   Resolution:  fixed 
 Keywords:                  |  
----------------------------+-----------------------------------------------
Comment (by markjaquith):

 Keep in mind that this only allows you to reduce the max_upload_size...
 not increase it beyond the limit specified in {{{php.ini}}}

 In order to support increasing, we'd have to:

 1. compare {{{ini_get()}}} to the new value, to see if the new value is
 bigger
 2. try to {{{ini_set()}}}
 3. use {{{ini_get()}}} to see if it worked
 4. use {{{ini_set()}}} when handling the upload

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4320#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list