get_bloginfo('wpurl') replaced by home_url() and escape functions added