[buddypress-trac] [BuddyPress] #4525: Join Group button disappears on ajax call

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Sep 13 18:40:00 UTC 2012


#4525: Join Group button disappears on ajax call
--------------------------+--------------------
 Reporter:  financetrain  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  1.6.2
Component:  Groups        |     Version:  1.6
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+--------------------
Changes (by DJPaul):

 * version:  1.6.1 => 1.6


Comment:

 Problem is in bp_dtheme_setup(). Around the button registrations on AJAX
 when logged in, is_admin() returns true. wp-admin/admin-ajax.php sets:

 define( 'DOING_AJAX', true );
 define( 'WP_ADMIN', true );

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


More information about the buddypress-trac mailing list