Put the sorting on hold, and add empty contructor.

git-svn-id: http://svn.automattic.com/wordpress/trunk@5210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rob1n 2007-04-07 19:04:57 +00:00
parent 1948792ee1
commit 6f3c55b1de
2 changed files with 6 additions and 2 deletions

View File

@ -1870,7 +1870,7 @@ function register_importer( $id, $name, $description, $callback ) {
function get_importers() {
global $wp_importers;
usort($wp_importers, create_function('$a, $b', 'return strcmp($a[0], $b[0]);'));
// usort($wp_importers, create_function('$a, $b', 'return strcmp($a[0], $b[0]);'));
return $wp_importers;
}

View File

@ -143,9 +143,13 @@ class WP_Categories_to_Tags {
$this->footer();
}
function WP_Categories_to_Tags() {
// Do nothing.
}
}
$wp_cat2tag_importer = new WP_Categories_to_Tags;
$wp_cat2tag_importer = new WP_Categories_to_Tags();
register_importer('wp-cat2tag', __('Categories to Tags Converter'), __('Convert existing categories to tags, selectively.'), array(&$wp_cat2tag_importer, 'init'));