Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #58206, comment 5


Ignore:
Timestamp:
04/27/2023 01:47:44 PM (21 months ago)
Author:
costdev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #58206, comment 5

    v1 v2  
    11+1 on these tickets @spacedmonkey!
    22
    3 Patchers: Be careful of loose checks like `if ( strpos() )` and `if ( ! strpos() )`. These should be evaluated for both `str_contains()` and `str_starts_with()` to maintain backward compatibility and prevent possible security regressions.
     3Patchers: Be careful of loose checks like `if ( strpos() )` and `if ( ! strpos() )`. These should be evaluated for both `str_contains()` and `str_starts_with()` (or `strpos() > 0`) to maintain backward compatibility and prevent possible security regressions.