Commit 6c22d69
committed
Code Modernization: Use
This aims to make the code more readable and consistent, as the function is already used extensively in core files.
WordPress core includes a polyfill for `str_starts_with()` on PHP < 8.0 as of WordPress 5.9.
Follow-up to [55703], [58313].
Props Soean, mukesh27.
Fixes #64773.
git-svn-id: https://develop.svn.wordpress.org/trunk@61781 602fd350-edb4-49c9-b593-d223f7449a82str_starts_with() in WP_Duotone class methods.1 parent b8855c4 commit 6c22d69
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1193 | 1193 | | |
1194 | 1194 | | |
1195 | 1195 | | |
1196 | | - | |
| 1196 | + | |
1197 | 1197 | | |
1198 | 1198 | | |
1199 | 1199 | | |
| |||
0 commit comments