WordPress.org

Make WordPress Core

Changeset 30611


Ignore:
Timestamp:
11/28/2014 11:26:00 AM (6 years ago)
Author:
DrewAPicture
Message:

4.1 Docs Audit: Improve inline documentation in various WP_Date_Query methods modified in 4.1.

See #30469.

File:
1 edited

Legend:

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

    r30301 r30611  
    127127     *                                               Accepts numbers 1-7 (1 is Sunday).
    128128     *             @type int          $dayofweek_iso Optional. The day number of the week (ISO). Accepts numbers 1-7
    129      *                                               (1 is Monday).Default empty.
     129     *                                               (1 is Monday). Default empty.
    130130     *             @type int          $hour          Optional. The hour of the day. Default empty. Accepts numbers 0-23.
    131131     *             @type int          $minute        Optional. The minute of the hour. Default empty. Accepts
     
    181181     * Ensures that each query-level clause has a 'relation' key, and that
    182182     * each first-order clause contains all the necessary keys from
    183      * $defaults.
     183     * `$defaults`.
    184184     *
    185185     * @since 4.1.0
    186186     * @access public
    187187     *
    188      * @param  array $query A tax_query query clause.
     188     * @param array $query A tax_query query clause.
    189189     * @return array Sanitized queries.
    190190     */
     
    481481             *
    482482             * @param array $valid_columns An array of valid date query columns. Defaults
    483              *                 are 'post_date', 'post_date_gmt', 'post_modified',
    484              *                 'post_modified_gmt', 'comment_date', 'comment_date_gmt',
    485              *                 'user_registered'
     483             *                             are 'post_date', 'post_date_gmt', 'post_modified',
     484             *                             'post_modified_gmt', 'comment_date', 'comment_date_gmt',
     485             *                             'user_registered'
    486486             */
    487487            if ( ! in_array( $column, apply_filters( 'date_query_valid_columns', $valid_columns ) ) ) {
     
    580580     * @param array $query Query to parse.
    581581     * @param int   $depth Optional. Number of tree levels deep we currently are.
    582      *                     Used to calculate indentation.
     582     *                     Used to calculate indentation. Default 0.
    583583     * @return array {
    584584     *     Array containing JOIN and WHERE SQL clauses to append to a single query array.
Note: See TracChangeset for help on using the changeset viewer.