[wp-trac] [WordPress Trac] #46554: Uploaded images goes to wrong folder/date structure
WordPress Trac
noreply at wordpress.org
Wed May 24 15:59:50 UTC 2023
#46554: Uploaded images goes to wrong folder/date structure
-------------------------------------+-----------------------
Reporter: kartiks16 | Owner: antpb
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.3
Component: Media | Version: 5.1
Severity: normal | Resolution:
Keywords: 2nd-opinion needs-patch | Focuses:
-------------------------------------+-----------------------
Changes (by antpb):
* owner: (none) => antpb
* status: new => assigned
Comment:
Talking with @joedolson in the recent Media meeting he mentioned that we
could add a filter to $time in `_wp_handle_upload` and pass the `$post`
object as an argument. That should allow the previous behavior to be
achieved.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46554#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list