Viewing 5 replies - 1 through 5 (of 5 total)
  • Yes, three avatars instead of one!

    Disabling plugin fixes the avatars, so it is this one…

    Plugin Author Stefan van den Dungen Gronovius

    (@dungengronovius)

    Thanks for your input, we can reproduce this issue.
    We have more 4.4 conflicts so this one is added to the list.
    A fix for this will be in the next release

    Thread Starter M3

    (@emmtre)

    Thanx for the confirmation. Good to know that this problem is on your radar. Keep up the good work!

    Plugin Author Stefan van den Dungen Gronovius

    (@dungengronovius)

    For those who cannot wait, here’s a little snippen that can be pasted in your functions.php.
    This function removes all duplicated filters for the avatar. A fix in our plugin will be in a next release.

    function cpac_remove_extra_avatars( $columns ) {
    global $wp_filter;

    $i = 0;
    foreach ( $wp_filter[‘comment_author’][10] as $hook => $filter ) {
    if ( strpos( $hook, ‘floated_admin_avatar’ ) !== false ) {
    $i ++;

    if ( $i > 1 ) {
    unset( $wp_filter[‘comment_author’][10][ $hook ] );
    }
    }
    }

    return $columns;
    }

    add_action( ‘manage_edit-comments_columns’, ‘cpac_remove_extra_avatars’, 10 );

    Thread Starter M3

    (@emmtre)

    Many thanx for the quick fix!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Avatars in comments’ is closed to new replies.