diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index 3835f2afe4..99193eaf2e 100644 --- a/wp-includes/pluggable.php +++ b/wp-includes/pluggable.php @@ -1237,7 +1237,8 @@ if ( !function_exists('wp_sanitize_redirect') ) : * * @since 2.3.0 * - * @return string redirect-sanitized URL + * @param string $location The path to redirect to. + * @return string Redirect-sanitized URL. **/ function wp_sanitize_redirect($location) { $regex = '/ @@ -1288,6 +1289,9 @@ if ( !function_exists('wp_safe_redirect') ) : * but only used in a few places. * * @since 2.3.0 + * + * @param string $location The path to redirect to. + * @param int $status Status code to use. */ function wp_safe_redirect($location, $status = 302) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 9b7f991e89..9590cbabfc 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-35913'; +$wp_version = '4.5-alpha-35914'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.