Revert [35621], breaks XML-RPC unit tests.

See #30775.



git-svn-id: https://develop.svn.wordpress.org/trunk@35623 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2015-11-11 23:33:40 +00:00
parent b1d93d6d6a
commit a2b1dd9b01

View File

@ -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' );