From e4e0aa27a5723e672868d2640c46984b7f73451f Mon Sep 17 00:00:00 2001 From: Aaron Jorbin Date: Sun, 3 Dec 2017 20:42:47 +0000 Subject: [PATCH] Docs: Add description for is_day(). Props webdevmattcrom. Fixes #42784. Built from https://develop.svn.wordpress.org/trunk@42355 git-svn-id: http://core.svn.wordpress.org/trunk@42184 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/query.php | 2 ++ wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-includes/query.php b/wp-includes/query.php index e689828c21..255758b352 100644 --- a/wp-includes/query.php +++ b/wp-includes/query.php @@ -323,6 +323,8 @@ function is_date() { /** * Is the query for an existing day archive? * + * A conditional check to test whether the page is a date-based archive page displaying posts for the current day. + * * @since 1.5.0 * * @global WP_Query $wp_query Global WP_Query instance. diff --git a/wp-includes/version.php b/wp-includes/version.php index 463f8658c4..6f39ccab1b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-42354'; +$wp_version = '5.0-alpha-42355'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.