[buddypress-trac] [BuddyPress Trac] #7490: FIX: Impossible to display older activity comments

buddypress-trac noreply at wordpress.org
Wed Jun 21 20:57:45 UTC 2017


#7490: FIX: Impossible to display older activity comments
----------------------------+---------------------
 Reporter:  antonioeatgoat  |       Owner:  r-a-y
     Type:  defect (bug)    |      Status:  closed
 Priority:  low             |   Milestone:  2.9
Component:  Activity        |     Version:
 Severity:  critical        |  Resolution:  fixed
 Keywords:  has-patch       |
----------------------------+---------------------
Changes (by r-a-y):

 * owner:   => r-a-y
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"11597"]:
 {{{
 #!CommitTicketReference repository="" revision="11597"
 bp-legacy: Fix older activity comment display when clicking on the "Show
 All Comments" button in some instances.

 Previously, we were adding the `.hidden` CSS class to either style or hide
 older activity items (not sure what the original intention behind this
 class was).  This can conflict with themes (particularly those powered by
 Bootstrap) or plugins using the `.hidden` CSS declaration in their
 stylesheets to hide the item entirely using the `display: none` rule.

 To fix this issue, this commit removes the `.hidden` CSS class addition
 entirely and hides the activity comments using jQuery's `hide()` function.

 Props antonioeatgoat.

 Fixes #7490.
 }}}

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


More information about the buddypress-trac mailing list