More typos. see #13358.

git-svn-id: https://develop.svn.wordpress.org/trunk@14588 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2010-05-12 21:03:33 +00:00
parent 4a19ba4f0f
commit 490a0a99cd
5 changed files with 7 additions and 7 deletions

View File

@@ -249,7 +249,7 @@ function get_editable_user_ids( $user_id, $exclude_zeros = true, $post_type = 'p
$user = new WP_User( $user_id );
$post_type_obj = get_post_type_object($post_type);
if ( ! $user->has_cap($post_type_obj->cap->edit_other_posts) ) {
if ( ! $user->has_cap($post_type_obj->cap->edit_others_posts) ) {
if ( $user->has_cap($post_type_obj->cap->edit_posts) || ! $exclude_zeros )
return array($user->id);
else