Revert accidental commit.

git-svn-id: https://develop.svn.wordpress.org/trunk@4832 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2007-01-30 01:46:05 +00:00
parent b0f28a6dff
commit 53b8aa18e4
6 changed files with 1 additions and 30 deletions
-4
View File
@@ -522,9 +522,6 @@ function wp_insert_post($postarr = array()) {
}
$post_cat = $post_category[0];
if ( empty($post_tags) )
$post_tags = array();
if ( empty($post_author) )
$post_author = $user_ID;
@@ -649,7 +646,6 @@ function wp_insert_post($postarr = array()) {
}
wp_set_post_categories($post_ID, $post_category);
wp_set_post_tags($post_ID, $post_tags);
if ( 'page' == $post_type ) {
clean_page_cache($post_ID);