Revert [16645]. see #15625.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6c025aa06f
commit
6f607d4046
|
@ -1629,7 +1629,7 @@ function _post_states($post) {
|
||||||
$post_states[] = _x('Pending', 'post state');
|
$post_states[] = _x('Pending', 'post state');
|
||||||
if ( is_sticky($post->ID) )
|
if ( is_sticky($post->ID) )
|
||||||
$post_states[] = __('Sticky');
|
$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[] = '<span>[</span>' . get_post_format_string( get_post_format( $post->ID ) ) . '<span>]</span>';
|
||||||
|
|
||||||
$post_states = apply_filters( 'display_post_states', $post_states );
|
$post_states = apply_filters( 'display_post_states', $post_states );
|
||||||
|
|
Loading…
Reference in New Issue