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

git-svn-id: https://develop.svn.wordpress.org/trunk@17191 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2010-12-31 04:49:27 +00:00
parent 115f9d327d
commit 31285457f2
4 changed files with 6 additions and 6 deletions
+3 -2
View File
@@ -1633,8 +1633,6 @@ function _post_states($post) {
$post_states[] = _x('Pending', 'post state');
if ( is_sticky($post->ID) )
$post_states[] = __('Sticky');
if ( get_post_format( $post->ID ) )
$post_states[] = '<span>[</span>' . get_post_format_string( get_post_format( $post->ID ) ) . '<span>]</span>';
$post_states = apply_filters( 'display_post_states', $post_states );
@@ -1648,6 +1646,9 @@ function _post_states($post) {
echo "<span class='post-state'>$state$sep</span>";
}
}
if ( get_post_format( $post->ID ) )
echo ' - <span class="post-state-format">' . get_post_format_string( get_post_format( $post->ID ) ) . '</span>';
}
/**