Make WordPress Core


Ignore:
Timestamp:
09/18/2019 11:37:08 PM (6 years ago)
Author:
whyisjake
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/functions/allowedProtocols.php

    r41124 r46172  
    5454            array( 'svn', 'svn://core.svn.wordpress.org/' ),
    5555            array( 'tel', 'tel:+1-234-567-8910' ), // RFC3966
     56            array( 'sms', 'sms:+1-234-567-8910' ), // RFC3966
    5657            array( 'fax', 'fax:+123.456.78910' ), // RFC2806/RFC3966
    5758            array( 'xmpp', 'xmpp://guest@example.com' ), // RFC5122
Note: See TracChangeset for help on using the changeset viewer.