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:
parent
16ebd0d26e
commit
e62bcd9fd4
|
@ -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