Opened 15 months ago
Last modified 3 months ago
#59781 new enhancement
Add tests for wp_delete_file_from_directory
Reported by: | pbearne | Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | |
Component: | Filesystem API | Keywords: | has-patch has-unit-tests |
Focuses: | Cc: |
Description (last modified by )
While testing this I found you could pass stream URL to it but all failed without error apart from file:// so changed the code to return false for others
I am not sure why we allow Streamed to be used but that is what the code allowed :-)
Change History (3)
This ticket was mentioned in PR #5603 on WordPress/wordpress-develop by @pbearne.
15 months ago
#2
- Keywords has-patch has-unit-tests added
#3
@
3 months ago
- Component changed from Build/Test Tools to Filesystem API
- Milestone changed from Awaiting Review to Future Release
- Summary changed from test_wp_delete_file_from_directory to Add tests for wp_delete_file_from_directory
- Type changed from defect (bug) to enhancement
Since this is about adding tests and not a general build or test tooling change, I'm reassigning it to the relevant component.
Note: See
TracTickets for help on using
tickets.
… stream URL failing