[buddypress-trac] [BuddyPress] #4736: "join group" and similar buttons missing in listings for ajax browsing

buddypress-trac noreply at wordpress.org
Thu Dec 27 16:13:04 UTC 2012


#4736: "join group" and similar buttons missing in listings for ajax browsing
--------------------------+---------------------
 Reporter:  magnus78      |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  low           |   Milestone:  1.7
Component:  Theme         |     Version:
 Severity:  minor         |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by boonebgorges):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 (In [6679]) Ensure that directory/header buttons are hooked when doing
 AJAX

 Directory buttons (such as Join Group) were previously added only when
 !is_admin(), to avoid fatal errors in the Dashboard when certain template
 functions were undefined. This caused problems when the directory was
 refreshed
 using AJAX, because is_admin() returns true when making calls to
 admin-ajax.php. This changeset does an additional check to make sure that
 the buttons are added correctly when DOING_AJAX, even if is_admin()
 returns
 true.

 Fixes #4736

 Props magnus78, sbrajesh

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4736#comment:5>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list