From 8a250619ce787bf4a425360f6834c40ca0761347 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 16 Nov 2013 08:21:10 +0000 Subject: [PATCH] Add description for 'dayofyear' and 'dayofweek' arguments in WP_Date_Query. props dziudek. fixes #25995. Built from https://develop.svn.wordpress.org/trunk@26234 git-svn-id: http://core.svn.wordpress.org/trunk@26141 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/date.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-includes/date.php b/wp-includes/date.php index f41cae892b..0c42766e55 100644 --- a/wp-includes/date.php +++ b/wp-includes/date.php @@ -88,11 +88,13 @@ class WP_Date_Query { * '>', '>=', '<', '<=', 'IN', 'NOT IN', 'BETWEEN', 'NOT BETWEEN'. * @type bool $inclusive Optional. Include results from dates specified in 'before' or 'after'. * Default. Accepts. - * @type int $year Optional. The four-digit near number. Default empty. Accepts any + * @type int $year Optional. The four-digit year number. Default empty. Accepts any * four-digit year. * @type int $month Optional. The two-digit month number. Default empty. Accepts numbers 1-12. * @type int $week Optional. The week number of the year. Default empty. Accepts numbers 0-53. + * @type int $dayofyear Optional. The day number of the year. Default empty. Accepts numbers 1-366. * @type int $day Optional. The day of the month. Default empty. Accepts numbers 1-31. + * @type int $dayofweek Optional. The day number of the week. Default empty. Accepts numbers 1-7. * @type int $hour Optional. The hour of the day. Default empty. Accepts numbers 0-23. * @type int $minute Optional. The minute of the hour. Default empty. Accepts numbers 0-60. * @type int $second Optional. The second of the minute. Default empty. Accepts numbers 0-60.