[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
Sat Aug 15 13:00:10 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.6
Component: Media | Version: trunk
Severity: minor | Resolution:
Keywords: has-patch | Focuses:
--------------------------+-----------------------------
Comment (by mukesh27):
Hi there!
{{{ isset( $post_data ) }}} value is always true when it was empty array
or non empty array.
Update the patch without checking it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50972#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list