From c07582cb648260d713ad030313308b1daed49d27 Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Sat, 1 Nov 2014 03:29:21 +0000 Subject: [PATCH] Improve default argument formatting in `WP_Date_Query::__construct()`. Built from https://develop.svn.wordpress.org/trunk@30144 git-svn-id: http://core.svn.wordpress.org/trunk@30144 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/date.php | 36 ++++++++++++++++++++++-------------- wp-includes/version.php | 2 +- 2 files changed, 23 insertions(+), 15 deletions(-) diff --git a/wp-includes/date.php b/wp-includes/date.php index 5fade26fe6..740acdb4b5 100644 --- a/wp-includes/date.php +++ b/wp-includes/date.php @@ -107,22 +107,30 @@ class WP_Date_Query { * specified in the top-level $column parameter. Default is the value * of top-level $column. Accepts 'post_date', 'post_date_gmt', * 'post_modified', 'post_modified_gmt', 'comment_date', 'comment_date_gmt'. - * @type string $compare Optional. The comparison operator. Default '='. Accepts '=', '!=', - * '>', '>=', '<', '<=', '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 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 (1 is Sunday). + * @type string $compare Optional. The comparison operator. Default '='. + * Accepts '=', '!=', '>', '>=', '<', '<=', 'IN', 'NOT IN', + * 'BETWEEN', 'NOT BETWEEN'. + * @type bool $inclusive Optional. Include results from dates specified in 'before' or + * 'after'. Default false. + * @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 (1 is Sunday). * @type int $dayofweek_iso Optional. The day number of the week (ISO). Default empty. * Accepts numbers 1-7 (1 is Monday). - * @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. + * @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. * } * } * } diff --git a/wp-includes/version.php b/wp-includes/version.php index 8282f593ff..6be5872667 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.1-alpha-30143'; +$wp_version = '4.1-alpha-30144'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.