Fix include paths. props nadavvin fixes #12411

git-svn-id: http://svn.automattic.com/wordpress/trunk@13457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-02-27 16:15:46 +00:00
parent 1cade6654c
commit a8880e07ce

View File

@ -19,7 +19,7 @@ $step = isset( $_POST['step'] ) ? $_POST['step'] : 0;
switch ($step) { switch ($step) {
case 0: { case 0: {
include_once('admin-header.php'); include_once('../admin-header.php');
if ( !current_user_can('manage_links') ) if ( !current_user_can('manage_links') )
wp_die(__('Cheatin’ uh?')); wp_die(__('Cheatin’ uh?'));
@ -71,7 +71,7 @@ foreach ($categories as $category) {
case 1: { case 1: {
check_admin_referer('import-bookmarks'); check_admin_referer('import-bookmarks');
include_once('admin-header.php'); include_once('../admin-header.php');
if ( !current_user_can('manage_links') ) if ( !current_user_can('manage_links') )
wp_die(__('Cheatin’ uh?')); wp_die(__('Cheatin’ uh?'));
?> ?>
@ -108,7 +108,7 @@ foreach ($categories as $category) {
} }
/** Load OPML Parser */ /** Load OPML Parser */
include_once('link-parse-opml.php'); include_once('../link-parse-opml.php');
$link_count = count($names); $link_count = count($names);
for ( $i = 0; $i < $link_count; $i++ ) { for ( $i = 0; $i < $link_count; $i++ ) {