[wp-trac] [WordPress Trac] #43579: Optional post_id param in media_sideload_image and media_handle_sideload function
WordPress Trac
noreply at wordpress.org
Mon Aug 19 11:10:52 UTC 2019
#43579: Optional post_id param in media_sideload_image and media_handle_sideload
function
-------------------------------------+-----------------------
Reporter: sebastian.pisula | Owner: antpb
Type: enhancement | Status: assigned
Priority: normal | Milestone: 5.3
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+-----------------------
Comment (by donmhico):
In my attached patch,
[https://core.trac.wordpress.org/attachment/ticket/43579/43579.3.diff
43579.3.diff], I made the default value `0` as per @SergeyBiryukov
recommendation. I also added `@since` docs.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43579#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list