Skip to content

Error finding Image when using switch_to_blog #1

BandonRandon opened this Issue Oct 15, 2012 · 0 comments

2 participants



I believe I may have found a bug in get_the_image. I have a multisite blog and on one custom template I'm using the switch_to_blog() function to get content from another site in the network. For whatever reason get_to_image is looking somewhere else for the image in this instant.

For example on the site with the post and original image it links to:

However within switch_to_blog it links to:

A few issues with this are 1) I'm using a custom wp-content folder ie "core" and second the logo in the folder isn't accessible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.