Changeset 323612
- Timestamp:
- 12/16/2010 05:27:36 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
custom-avatars-for-comments/trunk/inc/frontend.php
r323611 r323612 48 48 if ( $this->get_option( 'showhomelink' ) == '1' ) 49 49 add_action( 'wp_footer', array( &$this, 'homelink' ), 8 ); 50 // turn off in admin bar 51 add_action( 'admin_bar_menu', array( &$this, 'tmpdisable' ) ); 52 add_action( 'wp_after_admin_bar_render', array( &$this, 'tmpenable' ) ); 50 53 } 51 54 } … … 218 221 } 219 222 223 function tmpdisable() { 224 remove_filter( 'get_avatar', array( &$this, 'filter' ) ); 225 } 226 227 function tmpenable() { 228 add_filter( 'get_avatar', array( &$this, 'filter' ), 10, 5 ); 229 } 230 220 231 } 221 232
Note: See TracChangeset
for help on using the changeset viewer.