[wp-trac] [WordPress Trac] #58206: Replace usage of strpos with str_contains
WordPress Trac
noreply at wordpress.org
Fri Jun 23 12:18:16 UTC 2023
#58206: Replace usage of strpos with str_contains
-------------------------------------+-------------------------------------
Reporter: spacedmonkey | Owner: SergeyBiryukov
Type: enhancement | Status: reopened
Priority: normal | Milestone: 6.3
Component: General | Version:
Severity: normal | Resolution:
Keywords: good-first-bug has- | Focuses: performance, coding-
patch 2nd-opinion commit | standards
-------------------------------------+-------------------------------------
Comment (by SergeyBiryukov):
Replying to [comment:33 dd32]:
> Similar to [55157], [55990] (#58220) + [55988] have again introduced an
external dependencies to `wpdb` of `compat.php` or PHP8.
Thanks! Reverted the changes to `wpdb` for now, though including
`compat.php` might be preferable in the long run.
Will look into the issues with `script-loader.php` and `install.php` in a
few hours.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58206#comment:35>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list