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
This commit is contained in:
Sergey Biryukov 2015-01-06 03:35:56 +00:00
parent 0d32524409
commit 4b29e64a4d

View File

@ -78,11 +78,10 @@ class WP_Date_Query {
* the $default_column parameter. Default 'post_date'. Accepts 'post_date', * the $default_column parameter. Default 'post_date'. Accepts 'post_date',
* 'post_date_gmt', 'post_modified','post_modified_gmt', 'comment_date', * 'post_date_gmt', 'post_modified','post_modified_gmt', 'comment_date',
* 'comment_date_gmt'. * 'comment_date_gmt'.
* @type string $compare Optional. The comparison operator. * @type string $compare Optional. The comparison operator. Default '='.
* Accepts '=', '!=', '>', '>=', '<', '<=', 'IN', 'NOT IN'. Default '='. * Accepts '=', '!=', '>', '>=', '<', '<=', 'IN', 'NOT IN', 'BETWEEN', 'NOT BETWEEN'.
* 'BETWEEN', 'NOT BETWEEN'. * @type string $relation Optional. The boolean relationship between the date queries. Default 'OR'.
* @type string $relation Optional. The boolean relationship between the date queries. * Accepts 'OR', 'AND'.
* Accepts 'OR', 'AND'. Default 'OR'.
* @type array { * @type array {
* Optional. An array of first-order clause parameters, or another fully-formed date query. * Optional. An array of first-order clause parameters, or another fully-formed date query.
* *