From 655a7fc3d336fb36671e2d8ab5bda4229aecfdce Mon Sep 17 00:00:00 2001 From: donncha Date: Fri, 23 Jun 2006 10:32:27 +0000 Subject: WP merge git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@592 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-includes/post-template.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'wp-includes/post-template.php') diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index 1c18980..fcd3f89 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -34,6 +34,8 @@ function get_the_title($id = 0) { $title = $post->post_title; if ( !empty($post->post_password) ) $title = sprintf(__('Protected: %s'), $title); + else if ( 'private' == $post->post_status ) + $title = sprintf(__('Private: %s'), $title); return $title; } -- cgit