WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #47987, comment 24


Ignore:
Timestamp:
10/01/2019 06:43:32 PM (7 weeks ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #47987, comment 24

    v1 v2  
    3030Also, as the additional data was sent with the first request, there is no point in re-sending it, same as the actual file. The attachment post has been created by now and any additional data already added.
    3131
     32In practice no additional data should be sent together with the file that needs to be uploaded. It is a bad thing to "mix up" uploading and creating the attachment post (see above) and the user has not had a chance to enter any data anyway. So the only additional data present in upload requests would be automatically added and not user input.
     33
    3234Then step three will need another flag in the head. this time that would be a "cleanup" instead of "retry".
    3335