WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/18/2015 06:35:04 PM (6 years ago)
Author:
wonderboymusic
Message:

Make sure that all Gravatars are generated by get_avatar() or at least run through apply_filters( 'get_avatar', $avatar ) for the sake of extensibility.

Props miqrogroove, GlennM, SergeyBiryukov.
Fixes #22650.

File:
1 edited

Legend:

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

    r32800 r32845  
    103103    if ( $wp_query->have_posts() ) {
    104104        $post_ids = array();
     105        $post_times = array();
    105106        foreach( $wp_query->posts as $post ) {
    106107            $post_ids[] = $post->ID;
Note: See TracChangeset for help on using the changeset viewer.