OPML import fixes

git-svn-id: https://develop.svn.wordpress.org/trunk@10175 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-12-10 18:43:43 +00:00
parent d12c9fa87e
commit b3e9085058
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -9,6 +9,8 @@
/** Load WordPress Bootstrap */
require_once('../wp-load.php');
global $opml, $map;
// columns we wish to find are: link_url, link_name, link_target, link_description
// we need to map XML attribute names to our columns
$opml_map = array('URL' => 'link_url',