Attempting to upload a too-large theme gives a confusing error message
|Reported by:||ariehkovler||Owned by:|
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.