Pages: ', 'after' => '
', 'next_or_number' => 'number')); ?>diff --git a/wp-admin/import/dotclear.php b/wp-admin/import/dotclear.php index ba988f6fa4..48db7218d6 100644 --- a/wp-admin/import/dotclear.php +++ b/wp-admin/import/dotclear.php @@ -408,7 +408,7 @@ class Dotclear_Import { $cats = array(); if($cat1 = get_catbynicename($post_cat_name)) { $cats[1] = $cat1; } - if(!empty($cats)) { wp_set_post_cats('', $ret_id, $cats); } + if(!empty($cats)) { wp_set_post_categories($ret_id, $cats); } } } // Store ID translation for later use diff --git a/wp-admin/import/textpattern.php b/wp-admin/import/textpattern.php index 6af31aae29..f9937ff6c9 100644 --- a/wp-admin/import/textpattern.php +++ b/wp-admin/import/textpattern.php @@ -338,7 +338,7 @@ class Textpattern_Import { if($cat1 = get_catbynicename($Category1)) { $cats[1] = $cat1; } if($cat2 = get_catbynicename($Category2)) { $cats[2] = $cat2; } - if(!empty($cats)) { wp_set_post_cats('', $ret_id, $cats); } + if(!empty($cats)) { wp_set_post_categories($ret_id, $cats); } } } // Store ID translation for later use diff --git a/wp-content/themes/default/attachment.php b/wp-content/themes/default/attachment.php index 0d606db623..7839b6ccca 100644 --- a/wp-content/themes/default/attachment.php +++ b/wp-content/themes/default/attachment.php @@ -17,7 +17,7 @@ Read the rest of this entry »
'); ?> - Pages: ', '', 'number'); ?> + 'Pages: ', 'after' => '
', 'next_or_number' => 'number')); ?>