[wp-trac] [WordPress Trac] #23711: file include wrapper for media_sideload_image

WordPress Trac noreply at wordpress.org
Sat Mar 9 15:45:57 UTC 2013


#23711: file include wrapper for media_sideload_image
------------------------------------------------+--------------------------
 Reporter:  norcross                            |       Owner:
     Type:  enhancement                         |      Status:  new
 Priority:  normal                              |   Milestone:  Awaiting
Component:  Media                               |  Review
 Severity:  normal                              |     Version:  3.5
 Keywords:  has-patch dev-feedback 2nd-opinion  |  Resolution:
------------------------------------------------+--------------------------

Comment (by nacin):

 If you want to use an admin function on the frontend, the only proper way
 to do that is to include wp-admin/includes/admin.php. Otherwise you risk
 breakage from wp-admin movement, and I'm not responsible for that.

 I think this is a function worthy of wp-includes. But, as it stands now,
 it is an unwieldy function. I'd like to introduce something a little
 better if we're going to shift it. There is a ticket from alexkingorg
 regarding this function.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23711#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list