From c5574564110f2095095a8be71c39fff7662c93ea Mon Sep 17 00:00:00 2001 From: imath Date: Fri, 20 Aug 2021 10:58:56 +0200 Subject: [PATCH] Fix a PHP8 deprecation --- src/bp-groups/bp-groups-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bp-groups/bp-groups-template.php b/src/bp-groups/bp-groups-template.php index 4abee03..34967e7 100644 --- a/src/bp-groups/bp-groups-template.php +++ b/src/bp-groups/bp-groups-template.php @@ -199,7 +199,7 @@ function bp_group_form_action( $url = '', $group = null ) { * @param bool $nonce Whether or not to add a nonce. * @return string URL for a group component action built for the BP Rewrites URL parser. */ -function bp_get_groups_action_link( $url = '', $action = '', $query_args = array(), $nonce ) { +function bp_get_groups_action_link( $url = '', $action = '', $query_args = array(), $nonce = false ) { $action_variables = explode( '/', $action ); $action = array_shift( $action_variables );