From e18640f4a700be7d760123da43aebc08b159e1a0 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 9 Mar 2017 14:02:55 +0000 Subject: [PATCH] Docs: Correct `@return` type for `calendar_week_mod()`. Props dingo_bastard. Fixes #40077. Built from https://develop.svn.wordpress.org/trunk@40254 git-svn-id: http://core.svn.wordpress.org/trunk@40176 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/general-template.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 715dab7d15..04df6989b6 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -1860,7 +1860,7 @@ function wp_get_archives( $args = '' ) { * @since 1.5.0 * * @param int $num Number of day. - * @return int Days since the start of the week. + * @return float Days since the start of the week. */ function calendar_week_mod($num) { $base = 7; diff --git a/wp-includes/version.php b/wp-includes/version.php index 3dad943da8..4a1aadcbed 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.8-alpha-40252'; +$wp_version = '4.8-alpha-40254'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.