[buddypress-trac] [BuddyPress Trac] #7247: Groups calls WP's "loop_start", causing compatibility issues with other plugins.
buddypress-trac
noreply at wordpress.org
Sun Sep 11 13:53:41 UTC 2016
#7247: Groups calls WP's "loop_start", causing compatibility issues with other
plugins.
--------------------------+---------------------
Reporter: DJPaul | Owner: DJPaul
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 2.7
Component: Core | Version: 1.0
Severity: normal | Resolution: fixed
Keywords: |
--------------------------+---------------------
Changes (by djpaul):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"11083"]:
{{{
#!CommitTicketReference repository="" revision="11083"
Groups: rename `loop_start` and `loop_end` actions.
This gives the Group Invitations and Group Members loops unique names for
the actions called at the start and end of those templating loops. These
are analagous to WordPress' Post templating loop with `loop_start` and
`loop_end`, which is where the action names were likely copied from
originally.
This has caused compatibility problems with plugins that hook to these
actions that rightly expect the type of the first passed argument to be of
`WP_Query`.
Fixes #7247
Props herbovec for reporting the issue.
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7247#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list