micahwave/bitly — pull request #3 by mjangda (2012-11-27 21:43:51+00:00)
Title: Allow shortlink overrides to work with query arg

wp_get_shortlink sometimes passes in context as "query" and wants you to look up the ID from the global query. Let's make sure our shortlinks work in that context.