Andrew Ozz
47172a2c65
Filesystem API: Add directory support to WP_Filesystem_Direct::move()
.
...
Introduces:
- New function: `wp_opcache_invalidate_directory()`, to recursively call `wp_opcache_invalidate()` after overwriting .php files.
- New function: `move_dir()`, similar to `copy_dir()` that uses `WP_Filesystem::move()` followed by `wp_opcache_invalidate_directory()`, and has a fallback to `copy_dir()`.
Props: costdev, afragen, peterwilsoncc, sergeybiryukov, ironprogrammer, flixos90, bronsonquick, mukesh27, azaozz.
Fixes #57375 .
Built from https://develop.svn.wordpress.org/trunk@55204
git-svn-id: http://core.svn.wordpress.org/trunk@54737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-02-03 01:50:16 +00:00
..
2022-09-11 20:46:10 +00:00
2022-11-10 19:40:11 +00:00
2023-01-21 15:58:10 +00:00
2022-11-29 15:51:14 +00:00
2021-09-09 13:48:56 +00:00
2022-08-29 12:46:10 +00:00
2022-08-29 12:46:10 +00:00
2021-09-09 13:59:56 +00:00
2022-04-11 11:50:01 +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
2019-11-01 14:57:02 +00:00
2022-03-22 16:25:03 +00:00
2022-03-26 15:28:08 +00:00
2021-09-09 13:59:56 +00:00
2022-11-29 15:51:14 +00:00
2021-08-29 01:33:58 +00:00
2022-05-20 17:38:14 +00:00
2020-11-09 10:53:10 +00:00
2022-05-20 17:38:14 +00:00
2022-05-20 17:38:14 +00:00
2020-11-09 10:53:10 +00:00
2022-05-20 17:38:14 +00:00
2021-09-09 13:03:55 +00:00
2021-09-09 12:39:59 +00:00
2023-01-24 21:32:14 +00:00
2022-08-29 12:46:10 +00:00
2022-10-04 03:47:15 +00:00
2022-11-29 15:51:14 +00:00
2022-10-04 03:47:15 +00:00
2022-09-27 18:57:13 +00:00
2022-12-09 12:25:14 +00:00
2022-09-12 15:47:14 +00:00
2023-02-03 01:50:16 +00:00
2022-11-11 15:55:13 +00:00
2022-11-11 15:55:13 +00:00
2022-08-09 11:33:10 +00:00
2022-09-12 15:47:14 +00:00
2022-09-12 15:47:14 +00:00
2022-10-04 03:47:15 +00:00
2020-11-14 16:54:08 +00:00
2022-10-04 03:47:15 +00:00
2023-02-02 22:48:16 +00:00
2022-10-04 03:47:15 +00:00
2022-10-04 03:47:15 +00:00
2022-10-04 03:47:15 +00:00
2022-10-04 03:47:15 +00:00
2022-11-29 23:46:11 +00:00
2022-10-04 03:47:15 +00:00
2022-10-04 03:47:15 +00:00
2022-03-10 19:22:01 +00:00
2020-10-20 21:20:07 +00:00
2022-09-12 15:47:14 +00:00
2022-09-19 21:08:10 +00:00
2022-10-22 07:05:16 +00:00
2022-11-29 15:51:14 +00:00
2022-12-09 11:54:13 +00:00
2022-09-12 15:47:14 +00:00
2022-10-04 03:47:15 +00:00
2022-10-04 03:47:15 +00:00
2022-10-04 03:47:15 +00:00
2022-09-12 15:47:14 +00:00
2019-10-08 17:19:04 +00:00
2023-01-12 00:19:12 +00:00
2022-10-04 03:47:15 +00:00
2022-07-20 22:15:10 +00:00
2022-09-19 23:24:11 +00:00
2021-10-19 23:09:00 +00:00
2022-11-01 11:05:16 +00:00
2022-12-09 11:54:13 +00:00
2021-12-07 12:20:02 +00:00
2022-12-09 11:54:13 +00:00
2023-02-03 01:50:16 +00:00
2023-02-01 20:31:14 +00:00
2022-09-19 22:53:10 +00:00
2022-07-29 09:22:10 +00:00
2022-10-04 03:47:15 +00:00
2023-02-02 02:16:12 +00:00
2022-04-17 14:44:07 +00:00
2023-01-22 11:11:12 +00:00
2023-01-30 10:27:16 +00:00
2022-09-20 02:51:09 +00:00
2022-09-20 02:51:09 +00:00
2022-11-13 23:19:12 +00:00
2022-11-29 15:51:14 +00:00
2022-07-21 09:04:14 +00:00
2022-11-26 09:12:17 +00:00
2021-11-30 17:18:01 +00:00
2023-02-02 21:50:16 +00:00
2022-08-11 13:55:08 +00:00
2023-01-20 21:43:11 +00:00
2023-01-30 10:27:16 +00:00
2022-12-06 13:42:13 +00:00
2022-11-29 15:51:14 +00:00
2021-05-09 20:27:02 +00:00
2023-02-02 13:59:18 +00:00
2022-12-13 16:39:11 +00:00
2022-08-05 06:00:09 +00:00
2023-02-02 09:14:17 +00:00
2022-11-29 15:51:14 +00:00
2022-12-15 21:32:17 +00:00
2022-11-29 15:51:14 +00:00
2022-11-29 15:51:14 +00:00
2023-01-19 14:13:13 +00:00
2021-12-13 10:21:07 +00:00