mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user