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.

Built from https://develop.svn.wordpress.org/trunk@38106


git-svn-id: http://core.svn.wordpress.org/trunk@38047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2016-07-19 19:32:32 +00:00
parent c415dd186b
commit f929f502fa
2 changed files with 10 additions and 1 deletions

View File

@ -478,6 +478,15 @@ function redirect_canonical( $requested_url = null, $do_redirect = true ) {
// Hex encoded octets are case-insensitive.
if ( false !== strpos($requested_url, '%') ) {
if ( !function_exists('lowercase_octets') ) {
/**
* Converts the first hex-encoded octet match to lowercase.
*
* @since 3.1
* @ignore
*
* @param array $matches Hex-encoded octet matches for the requested URL.
* @return string Lowercased version of the first match.
*/
function lowercase_octets($matches) {
return strtolower( $matches[0] );
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.6-beta3-38105';
$wp_version = '4.6-beta3-38106';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.