From 6e071efc203ddd1f05e45f575ce5abe7e2dc2790 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sat, 27 Feb 2010 16:15:46 +0000 Subject: [PATCH] Fix include paths. props nadavvin fixes #12411 git-svn-id: https://develop.svn.wordpress.org/trunk@13457 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/import/opml.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/import/opml.php b/wp-admin/import/opml.php index 9a92aa9413..d1340dd6e6 100644 --- a/wp-admin/import/opml.php +++ b/wp-admin/import/opml.php @@ -19,7 +19,7 @@ $step = isset( $_POST['step'] ) ? $_POST['step'] : 0; switch ($step) { case 0: { - include_once('admin-header.php'); + include_once('../admin-header.php'); if ( !current_user_can('manage_links') ) wp_die(__('Cheatin’ uh?')); @@ -71,7 +71,7 @@ foreach ($categories as $category) { case 1: { check_admin_referer('import-bookmarks'); - include_once('admin-header.php'); + include_once('../admin-header.php'); if ( !current_user_can('manage_links') ) wp_die(__('Cheatin’ uh?')); ?> @@ -108,7 +108,7 @@ foreach ($categories as $category) { } /** Load OPML Parser */ - include_once('link-parse-opml.php'); + include_once('../link-parse-opml.php'); $link_count = count($names); for ( $i = 0; $i < $link_count; $i++ ) {