Commit 8bed69c
committed
Code Modernization: Replace
This changeset replaces recently introduced `false !== strpos( ... )` and `false === strpos( ... )` with `str_contains()` in core files, making the code more readable and consistent, as well as better aligned with modern development practices.
Introduced in [60269] and [60939]. Fixed during WCEU2026 contribution day.
Follow-up to [52039], [55988], [56245], [60269] and [60939].
Props Soean, mukesh27.
Fixes #65408.
git-svn-id: https://develop.svn.wordpress.org/trunk@62461 602fd350-edb4-49c9-b593-d223f7449a82strpos() with str_contains().1 parent c1163e7 commit 8bed69c
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1799 | 1799 | | |
1800 | 1800 | | |
1801 | 1801 | | |
1802 | | - | |
1803 | | - | |
1804 | | - | |
| 1802 | + | |
| 1803 | + | |
| 1804 | + | |
1805 | 1805 | | |
1806 | 1806 | | |
1807 | 1807 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4579 | 4579 | | |
4580 | 4580 | | |
4581 | 4581 | | |
4582 | | - | |
| 4582 | + | |
4583 | 4583 | | |
4584 | 4584 | | |
4585 | 4585 | | |
| |||
0 commit comments