Skip to content

Conversation

@costdev
Copy link
Member

@costdev costdev commented Jul 16, 2025

This PR replaces uses of strpos() with the corresponding str_*() function where applicable.

Polyfills for these functions were introduced in #163.

costdev added 3 commits July 16, 2025 19:43
Signed-off-by: costdev <[email protected]>
Signed-off-by: costdev <[email protected]>
Signed-off-by: costdev <[email protected]>
@costdev costdev requested a review from afragen July 16, 2025 19:18
@costdev
Copy link
Member Author

costdev commented Jul 16, 2025

PHPCS failures are related to inc/updater/namespace.php, which isn't touched by this PR.

@afragen afragen merged commit 6b5d9b7 into main Jul 17, 2025
45 of 46 checks passed
@afragen afragen deleted the replace_strpos_with_newer_str_functions branch July 17, 2025 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants