current_user_can('edit_post') changed to current_user_can('edit_posts')