WordPress.org

Make WordPress Core

Changeset 6332


Ignore:
Timestamp:
11/12/2007 07:51:42 PM (13 years ago)
Author:
ryan
Message:

Make sure term id is an int. Props tellyworth. fixes #5330

File:
1 edited

Legend:

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

    r6149 r6332  
    397397                        $tag_id = $tag_id['term_id'];
    398398                    }
    399                     $post_tags[] = $tag_id;
     399                    $post_tags[] = intval($tag_id);
    400400                }
    401401                wp_set_post_tags($post_id, $post_tags);
Note: See TracChangeset for help on using the changeset viewer.