This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

sms in destination url

Open 1 reply general
11 years ago · Last reply by Greg Priday 11 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Greg Priday Staff 11 years, 25 days ago

    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.

Have a different question or issue?

Start New Thread