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:
parent
1948792ee1
commit
6f3c55b1de
|
@ -1870,7 +1870,7 @@ function register_importer( $id, $name, $description, $callback ) {
|
||||||
|
|
||||||
function get_importers() {
|
function get_importers() {
|
||||||
global $wp_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;
|
return $wp_importers;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -143,9 +143,13 @@ class WP_Categories_to_Tags {
|
||||||
|
|
||||||
$this->footer();
|
$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'));
|
register_importer('wp-cat2tag', __('Categories to Tags Converter'), __('Convert existing categories to tags, selectively.'), array(&$wp_cat2tag_importer, 'init'));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue