sms in destination url
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
1Hi 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.