[buddypress-trac] [BuddyPress Trac] #8682: Prevent a notice warning in `bp_nouveau_ajax_get_thread_messages()`

buddypress-trac noreply at wordpress.org
Wed Jul 6 08:02:43 UTC 2022


#8682: Prevent a notice warning in `bp_nouveau_ajax_get_thread_messages()`
--------------------------+---------------------
 Reporter:  imath         |       Owner:  imath
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  11.0.0
Component:  Templates     |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by imath):

 * owner:  (none) => imath
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"13288" 13288]:
 {{{
 #!CommitTicketReference repository="" revision="13288"
 BP Nouveau: prevent a notice warning when fetching a messages thread

 In `bp_nouveau_ajax_get_thread_messages()`, we need to initialize the
 `thread` property of the `$thread` object with an empty array.

 Props espellcaste

 Fixes #8682
 }}}

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


More information about the buddypress-trac mailing list