[wp-trac] [WordPress Trac] #23686: wp_handle_(upload|sideload) have a lot of copy-pasted code from each other

WordPress Trac noreply at wordpress.org
Thu Jul 17 18:57:28 UTC 2014


#23686: wp_handle_(upload|sideload) have a lot of copy-pasted code from each other
------------------------------+-----------------------------
 Reporter:  nbachiyski        |       Owner:  wonderboymusic
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  4.0
Component:  Upload            |     Version:  3.6
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"29209"]:
 {{{
 #!CommitTicketReference repository="" revision="29209"
 Merge `wp_handle_upload()` and `wp_handle_sideload()` by making them each
 wrap a new function: `_wp_handle_upload()`.

 Props DrewAPicture for docs.
 Fixes #23686.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/23686#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list