Make WordPress Core

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


Ignore:
Timestamp:
02/24/2023 12:34:40 AM (17 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51780, comment 24

    v1 v2  
    44Hmm, true, but that's the expected use?
    55
    6 In any case, why a function that works for all attachments should be extended in a way that doesn't work for all? Doesn't seem logical. Also, why is there `$unfiltered` param? What is the purpose for it? Isn't it a bad idea to prevent filters from running?
     6In any case, why a function that works for all attachments should be extended in a way that doesn't work for all?