- Timestamp:
- 07/29/2020 06:44:23 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/screens/single/admin/group-settings.php
r12381 r12694 27 27 $enable_forum = ( isset($_POST['group-show-forum'] ) ) ? 1 : 0; 28 28 29 // Checked against a whitelistfor security.29 // Checked against a list of allowed statuses for security. 30 30 /** This filter is documented in bp-groups/bp-groups-admin.php */ 31 31 $allowed_status = apply_filters( 'groups_allowed_status', array( 'public', 'private', 'hidden' ) ); 32 32 $status = ( in_array( $_POST['group-status'], (array) $allowed_status ) ) ? $_POST['group-status'] : 'public'; 33 33 34 // Checked against a whitelistfor security.34 // Checked against a list of allowed statuses for security. 35 35 /** This filter is documented in bp-groups/bp-groups-admin.php */ 36 36 $allowed_invite_status = apply_filters( 'groups_allowed_invite_status', array( 'members', 'mods', 'admins' ) );
Note: See TracChangeset
for help on using the changeset viewer.