getLocalizedPost removed. Use getPost and getPostById instead
Also fixed errors with getPost
fixed regex for slugs that also grabbed slashes