[wp-trac] [WordPress Trac] #61297: Font Directory uploads ignore `subdir` property.
WordPress Trac
noreply at wordpress.org
Thu Jun 20 16:20:25 UTC 2024
#61297: Font Directory uploads ignore `subdir` property.
-------------------------------------------------+-------------------------
Reporter: peterwilsoncc | Owner:
| hellofromTonya
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 6.5.5
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests dev- | Focuses:
feedback has-testing-info |
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):
* keywords: has-patch has-unit-tests dev-feedback => has-patch has-unit-
tests dev-feedback has-testing-info
Comment:
== Test Report
Patch tested:[58353]
=== Steps to Reproduce or Test
1. Add mini-plugin to mu-plugins
2. Upload/install a font from Google
3. Wait 30 seconds or so (for a tick of the clock in the plugin above to
change the directory)
4. Delete the font from the font-library 🐞
=== Expected Results
When testing a patch to validate it works as expected:
- ✅ The font file should be deleted / removed from the file system.
When reproducing a bug:
- ❌ The font file remains on the filesystem.
=== Environment
* OS: macOS
* Web server: nginx
* PHP: 8.3
* WordPress: 6.5.4 and 6.6 Beta 3
* Plugins: none
* Theme: TT4 default
==== Actual Results
On 6.5.4:
Yes, I can reproduce the bug
- ❌ The font file was not deleted from the filesystem.
When testing the bugfix patch:
- ✅ The font file was deleted from the filesystem, while the subdirectory
was not.
Also tested 6.6 Beta 3 which includes the [58353]:
- ✅ The font file was deleted from the filesystem, while the subdirectory
was not.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61297#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list