Changeset 5090 for trunk/wp-includes/post.php
- Timestamp:
- 03/23/2007 02:16:16 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r5087 r5090 644 644 VALUES 645 645 ('$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; 647 647 } 648 648 … … 1352 1352 VALUES 1353 1353 ('$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; 1355 1355 } 1356 1356
Note: See TracChangeset
for help on using the changeset viewer.