[wp-trac] [WordPress Trac] #50972: media_handle_sideload() does not allow $post_data to override the post_date that gets used by wp_upload_dir
WordPress Trac
noreply at wordpress.org
Thu Oct 29 14:37:32 UTC 2020
#50972: media_handle_sideload() does not allow $post_data to override the post_date
that gets used by wp_upload_dir
----------------------------------------+-----------------------------
Reporter: jamesgol | Owner: SergeyBiryukov
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 5.7
Component: Media | Version: trunk
Severity: minor | Resolution:
Keywords: has-patch needs-unit-tests | Focuses:
----------------------------------------+-----------------------------
Changes (by antpb):
* milestone: 5.6 => 5.7
Comment:
It was mentioned in the recent Media meeting that the sideloading
functions could benefit from a refactor to allow testing as it is
currently hard to test the same way that `media_sideload_image` was and
did not receive tests.
Being so late in beta cycle it's probably best to move this out of the 5.6
milestone. If anyone feels differently please feel free to move it back
in.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50972#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list