From 48988c505fe4cd60c9487bc8a7b44c9a1518cc1f Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 7 Feb 2016 08:09:25 +0000 Subject: [PATCH] Docs: Make a couple of minor improvements to the DocBlock for `wp_get_raw_referer()`, introduced in [36266]. * Uses a third-person singular verb in the summary * Makes the return types more specific with `string|false` vs `string|bool`. See #27152. See #32246. Built from https://develop.svn.wordpress.org/trunk@36500 git-svn-id: http://core.svn.wordpress.org/trunk@36467 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 6 +++--- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 3d8a43ae6c..3e9b7921d1 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1534,13 +1534,13 @@ function wp_get_referer() { } /** - * Retrieve unvalidated referer from '_wp_http_referer' or HTTP referer. + * Retrieves unvalidated referer from '_wp_http_referer' or HTTP referer. * - * Do not use for redirects, use wp_get_referer() instead. + * Do not use for redirects, use {@see wp_get_referer()} instead. * * @since 4.5.0 * - * @return string|bool Referer URL on success, false on failure. + * @return string|false Referer URL on success, false on failure. */ function wp_get_raw_referer() { if ( ! empty( $_REQUEST['_wp_http_referer'] ) ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 61e01436f6..5a025eb6b8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-36499'; +$wp_version = '4.5-alpha-36500'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.