Make WordPress Core

Ticket #60067: 60067.diff

File 60067.diff, 773 bytes (added by nithi22, 19 months ago)

Patch added

  • src/wp-includes/class-wp-date-query.php

    diff --git a/src/wp-includes/class-wp-date-query.php b/src/wp-includes/class-wp-date-query.php
    index 7abb3216b5..751bab187d 100644
    a b class WP_Date_Query { 
    866866         *
    867867         * @since 3.7.0
    868868         *
    869          * @param string|array $datetime       An array of parameters or a strotime() string.
     869         * @param string|array $datetime       An array of parameters or a strtotime() string.
    870870         * @param bool         $default_to_max Whether to round up incomplete dates. Supported by values
    871871         *                                     of $datetime that are arrays, or string values that are a
    872872         *                                     subset of MySQL date format ('Y', 'Y-m', 'Y-m-d', 'Y-m-d H:i').