Debug string?
git-svn-id: http://svn.automattic.com/wordpress/trunk@3059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b9af94acdc
commit
5fbc876db8
|
@ -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…
Reference in New Issue