WordPress.org

Make WordPress Core

Ticket #30775: 30775.2.diff

File 30775.2.diff, 511 bytes (added by DrewAPicture, 5 years ago)
  • src/wp-includes/post-functions.php

     
    29512951
    29522952        $maybe_empty = 'attachment' !== $post_type
    29532953                && ! $post_content && ! $post_title && ! $post_excerpt
     2954                && ! $update
    29542955                && post_type_supports( $post_type, 'editor' )
    29552956                && post_type_supports( $post_type, 'title' )
    29562957                && post_type_supports( $post_type, 'excerpt' );