[wp-trac] [WordPress Trac] #23711: file include wrapper for media_sideload_image
WordPress Trac
noreply at wordpress.org
Fri Mar 8 15:07:25 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 markoheijnen):
Moving the functions to wp-includes shouldn't break things. People who are
now using it in the front end only would load unnecessary files.
You are right that the current way of doing is a hack. I rather would
duplicate the code because when you include wp-admin files in the front
end and it breaks then it is you to blame and not WordPress. See when
WP_Screen was introduced.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23711#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list