Opened 9 years ago
Closed 9 years ago
#7247 closed defect (bug) (fixed)
Groups calls WP's "loop_start", causing compatibility issues with other plugins.
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 2.7 | Priority: | normal |
| Severity: | normal | Version: | 1.0 |
| Component: | Core | Keywords: | |
| Cc: |
Description
Via https://wordpress.org/support/topic/buddypress-incompatibility/, the plugin https://wordpress.org/plugins/beautiful-taxonomy-filters/ hooks into loop_start and makes an assumption that the argument passed is an instance of wp_query.
In our BP_Groups_Group_Members_Template and BP_Groups_Invite_Template classes, however, we also call the same action, and because we obv. don't pass it a wp_query object, we cause a fatal error. This dates back to 1.0 and 1.1.
All of our other loops have our own-named actions in these template loop start locations, I think we should rename these actions and suffer the potential backwards compatibility break.
+1