[buddypress-trac] [BuddyPress Trac] #7951: Nouveau: bp_get_suggestions 400 error when activity component is disabled
buddypress-trac
noreply at wordpress.org
Fri Oct 5 14:37:12 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 |
-----------------------------------+---------------------
Comment (by DJPaul):
The Suggestions stuff was architectured to support more than what we've
used it for. Recall that `BP_Groups_Member_Suggestions` exists in/for the
Groups component.
Ray's patch looks a good approach. I like that Mathieu's patch also checks
to see if the global variable is present. I like these combined.
Ray's idea about registering this in `bp_core_register_common_scripts()`
-- that makes sense, but let's not re-arrange any related existing
`wp_enqueue_script` call apart from the duplication in the Nouveau
templates.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7951#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list