Move get_current_url to deprecated.php