Skip to:
Content

BuddyPress.org

Changeset 10015


Ignore:
Timestamp:
07/15/2015 08:26:11 PM (5 years ago)
Author:
johnjamesjacoby
Message:

XProfile: Remove unused $bp & buddypress() usage in bp_get_the_profile_group_edit_form_action().

File:
1 edited

Legend:

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

    r10014 r10015  
    524524        global $group;
    525525
    526         $bp = buddypress();
     526        // Build the form action URL
     527        $form_action = trailingslashit( bp_displayed_user_domain() . bp_get_profile_slug() . '/edit/group/' . $group->id );
    527528
    528529        /**
     
    534535         *                      profile group edit form.
    535536         */
    536         return apply_filters( 'bp_get_the_profile_group_edit_form_action', trailingslashit( bp_displayed_user_domain() . bp_get_profile_slug() . '/edit/group/' . $group->id ) );
     537        return apply_filters( 'bp_get_the_profile_group_edit_form_action', $form_action );
    537538    }
    538539
Note: See TracChangeset for help on using the changeset viewer.