Make WordPress Core


Ignore:
Timestamp:
12/31/2010 04:49:27 AM (13 years ago)
Author:
nacin
Message:

Small visual improvements to post formats on edit.php. see #16047.

File:
1 edited

Legend:

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

    r17124 r17191  
    16341634    if ( is_sticky($post->ID) )
    16351635        $post_states[] = __('Sticky');
    1636     if ( get_post_format( $post->ID ) )
    1637         $post_states[] = '<span>[</span>' . get_post_format_string( get_post_format( $post->ID ) ) . '<span>]</span>';
    16381636
    16391637    $post_states = apply_filters( 'display_post_states', $post_states );
     
    16491647        }
    16501648    }
     1649
     1650    if ( get_post_format( $post->ID ) )
     1651        echo ' - <span class="post-state-format">' . get_post_format_string( get_post_format( $post->ID ) ) . '</span>';
    16511652}
    16521653
Note: See TracChangeset for help on using the changeset viewer.