[buddypress-trac] [BuddyPress Trac] #7951: Nouveau: bp_get_suggestions 400 error when activity component is disabled

buddypress-trac noreply at wordpress.org
Wed Sep 19 02:45:17 UTC 2018


#7951: Nouveau: bp_get_suggestions 400 error when activity component is disabled
-----------------------------------+---------------------
 Reporter:  shubh14                |       Owner:  (none)
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  3.3.0
Component:  Templates              |     Version:  3.0.0
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+---------------------
Changes (by imath):

 * keywords:  has-patch => has-patch 2nd-opinion


Comment:

 Thanks for the ping @r-a-y I think a better fix would be to make sure the
 `bp_ajax_get_suggestions()` is available even if the activity component is
 not active, otherwise it's not possible to autocomplete usernames in the
 message compose UI.

 I'd probably move this function into {{{bp-core/bp-core-functions.php}}}
 just after the {{{bp_core_get_suggestions()}}} one. As i don't see any
 functions needing the {{{bp-activity/bp-activity-functions.php}}} to be
 loaded into `bp_ajax_get_suggestions()`, I think there's no problem doing
 so.

 @DJPaul what do you think ?

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


More information about the buddypress-trac mailing list