2006-01-12 13:26:53 Mysterious Bug
( php )
  1  $caneditposts=(bool)current_user_can('edit_posts');
2 //echo $caneditposts."<br/>";
3 if (!$caneditposts)
4 die(__('You do not have permission to edit posts.'));
5 //echo "we got past the permissions logic"."<br/>";
Leave a comment