Sergey Biryukov
aadc1d70f2
Tests: Revert [48973].
...
These tests ensure that a `_doing_it_wrong()` notice is thrown when `wpdb::prepare()` is called incorrectly, but also that the function will still handle the provided input as correctly as possible.
Disabling these tests on PHP 8 hides a problem, i.e. the function will no longer throw a notice and handle things correctly, it will now cause a white screen of death due to a fatal error.
That is a backward compatibility break, and `wpdb::prepare()` should be updated instead to maintain the original behaviour on PHP 8.
Props jrf, ayeshrajans.
See #50913 , #50639 .
git-svn-id: https://develop.svn.wordpress.org/trunk@48979 602fd350-edb4-49c9-b593-d223f7449a82
2020-09-16 01:33:42 +00:00
..
2020-09-02 00:35:36 +00:00
2020-09-05 00:31:03 +00:00
2020-09-04 07:01:00 +00:00
2020-09-02 00:35:36 +00:00
2020-09-04 07:01:00 +00:00
2020-09-04 07:01:00 +00:00
2020-09-02 00:35:36 +00:00
2019-10-06 15:04:18 +00:00
2020-09-04 07:36:33 +00:00
2020-09-04 07:01:00 +00:00
2020-09-07 03:12:17 +00:00
2020-09-02 00:35:36 +00:00
2020-09-04 07:01:00 +00:00
2020-09-04 07:01:00 +00:00
2020-09-02 00:35:36 +00:00
2020-01-29 00:43:23 +00:00
2020-09-02 00:35:36 +00:00
2020-09-02 00:35:36 +00:00
2020-09-07 03:12:17 +00:00
2020-09-04 07:01:00 +00:00
2020-09-04 07:36:33 +00:00
2020-09-04 07:01:00 +00:00
2020-09-02 00:35:36 +00:00
2020-09-02 00:35:36 +00:00
2020-09-02 00:35:36 +00:00
2020-09-04 07:01:00 +00:00
2020-09-04 07:01:00 +00:00
2020-09-02 00:35:36 +00:00
2016-07-08 14:36:37 +00:00
2018-08-17 01:50:26 +00:00
2020-09-04 07:01:00 +00:00
2020-09-04 07:01:00 +00:00
2020-09-07 03:12:17 +00:00
2020-09-04 07:01:00 +00:00
2020-09-02 00:35:36 +00:00
2020-09-02 00:35:36 +00:00
2020-09-04 07:01:00 +00:00
2020-08-23 17:23:52 +00:00
2020-09-04 07:01:00 +00:00
2020-09-07 03:12:17 +00:00
2020-09-04 07:01:00 +00:00
2020-09-04 07:01:00 +00:00
2019-01-14 04:54:01 +00:00
2020-09-04 07:01:00 +00:00
2020-09-04 07:01:00 +00:00
2020-08-23 17:23:52 +00:00
2020-09-05 16:47:50 +00:00
2020-09-04 07:01:00 +00:00
2020-09-04 07:01:00 +00:00
2020-09-02 00:35:36 +00:00
2020-09-02 00:35:36 +00:00
2020-09-02 00:35:36 +00:00
2020-09-02 00:35:36 +00:00
2020-09-02 00:35:36 +00:00
2020-09-06 04:23:46 +00:00
2020-09-02 00:35:36 +00:00
2020-09-02 00:35:36 +00:00
2020-09-02 00:35:36 +00:00
2020-09-02 00:35:36 +00:00
2020-09-02 00:35:36 +00:00
2020-09-02 00:35:36 +00:00
2020-09-16 01:33:42 +00:00
2020-09-02 00:35:36 +00:00
2020-09-02 00:35:36 +00:00
2020-09-02 00:35:36 +00:00
2020-09-02 00:35:36 +00:00
2020-09-02 00:35:36 +00:00
2020-09-02 00:35:36 +00:00
2020-09-04 07:01:00 +00:00
2020-09-02 00:35:36 +00:00
2020-09-02 00:35:36 +00:00
2020-09-02 00:35:36 +00:00
2020-09-07 03:12:17 +00:00
2020-09-07 04:11:54 +00:00
2020-09-02 00:35:36 +00:00
2020-06-09 19:45:27 +00:00
2020-09-07 03:12:17 +00:00
2020-09-04 07:01:00 +00:00
2020-09-02 00:35:36 +00:00
2020-09-02 00:35:36 +00:00
2020-09-02 00:35:36 +00:00
2020-02-06 06:31:22 +00:00
2020-09-04 07:01:00 +00:00
2020-09-02 00:35:36 +00:00
2020-09-02 00:35:36 +00:00
2020-09-04 07:01:00 +00:00
2020-09-02 00:35:36 +00:00
2020-09-02 00:35:36 +00:00
2020-09-04 07:01:00 +00:00
2020-09-02 00:35:36 +00:00
2020-09-04 07:01:00 +00:00
2019-07-08 00:55:20 +00:00