Replace deprecated functions with home_url()