You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a lint for strpos === 0 to use str_starts_with and the opposite. See hhttps://core.trac.wordpress.org/changeset/55703. str_starts_with is a php 8.0 function but a polyfill was added in core in WP 5.9. WordPress/wordpress-develop@1046682
Additional context (optional)
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem?
Describe the solution you'd like
Add a lint for
strpos === 0
to usestr_starts_with
and the opposite. See hhttps://core.trac.wordpress.org/changeset/55703.str_starts_with
is a php 8.0 function but a polyfill was added in core in WP 5.9. WordPress/wordpress-develop@1046682Additional context (optional)
The text was updated successfully, but these errors were encountered: