Make WordPress Core

Ticket #16047: 16047.diff

File 16047.diff, 1.1 KB (added by nacin, 14 years ago)

Quick fix for 3.1.

  • wp-admin/includes/template.php

     
    16331633                $post_states[] = _x('Pending', 'post state');
    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 );
    16401638
     
    16481646                        echo "<span class='post-state'>$state$sep</span>";
    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
    16531654/**
  • wp-admin/css/wp-admin.dev.css

     
    15401540        padding: 0 0 .2em 1px;
    15411541}
    15421542
    1543 span.post-state span {
     1543span.post-state-format {
    15441544        font-weight: normal;
    1545         color: #555;
    15461545}
    15471546
    15481547