Make WordPress Core


Ignore:
Timestamp:
09/19/2011 05:02:58 PM (15 years ago)
Author:
duck_
Message:

Add post formats to quick edit and bulk edit. Fixes #18083.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r18708 r18722  
    310310        if ( !$post_type_object->hierarchical )
    311311                echo '<div class="sticky">' . (is_sticky($post->ID) ? 'sticky' : '') . '</div>';
     312
     313        if ( post_type_supports( $post->post_type, 'post-formats' ) )
     314                echo '<div class="post_format">' . esc_html( get_post_format( $post->ID ) ) . '</div>';
    312315
    313316        echo '</div>';
Note: See TracChangeset for help on using the changeset viewer.