mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Fix typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ccfa543340
commit
96535f8d01
@ -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