Horrible avatar max file size error message
-
When a user tries to upload an avatar beyond the max file size, they get this error message:
`Upload Failed! Error was: The uploaded file exceeds the
upload_max_filesizedirective inphp.ini.`Ugh! No way. It’s coming from wp-admin/includes/file.php.
Can anyone suggest how I might best replace this message with something custom, useful and less hideous? Obviously I could just hack the file, but I’d rather use a non-destructive solution if poss.
You must be logged in to reply to this topic.