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:
parent
f5346c75c9
commit
98c92034b1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user