`str_contains()` was introduced in PHP 8.0 to perform a case-sensitive check indicating if the string to search in (haystack) contains the given substring (needle). WordPress core includes a polyfill for `str_contains()` on PHP < 8.0 as of WordPress 5.9. Follow-up to [52039], [55988], [56245], [56838], [60900]. See #63168. Built from https://develop.svn.wordpress.org/trunk@60901 git-svn-id: http://core.svn.wordpress.org/trunk@60237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
24 KiB
24 KiB