Make WordPress Core

Changeset 26234


Ignore:
Timestamp:
11/16/2013 08:20:17 AM (11 years ago)
Author:
SergeyBiryukov
Message:

Add description for 'dayofyear' and 'dayofweek' arguments in WP_Date_Query.

props dziudek.
fixes #25995.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/date.php

    r25860 r26234  
    8989     *             @type bool         $inclusive Optional. Include results from dates specified in 'before' or 'after'.
    9090     *                                           Default. Accepts.
    91      *             @type int          $year      Optional. The four-digit near number. Default empty. Accepts any
     91     *             @type int          $year      Optional. The four-digit year number. Default empty. Accepts any
    9292     *                                           four-digit year.
    9393     *             @type int          $month     Optional. The two-digit month number. Default empty. Accepts numbers 1-12.
    9494     *             @type int          $week      Optional. The week number of the year. Default empty. Accepts numbers 0-53.
     95     *             @type int          $dayofyear Optional. The day number of the year. Default empty. Accepts numbers 1-366.
    9596     *             @type int          $day       Optional. The day of the month. Default empty. Accepts numbers 1-31.
     97     *             @type int          $dayofweek Optional. The day number of the week. Default empty. Accepts numbers 1-7.
    9698     *             @type int          $hour      Optional. The hour of the day. Default empty. Accepts numbers 0-23.
    9799     *             @type int          $minute    Optional. The minute of the hour. Default empty. Accepts numbers 0-60.
Note: See TracChangeset for help on using the changeset viewer.