Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #51340, comment 10


Ignore:
Timestamp:
03/26/2023 09:57:15 PM (6 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51340, comment 10

    v2 v3  
    1414>   - The `::chmod()` method in the filesystem abstraction classes could check this value, and return `true` immediately.
    1515
    16 Yea, thinking a "short-circuit" filter is probably the best option.
     16Yea, thinking a "short-circuit" filter is probably the best option. It offers more flexibility and a bit more functionality. For example `chmod()` calls from different places/functions can be handled differently.
    1717
    1818>   - A quick search shows there are ~12 instances of `chmod()` outside of the `::chmod()` methods in Core.