mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-01 03:04:34 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@32845 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -102,6 +102,7 @@ function get_last_build_date_feed() {
|
||||
|
||||
if ( $wp_query->have_posts() ) {
|
||||
$post_ids = array();
|
||||
$post_times = array();
|
||||
foreach( $wp_query->posts as $post ) {
|
||||
$post_ids[] = $post->ID;
|
||||
$post_times[] = $post->post_modified_gmt;
|
||||
|
||||
Reference in New Issue
Block a user