WordPress.org

Make WordPress Core

Changeset 7069


Ignore:
Timestamp:
02/27/2008 09:22:25 PM (12 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

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

    r6149 r7069  
    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.