Add post id param for edit post cap

edit_post requires post id as a param.