Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

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

    r46586 r47122  
    3939    function data_example_urls() {
    4040        return array(
    41             array( 'http', 'http://example.com' ), // RFC7230
    42             array( 'https', 'https://example.com' ), // RFC7230
    43             array( 'ftp', 'ftp://example.com' ), // RFC1738
     41            array( 'http', 'http://example.com' ),                                 // RFC7230
     42            array( 'https', 'https://example.com' ),                               // RFC7230
     43            array( 'ftp', 'ftp://example.com' ),                                   // RFC1738
    4444            array( 'ftps', 'ftps://example.com' ),
    45             array( 'mailto', 'mailto://someone@example.com' ), // RFC6068
    46             array( 'news', 'news://news.server.example/example.group.this' ), // RFC5538
     45            array( 'mailto', 'mailto://someone@example.com' ),                     // RFC6068
     46            array( 'news', 'news://news.server.example/example.group.this' ),      // RFC5538
    4747            array( 'irc', 'irc://example.com/wordpress' ),
    4848            array( 'gopher', 'gopher://example.com/7a_gopher_selector%09foobar' ), // RFC4266
    49             array( 'nntp', 'nntp://news.server.example/example.group.this' ), // RFC5538
     49            array( 'nntp', 'nntp://news.server.example/example.group.this' ),      // RFC5538
    5050            array( 'feed', 'feed://example.com/rss.xml' ),
    51             array( 'telnet', 'telnet://user:password@example.com:80/' ), // RFC4248
     51            array( 'telnet', 'telnet://user:password@example.com:80/' ),           // RFC4248
    5252            array( 'mms', 'mms://example.com:80/path' ),
    53             array( 'rtsp', 'rtsp://media.example.com:554/wordpress/audiotrack' ), // RFC2326
     53            array( 'rtsp', 'rtsp://media.example.com:554/wordpress/audiotrack' ),  // RFC2326
    5454            array( 'svn', 'svn://core.svn.wordpress.org/' ),
    55             array( 'tel', 'tel:+1-234-567-8910' ), // RFC3966
    56             array( 'sms', 'sms:+1-234-567-8910' ), // RFC3966
    57             array( 'fax', 'fax:+123.456.78910' ), // RFC2806/RFC3966
    58             array( 'xmpp', 'xmpp://guest@example.com' ), // RFC5122
     55            array( 'tel', 'tel:+1-234-567-8910' ),                                 // RFC3966
     56            array( 'sms', 'sms:+1-234-567-8910' ),                                 // RFC3966
     57            array( 'fax', 'fax:+123.456.78910' ),                                  // RFC2806/RFC3966
     58            array( 'xmpp', 'xmpp://guest@example.com' ),                           // RFC5122
    5959            array( 'webcal', 'webcal://example.com/calendar.ics' ),
    60             array( 'urn', 'urn:uuid:6e8bc430-9c3a-11d9-9669-0800200c9a66' ), // RFC2141
     60            array( 'urn', 'urn:uuid:6e8bc430-9c3a-11d9-9669-0800200c9a66' ),       // RFC2141
    6161        );
    6262    }
Note: See TracChangeset for help on using the changeset viewer.