Add Sticky to list of post states

git-svn-id: http://svn.automattic.com/wordpress/trunk@10585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-02-17 19:13:31 +00:00
parent 5dfddd7b18
commit 2fe8698a5f
1 changed files with 2 additions and 0 deletions

View File

@ -3244,6 +3244,8 @@ function _post_states($post) {
$post_states[] = __('Draft');
if ( 'pending' == $post->post_status && 'pending' != $post_status )
$post_states[] = _c('Pending|post state');
if ( is_sticky($post->ID) )
$post_states[] = __('Sticky');
$post_states = apply_filters( 'display_post_states', $post_states );