Make WordPress Core

Ticket #31001: 31001.2.patch

File 31001.2.patch, 5.0 KB (added by dlh, 10 years ago)
  • src/wp-includes/date.php

     
    109109         *                                           'post_modified', 'post_modified_gmt', 'comment_date', 'comment_date_gmt'.
    110110         *             @type string       $compare       Optional. The comparison operator. Default '='.
    111111         *                                               Accepts '=', '!=', '>', '>=', '<', '<=', 'IN', 'NOT IN',
    112          *                                               'BETWEEN', 'NOT BETWEEN'.
     112         *                                               'BETWEEN', 'NOT BETWEEN'. 'IN', 'NOT IN', 'BETWEEN', and 'NOT BETWEEN'
     113         *                                               comparisons support arrays in some time-related parameters.
    113114         *             @type bool         $inclusive     Optional. Include results from dates specified in 'before' or
    114115         *                                               'after'. Default false.
    115          *             @type int          $year          Optional. The four-digit year number. Default empty. Accepts
    116          *                                               any four-digit year.
    117          *             @type int          $month         Optional. The two-digit month number. Default empty.
    118          *                                               Accepts numbers 1-12.
    119          *             @type int          $week          Optional. The week number of the year. Default empty.
    120          *                                               Accepts numbers 0-53.
    121          *             @type int          $dayofyear     Optional. The day number of the year. Default empty.
    122          *                                               Accepts numbers 1-366.
    123          *             @type int          $day           Optional. The day of the month. Default empty.
    124          *                                               Accepts numbers 1-31.
    125          *             @type int          $dayofweek     Optional. The day number of the week. Default empty.
    126          *                                               Accepts numbers 1-7 (1 is Sunday).
    127          *             @type int          $dayofweek_iso Optional. The day number of the week (ISO). Accepts numbers 1-7
    128          *                                               (1 is Monday). Default empty.
    129          *             @type int          $hour          Optional. The hour of the day. Default empty. Accepts numbers 0-23.
    130          *             @type int          $minute        Optional. The minute of the hour. Default empty. Accepts
    131          *                                               numbers 0-60.
    132          *             @type int          $second        Optional. The second of the minute. Default empty.
    133          *                                               Accepts numbers 0-60.
     116         *             @type int|array    $year          Optional. The four-digit year number. Default empty.
     117         *                                               Accepts any four-digit year or an array of years if $compare supports it.
     118         *             @type int|array    $month         Optional. The two-digit month number. Default empty.
     119         *                                               Accepts numbers 1-12 or an array of numbers if $compare supports it.
     120         *             @type int|array    $week          Optional. The week number of the year. Default empty.
     121         *                                               Accepts numbers 0-53 or an array of numbers if $compare supports it.
     122         *             @type int|array    $dayofyear     Optional. The day number of the year. Default empty.
     123         *                                               Accepts numbers 1-366 or an array of numbers if $compare supports it.
     124         *             @type int|array    $day           Optional. The day of the month. Default empty.
     125         *                                               Accepts numbers 1-31 or an array of numbers if $compare supports it.
     126         *             @type int|array    $dayofweek     Optional. The day number of the week. Default empty.
     127         *                                               Accepts numbers 1-7 (1 is Sunday) or an array of numbers if $compare supports it.
     128         *             @type int|array    $dayofweek_iso Optional. The day number of the week (ISO). Default empty.
     129         *                                               Accepts numbers 1-7 (1 is Monday) or an array of numbers if $compare supports it.
     130         *             @type int|array    $hour          Optional. The hour of the day. Default empty.
     131         *                                               Accepts numbers 0-23 or an array of numbers if $compare supports it.
     132         *             @type int|array    $minute        Optional. The minute of the hour. Default empty.
     133         *                                               Accepts numbers 0-60 or an array of numbers if $compare supports it.
     134         *             @type int|array    $second        Optional. The second of the minute. Default empty.
     135         *                                               Accepts numbers 0-60 or an array of numbers if $compare supports it.
    134136         *         }
    135137         *     }
    136138         * }