From f6716ad1e316e0197b6078fa256d340c9e5f5baf Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Sun, 23 Mar 2008 00:58:47 +0000 Subject: [PATCH] Add default for post_excerpt. see #6355 git-svn-id: https://develop.svn.wordpress.org/trunk@7482 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index 16eab3b7ee..ee915a34dd 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -1155,7 +1155,7 @@ function wp_insert_post($postarr = array()) { $defaults = array('post_status' => 'draft', 'post_type' => 'post', 'post_author' => $user_ID, 'ping_status' => get_option('default_ping_status'), 'post_parent' => 0, 'menu_order' => 0, 'to_ping' => '', 'pinged' => '', 'post_password' => '', - 'guid' => '', 'post_content_filtered' => ''); + 'guid' => '', 'post_content_filtered' => '', 'post_excerpt' => ''); $postarr = wp_parse_args($postarr, $defaults); $postarr = sanitize_post($postarr, 'db');