Home>Support>sms in destination url

sms in destination url

By Jason Rennich, 10 years ago. Last reply by Greg Priday, 10 years ago.
Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

I have tried to use sms:+xxxxxxxxxx in the destination url for sitebuilder button, but every time I save it deletes it? Why? Any way to make button start sms ie.text a number like my cell phone?

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 6 months ago Greg Priday
    Hi, I Work Here

    Hi Jason

    For the sake of security, the button widget passes all URLs through the WordPress esc_url function. This function is fairly restrictive on what protocols it allows. I’m fairly sure it’ll strip out sms based URLs.

    I see someone suggested a change to how esc_url works. This was submitted a few years ago and it doesn’t look like there’s been any progress though.

    https://core.trac.wordpress.org/ticket/18268

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More