Fix typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@5212 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f691bc31ec
commit
995ac94ed7
@ -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;
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
Loading…
Reference in New Issue
Block a user