mirror of
git://develop.git.wordpress.org/
synced 2025-01-18 05:18:42 +01:00
REST API: Re-introduce WP_Test_REST_Widgets_Controller
tests.
Returns the test suite with the addition of defining a URL in the RSS widget within `WP_Test_REST_Widgets_Controller::test_get_items()` to work around an infinite loop in `WP_Widget_RSS` on PHP 8 if the URL is unset or empty. Reverts [51020]. Props peterwilsoncc, TimothyBlynJacobs. See #41683. git-svn-id: https://develop.svn.wordpress.org/trunk@51029 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5538bd8b01
commit
41513c2d0f
1410
tests/phpunit/tests/rest-api/rest-widgets-controller.php
Normal file
1410
tests/phpunit/tests/rest-api/rest-widgets-controller.php
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user