[buddypress-trac] [BuddyPress Trac] #5811: Ajax crashes on new reply to comment

buddypress-trac noreply at wordpress.org
Wed Aug 13 18:30:18 UTC 2014


#5811: Ajax crashes on new reply to comment
---------------------------+------------------
 Reporter:  SGr33n         |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  2.1
Component:  Template Pack  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+------------------
Changes (by r-a-y):

 * keywords:   => has-patch
 * component:  Core => Template Pack


Comment:

 The explicit check
 [https://buddypress.trac.wordpress.org/browser/tags/2.0.2/bp-templates/bp-
 legacy/buddypress-functions.php#L780 here] was causing the problem.

 `01.patch` casts the `$parent_id` as an integer, which fixes the problem.

 This problem did not occur in BP 2.0.2 though.  Will try to use `git
 bisect` to see where this bug started happening.

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


More information about the buddypress-trac mailing list