Fix typo.

git-svn-id: http://svn.automattic.com/wordpress/trunk@5212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rob1n 2007-04-07 19:31:54 +00:00
parent ccfa543340
commit 96535f8d01

View File

@ -1701,7 +1701,7 @@ function get_private_posts_cap_sql($post_type) {
$sql .= ' OR post_status = \'private\'';
} elseif (is_user_logged_in()) {
// Users can view their own private posts.
$sql .= ' OR post_status = \'private\' AND post_author \'' . $user_ID . '\'';
$sql .= ' OR post_status = \'private\' AND post_author = \'' . $user_ID . '\'';
}
$sql .= ')';
@ -1709,4 +1709,4 @@ function get_private_posts_cap_sql($post_type) {
return $sql;
}
?>
?>