diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-06-23 10:32:27 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-06-23 10:32:27 +0000 |
| commit | 655a7fc3d336fb36671e2d8ab5bda4229aecfdce (patch) | |
| tree | a377e02196f988c6d3337601fbba79304950da3c /wp-includes/post-template.php | |
| parent | d48e85e0ac5e675ca33fac173f30c75403d1033f (diff) | |
| download | wordpress-mu-655a7fc3d336fb36671e2d8ab5bda4229aecfdce.tar.gz wordpress-mu-655a7fc3d336fb36671e2d8ab5bda4229aecfdce.tar.xz wordpress-mu-655a7fc3d336fb36671e2d8ab5bda4229aecfdce.zip | |
WP merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@592 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/post-template.php')
| -rw-r--r-- | wp-includes/post-template.php | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |
