wordpress-develop/tests
Tonya Mork 3cc8f1237a General: Introduce polyfill for str_contains() added in PHP 8.0.
PHP 8.0 introduced a new function: `str_contains()`. It performs a case-sensitive check indicating if given substring (needle) is contained in the string to search in (haystack).

This polyfill makes this function available for use in Core.

Ref:
* PHP RFC https://wiki.php.net/rfc/str_contains
* PHP manual https://www.php.net/manual/en/function.str-contains.php

Props ayeshrajans, costdev, desrosj, hellofromTonya, knutsp, pbearne.
Fixes #49652.

git-svn-id: https://develop.svn.wordpress.org/trunk@52039 602fd350-edb4-49c9-b593-d223f7449a82
2021-11-08 14:02:54 +00:00
..
e2e Build/Test Tools: Add end-to-end (e2e) tests for edit posts page. 2021-11-02 21:25:53 +00:00
gutenberg Block Editor: Update the Gutenberg branch used to launch Gutenberg e2e tests. 2021-06-01 09:21:36 +00:00
phpunit General: Introduce polyfill for str_contains() added in PHP 8.0. 2021-11-08 14:02:54 +00:00
qunit Media: Remove security messaging in media upload failures. 2021-11-07 23:28:48 +00:00
visual-regression Build/Test Tools: Introduce local visual regression testing. 2021-11-02 21:03:10 +00:00