Remove "security" verbiage from warning when filetype does not pass on upload. #36226
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Per https://core.trac.wordpress.org/ticket/53626 there is a change to upload failure strings that will need to be merged in on the Gutenberg side of things as well as the trac patch.
Copied from the original track ticket:
Currently when uploading a media item that is not supported, the default message claims that the reason it cannot upload is due to security reasons. This is not always true. We should expand on this to be either conditional to show security message on valid security risks, or just a general "this file type is not supported" message for all types uploaded. I lean more toward the general message.
How has this been tested?
This is a simple string change that has been landed on through discussion in component meetings and through the ticket: https://core.trac.wordpress.org/ticket/53626
Types of changes
String change to mime failure message to remove references to security issues.