diff --git a/wp-admin/import/dotclear.php b/wp-admin/import/dotclear.php index b94fa1d5a7..2caab8c397 100644 --- a/wp-admin/import/dotclear.php +++ b/wp-admin/import/dotclear.php @@ -142,7 +142,7 @@ class Dotclear_Import { echo '
'.__('Your Dotclear Configuration settings are as follows:').'
'; echo ''; } @@ -202,7 +202,7 @@ class Dotclear_Import { $dcdb = new wpdb(get_option('dcuser'), get_option('dcpass'), get_option('dcname'), get_option('dchost')); set_magic_quotes_runtime(0); $prefix = get_option('tpre'); - + return $dcdb->get_results('SELECT * FROM dc_link ORDER BY position', ARRAY_A); } diff --git a/wp-admin/import/textpattern.php b/wp-admin/import/textpattern.php index 48202a93b0..29010812de 100644 --- a/wp-admin/import/textpattern.php +++ b/wp-admin/import/textpattern.php @@ -56,11 +56,11 @@ class Textpattern_Import { echo ''.__('Your Textpattern Configuration settings are as follows:').'
'; echo ''; } - function get_txp_cats() + function get_txp_cats() { global $wpdb; // General Housekeeping