Sergey Biryukov
05a019f95e
Tests: Move the test for wp_save_image_file() with a GD resource to a more appropriate place.
...
When passed a GD resource as `$image`, `wp_save_image_file()` should throw a deprecated argument notice:
{{{
Function wp_save_image_file was called with an argument that is deprecated since version 3.5.0!
$image needs to be a WP_Image_Editor object.
}}}
The test verifies that the notice is thrown as expected.
Includes:
* Removing the `Tests_Functions_Deprecated` class. It appears to be initially intended for testing deprecated functions or arguments, but this was later superseded by the `@expectedDeprecated` annotation.
* Removing a redundant test for `wp_save_image_file()` **not** throwing a deprecation notice when passed a `WP_Image_Editor` instance. This is already covered by `test_wp_save_image_file()`, which would fail if there is an unexpected deprecation notice.
Follow-up to [1061/tests], [25408], [25409], [53529].
See #56793 .
Built from https://develop.svn.wordpress.org/trunk@55066
git-svn-id: http://core.svn.wordpress.org/trunk@54599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-01-14 02:08:13 +00:00
..
2022-11-11 12:46:55 +00:00
2022-11-24 22:52:11 +00:00
2022-11-11 16:34:12 +00:00
2022-11-11 12:46:55 +00:00
2022-11-24 14:18:15 +00:00
2022-10-04 02:08:11 +00:00
2023-01-11 14:07:11 +00:00
2022-12-08 19:31:17 +00:00
2022-12-06 12:19:15 +00:00
2022-12-12 20:21:12 +00:00
2022-12-19 15:12:11 +00:00
2022-12-30 02:38:17 +00:00
2022-12-16 10:43:16 +00:00
2022-09-26 14:00:10 +00:00
2022-10-11 15:00:12 +00:00
2022-11-26 21:01:17 +00:00
2022-09-26 22:43:10 +00:00
2022-11-29 15:51:14 +00:00
2022-09-20 16:26:10 +00:00
2022-11-09 09:51:14 +00:00
2022-09-20 16:29:12 +00:00
2022-12-15 22:55:16 +00:00
2022-11-11 16:26:12 +00:00
2022-10-16 15:46:15 +00:00
2022-10-10 18:22:11 +00:00
2022-10-10 18:22:11 +00:00
2022-11-10 03:01:14 +00:00
2022-11-29 15:51:14 +00:00
2022-11-29 15:51:14 +00:00
2022-11-07 13:35:12 +00:00
2022-11-09 09:19:14 +00:00
2022-12-15 21:32:17 +00:00
2022-09-15 12:32:08 +00:00
2022-11-29 15:51:14 +00:00
2022-09-12 15:47:14 +00:00
2022-09-12 15:47:14 +00:00
2022-09-12 15:47:14 +00:00
2022-09-12 15:47:14 +00:00
2022-09-20 15:43:29 +00:00
2022-09-12 15:47:14 +00:00
2022-11-16 16:36:14 +00:00
2022-09-12 15:47:14 +00:00
2022-10-11 18:46:13 +00:00
2022-09-12 15:47:14 +00:00
2022-09-12 15:47:14 +00:00
2022-11-29 21:00:14 +00:00
2022-11-23 21:30:13 +00:00
2022-09-12 15:47:14 +00:00
2022-09-12 15:47:14 +00:00
2022-09-12 15:47:14 +00:00
2022-12-05 21:31:11 +00:00
2022-09-12 15:47:14 +00:00
2022-09-12 15:47:14 +00:00
2022-09-12 15:47:14 +00:00
2022-09-12 15:47:14 +00:00
2022-09-12 15:47:14 +00:00
2022-11-08 13:29:16 +00:00
2022-11-25 15:12:16 +00:00
2022-11-25 15:12:16 +00:00
2022-11-29 15:51:14 +00:00
2022-09-26 22:43:10 +00:00
2022-09-12 15:47:14 +00:00
2022-09-12 15:47:14 +00:00
2022-09-12 15:47:14 +00:00
2022-09-12 15:47:14 +00:00
2022-09-12 15:47:14 +00:00
2022-09-12 15:47:14 +00:00
2022-09-12 15:47:14 +00:00
2022-09-12 15:47:14 +00:00
2022-09-12 15:47:14 +00:00
2022-10-21 21:12:14 +00:00
2022-12-15 21:32:17 +00:00
2022-12-15 21:32:17 +00:00
2022-09-12 15:47:14 +00:00
2023-01-13 14:22:12 +00:00
2023-01-13 14:22:12 +00:00
2022-09-19 22:53:10 +00:00
2022-09-19 22:53:10 +00:00
2022-10-07 19:17:12 +00:00
2022-11-17 18:15:19 +00:00
2022-12-20 15:12:11 +00:00
2023-01-10 14:00:36 +00:00
2022-09-12 15:47:14 +00:00
2022-09-12 15:47:14 +00:00
2022-09-12 15:47:14 +00:00
2022-10-18 18:16:16 +00:00
2022-09-20 14:26:10 +00:00
2022-09-26 22:10:16 +00:00
2022-11-13 13:51:20 +00:00
2022-11-29 15:51:14 +00:00
2022-09-12 15:47:14 +00:00
2022-09-26 22:10:16 +00:00
2022-09-12 15:47:14 +00:00
2023-01-06 10:35:15 +00:00
2022-10-04 03:59:13 +00:00
2022-12-17 15:31:17 +00:00
2022-09-12 15:47:14 +00:00
2022-09-12 15:47:14 +00:00
2022-09-12 15:47:14 +00:00
2022-10-04 23:01:13 +00:00
2022-09-12 15:47:14 +00:00
2022-10-24 14:56:16 +00:00
2022-09-28 22:19:10 +00:00
2022-09-12 15:47:14 +00:00
2022-09-12 15:47:14 +00:00
2022-09-12 15:47:14 +00:00
2022-10-18 18:16:16 +00:00
2022-09-12 15:47:14 +00:00
2022-09-28 14:59:10 +00:00
2022-11-23 21:30:13 +00:00
2022-11-26 09:39:13 +00:00
2022-11-23 21:30:13 +00:00
2022-09-12 15:47:14 +00:00
2022-09-12 15:47:14 +00:00
2022-11-29 15:51:14 +00:00
2022-12-20 15:12:11 +00:00
2022-10-11 15:00:12 +00:00
2022-11-11 17:51:12 +00:00
2022-09-12 15:47:14 +00:00
2022-12-20 13:57:15 +00:00
2022-09-20 01:36:09 +00:00
2022-11-08 17:31:13 +00:00
2022-09-12 15:47:14 +00:00
2022-11-29 15:51:14 +00:00
2022-09-12 15:47:14 +00:00
2022-09-12 15:47:14 +00:00
2022-09-12 15:47:14 +00:00
2022-11-26 09:39:13 +00:00
2022-10-18 16:11:16 +00:00
2022-12-08 17:28:15 +00:00
2022-09-20 14:17:12 +00:00
2022-09-20 14:17:12 +00:00
2022-09-20 14:17:12 +00:00
2022-12-12 11:51:11 +00:00
2022-11-29 15:51:14 +00:00
2022-11-17 18:15:19 +00:00
2023-01-09 00:42:15 +00:00
2022-09-20 01:36:09 +00:00
2022-12-16 02:40:15 +00:00
2022-12-15 21:32:17 +00:00
2022-11-26 21:01:17 +00:00
2023-01-11 13:59:13 +00:00
2023-01-11 23:20:12 +00:00
2022-12-04 12:46:16 +00:00
2022-12-04 12:48:11 +00:00
2023-01-11 13:59:13 +00:00
2022-10-27 15:41:12 +00:00
2022-12-15 21:32:17 +00:00
2023-01-11 15:23:13 +00:00
2022-12-06 13:03:18 +00:00
2022-12-06 21:18:15 +00:00
2022-12-06 21:33:17 +00:00
2022-10-17 11:26:11 +00:00
2022-11-11 01:01:12 +00:00
2022-10-13 17:24:15 +00:00
2022-12-06 22:16:13 +00:00
2022-09-20 02:51:09 +00:00
2022-12-09 11:54:13 +00:00
2022-12-09 11:54:13 +00:00
2022-11-29 15:51:14 +00:00
2022-10-18 18:16:16 +00:00
2022-12-07 21:19:19 +00:00
2023-01-12 23:24:12 +00:00
2022-12-14 22:54:14 +00:00
2023-01-05 15:27:16 +00:00
2023-01-12 13:14:15 +00:00
2022-12-12 11:17:17 +00:00
2022-12-30 02:38:17 +00:00
2022-12-13 12:26:15 +00:00
2022-12-15 21:32:17 +00:00
2022-11-24 14:18:15 +00:00
2022-12-15 11:03:11 +00:00
2022-12-22 03:25:30 +00:00
2022-09-26 22:43:10 +00:00
2022-09-14 12:48:16 +00:00
2022-12-27 12:23:15 +00:00
2022-12-22 11:08:19 +00:00
2022-09-21 11:43:13 +00:00
2022-11-11 16:26:12 +00:00
2022-09-14 18:44:09 +00:00
2022-12-23 11:38:15 +00:00
2022-11-29 15:51:14 +00:00
2022-12-24 14:33:14 +00:00
2023-01-14 02:08:13 +00:00
2022-10-17 12:41:11 +00:00