From 4b29e64a4d8899b773714f4262dd91fe5b68eb3c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 6 Jan 2015 03:35:56 +0000 Subject: [PATCH] Fix 'compare' parameter description in WP_Date_Query. props dlh. fixes #30925. git-svn-id: https://develop.svn.wordpress.org/trunk@31057 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/date.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/wp-includes/date.php b/src/wp-includes/date.php index 51c5d84b9d..b1fd0054fa 100644 --- a/src/wp-includes/date.php +++ b/src/wp-includes/date.php @@ -78,11 +78,10 @@ class WP_Date_Query { * the $default_column parameter. Default 'post_date'. Accepts 'post_date', * 'post_date_gmt', 'post_modified','post_modified_gmt', 'comment_date', * 'comment_date_gmt'. - * @type string $compare Optional. The comparison operator. - * Accepts '=', '!=', '>', '>=', '<', '<=', 'IN', 'NOT IN'. Default '='. - * 'BETWEEN', 'NOT BETWEEN'. - * @type string $relation Optional. The boolean relationship between the date queries. - * Accepts 'OR', 'AND'. Default 'OR'. + * @type string $compare Optional. The comparison operator. Default '='. + * Accepts '=', '!=', '>', '>=', '<', '<=', 'IN', 'NOT IN', 'BETWEEN', 'NOT BETWEEN'. + * @type string $relation Optional. The boolean relationship between the date queries. Default 'OR'. + * Accepts 'OR', 'AND'. * @type array { * Optional. An array of first-order clause parameters, or another fully-formed date query. *