WordPress – site_url() returns with additional backslashes

I am using site_url() function and it returns the address as http://vip.local/cc where I can see that WP automatically adds unnecessary backslashes. Is this for some escaping purpose? I tried using stripslashes function but that didn’t fix it either. Any help?

Related posts

Leave a Reply

1 comment