Skip to:
Content

BuddyPress.org

Changeset 13548


Ignore:
Timestamp:
08/15/2023 05:56:31 AM (14 months ago)
Author:
imath
Message:

Groups: fix a typo in the group requests management "Accept" link

  • An "s" was missing at the end of the Group management Action in bp_get_group_request_accept_link().
  • This commit also avoids a notice error about an undefined $group variable by replacing this variable by groups_get_current_group().

Props coffee2code

Fixes #8974

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/bp-groups-template.php

    r13503 r13548  
    58475847            ),
    58485848            bp_get_group_manage_url(
    5849                 $group,
    5850                 bp_groups_get_path_chunks( array( 'membership-request' ), 'manage' )
     5849                groups_get_current_group(),
     5850                bp_groups_get_path_chunks( array( 'membership-requests' ), 'manage' )
    58515851            )
    58525852        );
Note: See TracChangeset for help on using the changeset viewer.