Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #51780, comment 26


Ignore:
Timestamp:
02/24/2023 09:03:41 PM (2 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51780, comment 26

    v1 v2  
    1010> fetch any file managed in the media library
    1111
    12 I think I understand where you're coming from but don't think it is a good idea to extend a function that has to perform one simple task for all files that have been uploaded by the users and make it work differently for different file types. In addition I don't think this is a good functionality to have in core anyway. It is not used anywhere in core, and there hasn't been a need for it for so many years.
     12I think I understand where you're coming from but don't think it is a good idea to extend a function that has to perform one simple task for all uploaded files, and make it work differently for different file types. In addition I don't think this is a good functionality to have in core anyway. It is not used anywhere in core, and there hasn't been a need for it for so many years.
    1313
    1414On top of that the ticket description mentions that an existing function can be used for this, but doesn't mention why the proposed functionality would be useful. My guess is it would be a very minor convenience for maybe a few plugins that may meed the path to an image sub-size. Not sure this is a good reason to add this to core.