Revert [16645]. see #15625.
git-svn-id: https://develop.svn.wordpress.org/trunk@16964 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
98aac89317
commit
31a1806d2e
@ -1629,7 +1629,7 @@ function _post_states($post) {
|
||||
$post_states[] = _x('Pending', 'post state');
|
||||
if ( is_sticky($post->ID) )
|
||||
$post_states[] = __('Sticky');
|
||||
if ( current_theme_supports('post-formats') && get_post_format( $post->ID ) )
|
||||
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 );
|
||||
|
Loading…
Reference in New Issue
Block a user