mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Add SMS to the list of allowed protocols.
This commit expands the list of allowed protocols. It adds the `sms://` which can be used to open meessaging clients for mobile users. Props rilwis, kraftbj Fixes #39415 git-svn-id: https://develop.svn.wordpress.org/trunk@46172 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -53,6 +53,7 @@ class Tests_Functions_AllowedProtocols extends WP_UnitTestCase {
|
||||
array( 'rtsp', 'rtsp://media.example.com:554/wordpress/audiotrack' ), // RFC2326
|
||||
array( 'svn', 'svn://core.svn.wordpress.org/' ),
|
||||
array( 'tel', 'tel:+1-234-567-8910' ), // RFC3966
|
||||
array( 'sms', 'sms:+1-234-567-8910' ), // RFC3966
|
||||
array( 'fax', 'fax:+123.456.78910' ), // RFC2806/RFC3966
|
||||
array( 'xmpp', 'xmpp://guest@example.com' ), // RFC5122
|
||||
array( 'webcal', 'webcal://example.com/calendar.ics' ),
|
||||
|
||||
Reference in New Issue
Block a user