Put the sorting on hold, and add empty contructor.
git-svn-id: https://develop.svn.wordpress.org/trunk@5210 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e4620977f5
commit
f75f20b517
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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'));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user