From 2fe8698a5f2cd69e0a78528b3ac911e2380894b8 Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 17 Feb 2009 19:13:31 +0000 Subject: [PATCH] Add Sticky to list of post states git-svn-id: http://svn.automattic.com/wordpress/trunk@10585 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/template.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index da4fb318a..47239b374 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -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 );