From 2a51e10611ad5ec3632a7e706befe44b800727cd Mon Sep 17 00:00:00 2001 From: Aaron Jorbin Date: Sun, 3 Dec 2017 20:41:30 +0000 Subject: [PATCH] Docs: Add description for is_day(). Props webdevmattcrom. Fixes #42784. git-svn-id: https://develop.svn.wordpress.org/trunk@42355 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/query.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-includes/query.php b/src/wp-includes/query.php index e689828c21..255758b352 100644 --- a/src/wp-includes/query.php +++ b/src/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.