Make WordPress Core

Ticket #50626: 50626.diff

File 50626.diff, 510 bytes (added by stevenlinx, 5 years ago)
  • src/wp-includes/query.php

    diff --git a/src/wp-includes/query.php b/src/wp-includes/query.php
    index 69055b3930..c0a071652e 100644
    a b function is_day() { 
    399399 *
    400400 * @param string|string[] $feeds Optional. Feed type or array of feed types
    401401 *                                         to check against. Default empty.
    402  * @return bool
     402 * @return bool True if the query is for a feed, false on failure.
    403403 */
    404404function is_feed( $feeds = '' ) {
    405405        global $wp_query;