Make WordPress Core


Ignore:
Timestamp:
03/23/2007 02:16:16 AM (18 years ago)
Author:
ryan
Message:

Castaways on Gilligan's Isle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post.php

    r5087 r5090  
    644644            VALUES
    645645            ('$post_author', '$post_date', '$post_date_gmt', '$post_content', '$post_content_filtered', '$post_title', '$post_excerpt', '$post_status', '$post_type', '$comment_status', '$ping_status', '$post_password', '$post_name', '$to_ping', '$pinged', '$post_date', '$post_date_gmt', '$post_parent', '$menu_order', '$post_mime_type')");
    646             $post_ID = $wpdb->insert_id;
     646            $post_ID = (int) $wpdb->insert_id;
    647647    }
    648648
     
    13521352            VALUES
    13531353            ('$post_author', '$post_date', '$post_date_gmt', '$post_content', '$post_content_filtered', '$post_title', '$post_excerpt', '$post_status', '$post_type', '$comment_status', '$ping_status', '$post_password', '$post_name', '$to_ping', '$pinged', '$post_date', '$post_date_gmt', '$post_parent', '$menu_order', '$post_mime_type', '$guid')");
    1354             $post_ID = $wpdb->insert_id;
     1354            $post_ID = (int) $wpdb->insert_id;
    13551355    }
    13561356
Note: See TracChangeset for help on using the changeset viewer.