Fix comment typo
git-svn-id: https://develop.svn.wordpress.org/trunk@6306 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5308684211
commit
ae66f7f3c8
|
@ -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