Skip to:
Content
Pages
Categories
Search
Top
Bottom

Horrible avatar max file size error message

  • @aljuk

    Member

    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 in php.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.
Skip to toolbar