diff --git a/wp-admin/import.php b/wp-admin/import.php index 0e1e325af..07616a82c 100644 --- a/wp-admin/import.php +++ b/wp-admin/import.php @@ -44,6 +44,7 @@ if ( ! empty( $_GET['invalid'] ) && !empty($popular_importers[$_GET['invalid']][ add_thickbox(); require_once ('admin-header.php'); $parent_file = 'tools.php'; +$href = is_multisite() ? network_admin_url( 'plugin-install.php' ) : admin_url( 'plugin-install.php' ); ?>
@@ -108,8 +109,8 @@ if (empty ($importers)) { } } if ( empty($action) ) - $action = '' . $data[0] . ''; } else { $action = "{$data[0]}"; @@ -130,7 +131,7 @@ if (empty ($importers)) { } if ( current_user_can('install_plugins') ) - echo '

' . sprintf( __('If the importer you need is not listed, search the plugins directory to see if an importer is available.'), esc_url(admin_url('plugin-install.php?tab=search&type=tag&s=importer')) ) . '

'; + echo '

' . sprintf( __('If the importer you need is not listed, search the plugins directory to see if an importer is available.'), esc_url( $href . '?tab=search&type=tag&s=importer' ) ) . '

'; ?>