Wordpress 3.1.3
[autoinstalls/wordpress.git] / wp-admin / press-this.php
index e2b3f334db36466d56fad5859ee4d3a16e4aa42a..1f7b418ee53cb17959d2ad85514306fa8cfd69d7 100644 (file)
@@ -225,7 +225,7 @@ if ( !empty($_REQUEST['ajax']) ) {
                                                $src = 'http://'.str_replace('//','/', $host['host'].'/'.$src);
                                        else
                                                $src = 'http://'.str_replace('//','/', $host['host'].'/'.dirname($host['path']).'/'.$src);
-                               $sources[] = esc_attr($src);
+                               $sources[] = esc_url($src);
                        }
                        return "'" . implode("','", $sources) . "'";
                }