[buddypress-trac] [BuddyPress Trac] #5557: BP_Group_Extension settings_screen_save
buddypress-trac
noreply at wordpress.org
Thu Apr 17 15:19:43 UTC 2014
#5557: BP_Group_Extension settings_screen_save
-------------------------+-----------------------------
Reporter: dcavins | Owner:
Type: enhancement | Status: new
Priority: low | Milestone: Awaiting Review
Component: Groups | Version:
Severity: minor | Keywords:
-------------------------+-----------------------------
If your BP_Group_Extension-based group plugin uses an "enable" setting or
allows the user to change the plugin's slug or navigation tab label via
the plugin's group admin pane, the navigation tabs do not reflect the
changes upon submitting the admin form. (It seems that the group
navigation tab is being rendered before the form is processed.)
Plugin authors must force a redirect at the end of the save routine to re-
render the page, like
{{{
bp_core_redirect( bp_get_group_permalink( groups_get_group( array(
'group_id' => $group_id ) ) ) . 'admin/' . $this->slug );
}}}
Can we improve this behavior, or is it reasonable to expect plugin authors
to force the redirect when necessary? (Similarly, I really like that BP
handles the nonces since 1.8.)
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5557>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list