[wp-trac] [WordPress Trac] #49280: Improve wording for error message on failed post-processing of uploads

WordPress Trac noreply at wordpress.org
Sat Jan 25 21:06:24 UTC 2020


#49280: Improve wording for error message on failed post-processing of uploads
-------------------------+---------------------
 Reporter:  eclev91      |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  5.4
Component:  Media        |     Version:  5.3
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+---------------------
Changes (by azaozz):

 * milestone:  Awaiting Review => 5.4


Comment:

 I also agree that the message can be better, but not sure exactly how to
 change it :)

 > Don't suggest resizing on a 500 error as opposed to a 504 timeout

 This is somewhat arbitrary. The server can be configured to send different
 5.x.x errors for different failures. Initially retrying of the post-
 processing happened only on HTTP 500 errors, but that had to be extended
 to all 5.x.x errors as different servers were configured to return
 different error codes. Unfortunately trying to "guess" the exact error by
 the error code doesn't seem possible.

 > Make clear this is a suggestion, not a definitive issue.

 Yeah, lets do this. Perhaps something like:

  Post-processing of the image failed. Uploading a smaller image may help.
 If this is a large image, please scale it down to 2500 pixels and try to
 upload it again.

 Or perhaps:

  Post-processing of the image failed, likely because the server is busy or
 does not have enough resources. Uploading a smaller image may help. If
 this is a large image, please scale it down to 2500 pixels and try to
 upload it again.

 More/better suggestions welcome.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49280#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list