[wp-trac] [WordPress Trac] #19115: Attempting to upload a too-large theme gives a confusing error message
WordPress Trac
wp-trac at lists.automattic.com
Wed Nov 2 14:24:33 UTC 2011
#19115: Attempting to upload a too-large theme gives a confusing error message
--------------------------+-----------------------------
Reporter: ariehkovler | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 3.2.1
Severity: minor | Keywords: needs-patch
--------------------------+-----------------------------
When uploading a theme through the theme uploader, if the theme is larger
than the PHP file/memory limit, the Admin panel gives the message below
(or some variant):
{{{
The uploaded file could not be moved to /public_html/wp-
content/uploads/2011/11
}}}
Users will assume that this is a permissions problem, trying to CHMOD
folders to fix it unsuccesfully, weakening security, when it is actually a
file-size problem.
The correct error message should be:
{{{
"This file is too big. The maximum upload size for your server is xM."
}}}
I have been able to replicate.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19115>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list