Debug string?

git-svn-id: https://develop.svn.wordpress.org/trunk@3059 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2005-11-13 04:21:44 +00:00
parent 9bfb0e35dd
commit 92390480d7

View File

@ -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