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_filesize
directive 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.
- The topic ‘Horrible avatar max file size error message’ is closed to new replies.