[wp-trac] [WordPress Trac] #41977: media_handle_upload() un required second parameter

WordPress Trac noreply at wordpress.org
Fri Jan 27 01:16:58 UTC 2023


#41977: media_handle_upload() un required second parameter
-------------------------+-----------------------
 Reporter:  Tkama        |       Owner:  antpb
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  6.2
Component:  Media        |     Version:  2.5
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+-----------------------
Changes (by costdev):

 * Attachment "41977.diff" added.

 Make the `$post_id` parameter optional. Default 0.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/41977>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list