Make WordPress Core

Changeset 38106


Ignore:
Timestamp:
07/19/2016 07:31:31 PM (8 years ago)
Author:
DrewAPicture
Message:

Docs: Add a missing DocBlock for the lowercase_octets() function, which is nested within redirect_canonical().

Will be skipped from parsing.

See #32246. See #meta942.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/canonical.php

    r37518 r38106  
    479479    if ( false !== strpos($requested_url, '%') ) {
    480480        if ( !function_exists('lowercase_octets') ) {
     481            /**
     482             * Converts the first hex-encoded octet match to lowercase.
     483             *
     484             * @since 3.1
     485             * @ignore
     486             *
     487             * @param array $matches Hex-encoded octet matches for the requested URL.
     488             * @return string Lowercased version of the first match.
     489             */
    481490            function lowercase_octets($matches) {
    482491                return strtolower( $matches[0] );
Note: See TracChangeset for help on using the changeset viewer.