Fix 'compare' parameter description in WP_Date_Query.

props dlh.
fixes #30925.
Built from https://develop.svn.wordpress.org/trunk@31057


git-svn-id: http://core.svn.wordpress.org/trunk@31038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2015-01-06 03:36:21 +00:00
parent c2260dc85b
commit da5b68a17e
2 changed files with 5 additions and 6 deletions

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.
* *

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.2-alpha-31056'; $wp_version = '4.2-alpha-31057';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.