Ticket #37027: post.php.patch
| File post.php.patch, 590 bytes (added by , 10 years ago) |
|---|
-
wp-includes/post.php
3081 3081 $post_name = $post_before->post_name; 3082 3082 } 3083 3083 3084 $maybe_empty = 'attachment' !== $post_type 3084 $maybe_empty = 'attachment' !== $post_type && ! in_array( $postarr['post_status'], array( 'inherit', 'draft', 'trash', 'auto-draft' ) ) 3085 3085 && ! $post_content && ! $post_title && ! $post_excerpt 3086 3086 && post_type_supports( $post_type, 'editor' ) 3087 3087 && post_type_supports( $post_type, 'title' )