Make WordPress Core


Ignore:
Timestamp:
01/04/2008 07:36:34 PM (19 years ago)
Author:
ryan
Message:

Unused var cleanup. Props DD32. see #5418

File:
1 edited

Legend:

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

    r6532 r6551  
    107107                                }
    108108                                if ( false !== strpos($importline, '</item>') ) {
    109                                         $num++;
    110109                                        $doing_entry = false;
    111110                                        if ($process_post_func)
    … …  
    401400                        $post_author = $this->checkauthor($post_author); //just so that if a post already exists, new users are not created by checkauthor
    402401
    403                         $postdata = compact('post_author', 'post_date', 'post_date_gmt', 'post_content', 'post_title', 'post_excerpt', 'post_status', 'post_name', 'comment_status', 'ping_status', 'post_modified', 'post_modified_gmt', 'guid', 'post_parent', 'menu_order', 'post_type');
     402                        $postdata = compact('post_author', 'post_date', 'post_date_gmt', 'post_content', 'post_title', 'post_status', 'post_name', 'comment_status', 'ping_status', 'guid', 'post_parent', 'menu_order', 'post_type');
    404403                        if ($post_type == 'attachment') {
    405404                                $remote_url = $this->get_tag( $post, 'wp:attachment_url' );
Note: See TracChangeset for help on using the changeset viewer.