[buddypress-trac] [BuddyPress Trac] #5487: Ajax doesn't care of bp_core_fetch_avatar

buddypress-trac noreply at wordpress.org
Sun Apr 6 19:59:05 UTC 2014


#5487: Ajax doesn't care of bp_core_fetch_avatar
-------------------------------+------------------------------
 Reporter:  SGr33n             |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Core               |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------

Comment (by SGr33n):

 Sorry DjPaul, I didn't recive the email notification for the new reply.

 The plugin is coded by me, is something like this:


 {{{
         public function fb_avatar( $avatar, $id_or_email, $size, $default,

                 return '<img alt="' . esc_attr( $alt ) . '"
 src="https://graph.facebook.com/' . $fb_uid . '/picture" class="avatar
 avatar-' . $size . ' photo" height="' . $size . '" width="' . $size . '"
 />';
         }
 add_filter( 'bp_core_fetch_avatar', array( $this, 'fb_avatar' ), 9, 4 );
 }}}

 It works pretty good, except for the ajax updates.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5487#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list