Fix a couple of spacing and wrapping indents in the `WP_Date_Query::__construct()` hash notation.

See [30142]. See #28063.


git-svn-id: https://develop.svn.wordpress.org/trunk@30150 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes (DrewAPicture) 2014-11-01 04:31:00 +00:00
parent 43b3515501
commit ab0324a729
1 changed files with 5 additions and 4 deletions

View File

@ -84,7 +84,8 @@ class WP_Date_Query {
* @type string $relation Optional. The boolean relationship between the date queries. * @type string $relation Optional. The boolean relationship between the date queries.
* Accepts 'OR', 'AND'. Default 'OR'. * 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.
*
* @type string|array $before Optional. Date to retrieve posts before. Accepts strtotime()-compatible * @type string|array $before Optional. Date to retrieve posts before. Accepts strtotime()-compatible
* string, or array of 'year', 'month', 'day' values. { * string, or array of 'year', 'month', 'day' values. {
* *
@ -113,7 +114,7 @@ class WP_Date_Query {
* @type bool $inclusive Optional. Include results from dates specified in 'before' or * @type bool $inclusive Optional. Include results from dates specified in 'before' or
* 'after'. Default false. * 'after'. Default false.
* @type int $year Optional. The four-digit year number. Default empty. Accepts * @type int $year Optional. The four-digit year number. Default empty. Accepts
* any four-digit year. * any four-digit year.
* @type int $month Optional. The two-digit month number. Default empty. * @type int $month Optional. The two-digit month number. Default empty.
* Accepts numbers 1-12. * Accepts numbers 1-12.
* @type int $week Optional. The week number of the year. Default empty. * @type int $week Optional. The week number of the year. Default empty.
@ -124,8 +125,8 @@ class WP_Date_Query {
* Accepts numbers 1-31. * Accepts numbers 1-31.
* @type int $dayofweek Optional. The day number of the week. Default empty. * @type int $dayofweek Optional. The day number of the week. Default empty.
* Accepts numbers 1-7 (1 is Sunday). * Accepts numbers 1-7 (1 is Sunday).
* @type int $dayofweek_iso Optional. The day number of the week (ISO). Default empty. * @type int $dayofweek_iso Optional. The day number of the week (ISO). Accepts numbers 1-7
* Accepts numbers 1-7 (1 is Monday). * (1 is Monday).Default empty.
* @type int $hour Optional. The hour of the day. Default empty. Accepts numbers 0-23. * @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 * @type int $minute Optional. The minute of the hour. Default empty. Accepts
* numbers 0-60. * numbers 0-60.