Sergey Biryukov
163f5e566f
Media: Consistently call the wp_create_file_in_uploads
hook as a filter.
...
The filter was initially introduced for file replication purposes. Since the returned value is not always used directly, some instances were later converted to an action as part of removing unused variables, and the hook was documented as an action while still being called as a filter in other instances.
This commit aims to correct the discrepancy between the code and the documentation.
Follow-up to [4673], [4817], [4818], [6363], [6551], [13041], [25821], [33154], [33280].
Props Howdy_McGee, nicolefurlan, johnbillion, mhshujon, SergeyBiryukov.
Fixes #57775 .
Built from https://develop.svn.wordpress.org/trunk@56929
git-svn-id: http://core.svn.wordpress.org/trunk@56440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-13 12:20:20 +00:00
..
2023-09-25 17:06:34 +00:00
2023-07-11 05:03:23 +00:00
2023-10-12 12:47:21 +00:00
2023-05-03 10:03:21 +00:00
2023-06-22 14:36:26 +00:00
2022-08-29 12:46:10 +00:00
2022-08-29 12:46:10 +00:00
2023-09-17 15:23:22 +00:00
2023-07-09 19:52:24 +00:00
2023-10-13 12:20:20 +00:00
2023-10-13 12:20:20 +00:00
2023-06-14 06:34:27 +00:00
2019-11-01 14:57:02 +00:00
2022-03-22 16:25:03 +00:00
2023-06-22 14:36:26 +00:00
2021-09-09 13:59:56 +00:00
2023-09-09 09:28:26 +00:00
2023-05-19 13:27:20 +00:00
2023-06-14 06:34:27 +00:00
2023-06-14 06:34:27 +00:00
2023-09-09 09:28:26 +00:00
2023-06-14 06:34:27 +00:00
2023-06-14 06:34:27 +00:00
2023-09-09 09:28:26 +00:00
2023-08-24 09:01:16 +00:00
2023-09-08 09:32:23 +00:00
2023-09-14 12:46:20 +00:00
2023-06-22 14:36:26 +00:00
2023-05-08 22:37:24 +00:00
2023-09-09 09:28:26 +00:00
2023-10-12 12:38:21 +00:00
2023-09-12 15:23:18 +00:00
2023-09-02 18:36:24 +00:00
2023-10-11 07:05:25 +00:00
2023-05-03 21:30:19 +00:00
2023-05-03 21:30:19 +00:00
2023-05-03 21:30:19 +00:00
2023-06-29 17:05:30 +00:00
2023-08-14 09:59:20 +00:00
2023-06-14 12:57:20 +00:00
2023-09-22 19:58:16 +00:00
2020-11-14 16:54:08 +00:00
2023-10-12 12:38:21 +00:00
2023-09-22 19:58:16 +00:00
2023-09-22 19:58:16 +00:00
2023-09-22 19:58:16 +00:00
2023-09-22 19:58:16 +00:00
2023-09-17 15:23:22 +00:00
2023-10-11 04:33:32 +00:00
2022-10-04 03:47:15 +00:00
2023-09-22 19:58:16 +00:00
2022-03-10 19:22:01 +00:00
2023-09-08 09:32:23 +00:00
2023-09-17 15:23:22 +00:00
2023-09-22 19:58:16 +00:00
2023-06-22 14:57:24 +00:00
2023-09-26 00:27:12 +00:00
2023-09-22 19:08:19 +00:00
2023-04-23 04:02:18 +00:00
2023-09-22 19:58:16 +00:00
2023-06-14 06:34:27 +00:00
2023-05-08 22:37:24 +00:00
2023-06-22 14:36:26 +00:00
2019-10-08 17:19:04 +00:00
2023-09-10 07:33:22 +00:00
2023-09-22 19:58:16 +00:00
2022-07-20 22:15:10 +00:00
2022-09-19 23:24:11 +00:00
2023-06-22 14:36:26 +00:00
2023-10-12 12:38:21 +00:00
2023-08-25 03:37:12 +00:00
2021-12-07 12:20:02 +00:00
2023-06-19 18:27:27 +00:00
2023-10-11 07:05:25 +00:00
2023-09-21 18:04:16 +00:00
2023-09-29 12:21:24 +00:00
2022-07-29 09:22:10 +00:00
2022-10-04 03:47:15 +00:00
2023-09-09 09:28:26 +00:00
2023-09-09 09:28:26 +00:00
2023-09-29 17:13:24 +00:00
2023-09-21 18:24:15 +00:00
2022-09-20 02:51:09 +00:00
2022-09-20 02:51:09 +00:00
2023-09-17 15:23:22 +00:00
2023-09-17 15:23:22 +00:00
2023-09-17 15:23:22 +00:00
2023-09-21 01:27:26 +00:00
2023-07-09 20:07:22 +00:00
2023-09-14 01:13:20 +00:00
2023-09-14 01:13:20 +00:00
2023-10-08 20:10:25 +00:00
2023-06-22 14:36:26 +00:00
2023-09-08 10:03:21 +00:00
2023-09-22 00:04:41 +00:00
2021-05-09 20:27:02 +00:00
2023-03-10 07:04:20 +00:00
2023-09-17 15:23:22 +00:00
2023-09-08 10:03:21 +00:00
2023-10-03 15:18:19 +00:00
2022-11-29 15:51:14 +00:00
2023-10-10 15:07:24 +00:00
2023-09-17 15:23:22 +00:00
2023-09-22 19:08:19 +00:00
2023-10-12 12:41:18 +00:00
2023-09-09 09:28:26 +00:00