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

git-svn-id: https://develop.svn.wordpress.org/trunk@2854 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2005-09-08 21:01:54 +00:00
parent f5346c75c9
commit 98c92034b1
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);