Request for extension match when user replacing media. I’ve had users accidentally replace a PDF with a DOC, for example. This results in the expected result of the file not being viewable/readable. If they simply grab the wrong file, we’ll that’s their fault, sure, but in this case, it’s possible to have two files in two formats, PDF and DOC, stored on one’s hard drive.
Users with Author or Contributor role, who are not authors of the media file, still see the “Replace Media” link on the Media Library page. Users still try to go through the process of replacing media, but upon selecting the “Upload” button receive the message, “You are not allowed to edit this item” (as would be expected, but expectation is these users shouldn’t see the “Repace Media” link for these files.).