[buddypress-trac] [BuddyPress Trac] #5467: Replace .parent() for .closest in buddypress.js

buddypress-trac noreply at wordpress.org
Mon Mar 17 19:22:10 UTC 2014

#5467: Replace .parent() for .closest in buddypress.js
 Reporter:  hnla         |       Owner:  boonebgorges
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  2.0
Component:  Theme        |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |
Changes (by boonebgorges):

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


 In [changeset:"8138"]:
 #!CommitTicketReference repository="" revision="8138"
 Use closest() instead of parent() to hide unfavorited activity item

 Ancestor-crawling makes for inflexible javascript, which makes for sad

 Fixes #5467

 Props hnla

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

More information about the buddypress-trac mailing list