From a2b1dd9b01ab1e0f19653208c230191144eadc7b Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Wed, 11 Nov 2015 23:33:40 +0000 Subject: [PATCH] Revert [35621], breaks XML-RPC unit tests. See #30775. git-svn-id: https://develop.svn.wordpress.org/trunk@35623 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/post-functions.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wp-includes/post-functions.php b/src/wp-includes/post-functions.php index 13db984fe4..5687e34ad6 100644 --- a/src/wp-includes/post-functions.php +++ b/src/wp-includes/post-functions.php @@ -2951,7 +2951,6 @@ function wp_insert_post( $postarr, $wp_error = false ) { $maybe_empty = 'attachment' !== $post_type && ! $post_content && ! $post_title && ! $post_excerpt - && ! $update && post_type_supports( $post_type, 'editor' ) && post_type_supports( $post_type, 'title' ) && post_type_supports( $post_type, 'excerpt' );