From 7b19006ce131c52237310336c8607239f43a6ca2 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Wed, 16 Dec 2015 23:15:27 +0000 Subject: [PATCH] Docs: Add missing parameter and return notations to the DocBlock for `_wp_sanitize_utf8_in_redirect()`. See #32246. Built from https://develop.svn.wordpress.org/trunk@35980 git-svn-id: http://core.svn.wordpress.org/trunk@35945 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/pluggable.php | 3 +++ wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index 99193eaf2e..d394567e4a 100644 --- a/wp-includes/pluggable.php +++ b/wp-includes/pluggable.php @@ -1270,6 +1270,9 @@ function wp_sanitize_redirect($location) { * @access private * * @see wp_sanitize_redirect() + * + * @param array $matches RegEx matches against the redirect location. + * @return string URL-encoded version of the first RegEx match. */ function _wp_sanitize_utf8_in_redirect( $matches ) { return urlencode( $matches[0] ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 9adfe59e92..363b4e083f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-35979'; +$wp_version = '4.5-alpha-35980'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.