[buddypress-trac] [BuddyPress Trac] #7700: Ajax Responses from friendship functions return wrong button classes

buddypress-trac noreply at wordpress.org
Thu Feb 22 12:09:20 UTC 2018


#7700: Ajax Responses from friendship functions return wrong button classes
--------------------------+-----------------------------
 Reporter:  chherbst      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:  2.9.3
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 When clicking on the "Add Friend" and "Cancel Friendship Request" buttons,
 the buttons get replaced by the ajax response of the functions that are
 called. But these functions return HTML markup with different classes than
 the HTML that gets send on the initial page request. This makes it hard
 for CSS to consistently style those buttons. The attached patch adds the
 missing classes to the ajax response.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7700>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list