Debug string?
git-svn-id: https://develop.svn.wordpress.org/trunk@3059 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9bfb0e35dd
commit
92390480d7
@ -46,7 +46,6 @@ function get_editable_user_ids( $user_id, $exclude_zeros = true ) {
|
||||
$user = new WP_User( $user_id );
|
||||
|
||||
if ( ! $user->has_cap('edit_others_posts') ) {
|
||||
echo "no cap<br/>";
|
||||
if ( $user->has_cap('edit_posts') || $exclude_zeros == false )
|
||||
return array($user->id);
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user