Changeset 24388 for trunk/wp-includes/post.php
- Timestamp:
- 05/30/2013 09:33:46 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r24301 r24388 2677 2677 2678 2678 $maybe_empty = ! $post_content && ! $post_title && ! $post_excerpt && post_type_supports( $post_type, 'editor' ) 2679 && post_type_supports( $post_type, 'title' ) && post_type_supports( $post_type, 'excerpt' ) 2680 && ! in_array( get_post_format( $post_ID ), array( 'audio', 'video', 'quote', 'image' ) ); 2679 && post_type_supports( $post_type, 'title' ) && post_type_supports( $post_type, 'excerpt' ); 2681 2680 2682 2681 if ( apply_filters( 'wp_insert_post_empty_content', $maybe_empty, $postarr ) ) {
Note: See TracChangeset
for help on using the changeset viewer.