Fix typo.

git-svn-id: https://develop.svn.wordpress.org/trunk@5212 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
rob1n 2007-04-07 19:31:54 +00:00
parent f691bc31ec
commit 995ac94ed7
1 changed files with 2 additions and 2 deletions

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;
}
?>
?>