WordPress.org

Make WordPress Core

Changeset 5210


Ignore:
Timestamp:
04/07/2007 07:04:57 PM (15 years ago)
Author:
rob1n
Message:

Put the sorting on hold, and add empty contructor.

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-functions.php

    r5206 r5210  
    18711871function get_importers() {
    18721872    global $wp_importers;
    1873     usort($wp_importers, create_function('$a, $b', 'return strcmp($a[0], $b[0]);'));
     1873//  usort($wp_importers, create_function('$a, $b', 'return strcmp($a[0], $b[0]);'));
    18741874    return $wp_importers;
    18751875}
  • trunk/wp-admin/import/wp-cat2tag.php

    r5205 r5210  
    144144        $this->footer();
    145145    }
     146   
     147    function WP_Categories_to_Tags() {
     148        // Do nothing.
     149    }
    146150}
    147151
    148 $wp_cat2tag_importer = new WP_Categories_to_Tags;
     152$wp_cat2tag_importer = new WP_Categories_to_Tags();
    149153
    150154register_importer('wp-cat2tag', __('Categories to Tags Converter'), __('Convert existing categories to tags, selectively.'), array(&$wp_cat2tag_importer, 'init'));
Note: See TracChangeset for help on using the changeset viewer.