WordPress.org

Make WordPress Core

Ticket #47304: 47304.patch

File 47304.patch, 779 bytes (added by Rarst, 17 months ago)
  • src/wp-includes/feed.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    671671                $modified_times = array_merge( $modified_times, $comment_times );
    672672        }
    673673
    674         // Determine the maximum modified time.
    675         $max_modified_time = max(
    676                 array_map(
    677                         function ( $time ) use ( $format ) {
    678                                 return mysql2date( $format, $time, false );
    679                         },
    680                         $modified_times
    681                 )
    682         );
     674        $max_modified_time = mysql2date( $format, max( $modified_times ), false );
    683675
    684676        /**
    685677         * Filters the date the last post or comment in the query was modified.