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

buddypress-trac noreply at wordpress.org
Mon Apr 7 15:02:38 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 boonebgorges):

 Thanks for the additional info. The basic filter is working properly over
 AJAX in my tests.

 My guess is that something is preventing your class, or your
 `add_filter()` call, from being called in time in the case of AJAX
 requests. For example, you might only be loading the class when `!
 is_admin()`, but `is_admin()` will return true during an AJAX request.
 Likewise, some hooks (like 'wp_head') will not fire during AJAX requests,
 so if you're hooked to them, that's the source of the issue.

 Maybe this'll point you in the right direction. If not, perhaps you can
 post more of your code - in particular, the code you're using to
 instantiate your class, along with the method that contains your
 `add_filter()` call - and we can help.

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


More information about the buddypress-trac mailing list