[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 Mar 19 20:35:43 UTC 2018
#43579: Optional post_id param in media_sideload_image and media_handle_sideload
function
------------------------------+-----------------------------
Reporter: sebastian.pisula | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version:
Severity: normal | Keywords:
Focuses: |
------------------------------+-----------------------------
I think that post_id param in media_sideload_image and
media_handle_sideload function should be option optional.
media_sideload_image() call media_handle_sideload() with post_id and this
function get current time ` $time = current_time( 'mysql' );` if post
date not exists.
Sa this param can be optional.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43579>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list