Ticket #30775: 30775.2.diff
File 30775.2.diff, 511 bytes (added by , 5 years ago) |
---|
-
src/wp-includes/post-functions.php
2951 2951 2952 2952 $maybe_empty = 'attachment' !== $post_type 2953 2953 && ! $post_content && ! $post_title && ! $post_excerpt 2954 && ! $update 2954 2955 && post_type_supports( $post_type, 'editor' ) 2955 2956 && post_type_supports( $post_type, 'title' ) 2956 2957 && post_type_supports( $post_type, 'excerpt' );