mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
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:
@@ -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>';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user