moshu, that did not work for me, for some reason. I don’t know why.
However, I achieved the same effect by modifying a function in wp-includes/post.php as follows:
function get_the_title($id = 0) {
$post = &get_post($id);
$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;
}
The only thing I changed was adding comment slashes to the “else if” lines. However this affects private posts as well as private pages, and would have to be repeated upon upgrading, so it’s not a very good solution.