Changes between Initial Version and Version 1 of Ticket #34359, comment 23
- Timestamp:
- 01/01/2016 01:00:08 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34359, comment 23
initial v1 1 1 In 34359.3.patch: 2 2 - Non-persistent cache like in 34359.2.patch. 3 - Cacher the data before the `upload_dir` filter and run the filter every time on the cached data. 3 - Cache the data before the `upload_dir` filter and run the filter every time on the cached data. 4 - Use separate static var for caching the tested paths. This means we will usually run `wp_mkdir_p()` only once per load. 4 5 - Introduce `wp_get_upload_dir()` for "light weight" use, when a file is not being uploaded. 5 6 - Add cache refresh option to `wp_upload_dir()` and use it in the tests.