WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/30/2013 09:33:46 PM (7 years ago)
Author:
markjaquith
Message:

First pass at removing Post Format UI.

see #24452. fixes #24455.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post.php

    r24301 r24388  
    26772677
    26782678    $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' );
    26812680
    26822681    if ( apply_filters( 'wp_insert_post_empty_content', $maybe_empty, $postarr ) ) {
Note: See TracChangeset for help on using the changeset viewer.