Fixes #1302 made get_current_url() the only function for getting the current URL