…ted path like we do with redirect_from
…e possible edge cases
…wp_query is null, then get_query_var is trying to call ->get on a non-object, which causes a fatal error. Some plugins perform a query on the 'plugins_loaded' action, which looking in wp-settings.php is called before the global wp_query object is set up. In cases like this (probably rare, but they happen), fatal errors cause the site to die.
git-svn-id: http://plugins.svn.wordpress.org/safe-redirect-manager/trunk@855102 b8457f37-d9ea-0310-8a92-e5e31aec5664
…ildcard; fix function comments