[wp-trac] [WordPress Trac] #13575: wp_max_upload_size() is not taking memory limit into account

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 8 13:51:19 UTC 2011


#13575: wp_max_upload_size() is not taking memory limit into account
--------------------------+-----------------------------
 Reporter:  hakre         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  General       |     Version:  3.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------------

Comment (by hakre):

 Replying to [comment:4 dd32]:

 I [http://core.trac.wordpress.org/attachment/ticket/13575/13575.php added
 a demo script] which outputs the following (Fedora 13):

 {{{
 initial value: "128M"
 new value: "42M"
 old value: "128M"
 current value: "42M"
 original value: "128M"
 }}}

 So the original value should be taken into account as that's the one that
 comes into play at times of the upload procedure.

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


More information about the wp-trac mailing list