diff --git a/wp-admin/press-this.php b/wp-admin/press-this.php index dcde0ffdc0..1df7c697f8 100644 --- a/wp-admin/press-this.php +++ b/wp-admin/press-this.php @@ -98,11 +98,11 @@ function get_images_from_uri($uri) { if ( empty($matches[1]) ) return ''; $sources = array(); - foreach ($matches[1] as $src) { if ( false !== strpos($src, '&') ) continue; - $src = 'http://'.str_replace('//','/', $host['host'].'/'.$host['path'].'/'.$src); + if ( !strstr( $src, 'http://' ) ) + $src = 'http://'.str_replace('//','/', $host['host'].'/'.$host['path'].'/'.$src); $sources[] = $src; } @@ -393,4 +393,4 @@ $url = clean_url($_GET['u']); - \ No newline at end of file +