Debug string?

git-svn-id: http://svn.automattic.com/wordpress/trunk@3059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2005-11-13 04:21:44 +00:00
parent b9af94acdc
commit 5fbc876db8
1 changed files with 350 additions and 351 deletions

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