Make WordPress Core

Changeset 3776


Ignore:
Timestamp:
05/17/2006 09:39:40 PM (21 years ago)
Author:
ryan
Message:

WP importer fixes from mdawaffe. fixes #2727

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/import/wordpress.php

    r3769 r3776  
    221221                                $comment_post_ID = $post_id = wp_insert_post($postdata);
    222222                                // Add categories.
    223                                 if (0 != count($post_categories)) {
    224                                         wp_create_categories($post_categories, $post_id);
     223                                if (0 != count($categories)) {
     224                                        wp_create_categories($categories, $post_id);
    225225                                }
    226226                        }
Note: See TracChangeset for help on using the changeset viewer.