Added date translation support, fixed a user-role bug and fixed a bug in the get_post_by_slug function.