mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-30 16:17:56 +02:00
Fix comment typo
git-svn-id: http://svn.automattic.com/wordpress/trunk@6306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c148b6ce78
commit
52934a6cee
@ -713,7 +713,7 @@ function wp_insert_post($postarr = array()) {
|
|||||||
$wpdb->insert( $wpdb->posts, $data );
|
$wpdb->insert( $wpdb->posts, $data );
|
||||||
$post_ID = (int) $wpdb->insert_id;
|
$post_ID = (int) $wpdb->insert_id;
|
||||||
|
|
||||||
/* use the newly genearted $post_ID */
|
// use the newly generated $post_ID
|
||||||
$where = array( 'ID' => $post_ID );
|
$where = array( 'ID' => $post_ID );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user