Use WP object to get the request URI
Merge branch 'master' of https://github.com/kasparsd/numeric-shortlinks