WordPress.org

Plugin Directory

Changeset 576393


Ignore:
Timestamp:
07/23/12 23:36:58 (21 months ago)
Author:
batmoo
Message:

Lazy load gravatars, props i8ramin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lazy-load/trunk/lazy-load.php

    r576389 r576393  
    2121        add_filter( 'the_content', array( __CLASS__, 'add_image_placeholders' ), 99 ); // run this later, so other content filters have run, including image_add_wh on WP.com 
    2222        add_filter( 'post_thumbnail_html', array( __CLASS__, 'add_image_placeholders' ), 11 ); 
     23        add_filter( 'get_avatar', array( __CLASS__, 'add_image_placeholders' ), 11 ); 
    2324    } 
    2425 
Note: See TracChangeset for help on using the changeset viewer.