Use wp_remote_fopen to fetch remote OPML. Props Cypher, davidhouse. fixes #1491

git-svn-id: http://svn.automattic.com/wordpress/trunk@2854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-09-08 21:01:54 +00:00
parent 16ebd0d26e
commit e62bcd9fd4
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ switch ($step) {
}
if (isset($opml_url) && $opml_url != '') {
$opml = implode('', file($opml_url));
$opml = wp_remote_fopen($opml_url);
include_once('link-parse-opml.php');
$link_count = count($names);