[buddypress-trac] [BuddyPress Trac] #7504: rename groups_created_group to bp_groups_created_group
buddypress-trac
noreply at wordpress.org
Tue Apr 18 14:21:05 UTC 2017
#7504: rename groups_created_group to bp_groups_created_group
--------------------------+-----------------------------
Reporter: joneiseman | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Groups | Version: 2.8.2
Severity: normal | Keywords:
--------------------------+-----------------------------
The action groups_created_group conflicts with an action of the same name
in the Groups plugin. Action names should be prefixed with the plugin name
to avoid conflicts. You should rename groups_created_group to
bp_groups_created_group.
{{{
./buddypress/bp-groups/bp-groups-functions.php: do_action(
'groups_created_group', $group->id, $group );
}}}
There are actually many hooks registered with "groups_" as the prefix and
these should all be changed to "bp_groups_" but the one mentioned in this
ticket is the one that currently causes a problem.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7504>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list