[wp-trac] [WordPress Trac] #6735: File upload limit - error message

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 15 14:52:05 GMT 2008


#6735: File upload limit - error message
---------------------------+------------------------------------------------
 Reporter:  simonwheatley  |       Owner:  anonymous              
     Type:  defect         |      Status:  new                    
 Priority:  normal         |   Milestone:  2.5.1                  
Component:  General        |     Version:  2.5                    
 Severity:  normal         |    Keywords:  has-patch needs-testing
---------------------------+------------------------------------------------
 To reproduce:

 1. In php.ini, set post_max_size to something very low (e.g. 1K)

 2. Restart Apache

 3. Create a new post, and upload a file of over 1Kb.

 4. The error message makes mention of upload_max_filesize, but not
 post_max_size.

 The attached patch amends the error message to mention both php.ini values
 (post_max_size & upload_max_filesize).

 There are implications for localisation with this patch, in that it
 changes a localised string.

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


More information about the wp-trac mailing list