[wp-hackers] media_sideload_image() motel -- scripts check in, they don't check out?

Dion Hulse (dd32) wordpress at dd32.id.au
Fri Mar 18 00:53:45 UTC 2011


FYI, That exact code being run on the front end works for me.

On 18 March 2011 11:43, George Stephanis <george at stephanis.info> wrote:

> For some reason, it seems that calling media_sideload_image() is killing my
> script dead.
>
> No warnings or errors, even with wp_debug set to true, and error_reporting
> =
> E_ALL | E_STRICT
>
> Even after including wp-admin/includes/file.php and
> wp-admin/includes/media.php -- any ideas?
>
> Code pasted here ~~ http://pastie.org/1684679
>
> Thanks!
> -George
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list