Changeset 9828 for trunk/src/bp-core/admin/bp-core-admin-settings.php
- Timestamp:
- 05/02/2015 01:01:03 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/admin/bp-core-admin-settings.php
r9819 r9828 180 180 <p class="description"><?php _e( 'Administrators can always create groups, regardless of this setting.', 'buddypress' ); ?></p> 181 181 182 <?php 183 } 184 185 /** 186 * 'Enable group avatars' field markup. 187 * 188 * @since BuddyPress (2.3.0) 189 */ 190 function bp_admin_setting_callback_group_avatar_uploads() { 191 ?> 192 <input id="bp-disable-group-avatar-uploads" name="bp-disable-group-avatar-uploads" type="checkbox" value="1" <?php checked( ! bp_disable_group_avatar_uploads() ); ?> /> 193 <label for="bp-disable-group-avatar-uploads"><?php _e( 'Allow customizable avatars for groups', 'buddypress' ); ?></label> 182 194 <?php 183 195 } … … 281 293 } 282 294 283 // Some legacy options are not registered with the Settings API 295 // Some legacy options are not registered with the Settings API, or are reversed in the UI. 284 296 $legacy_options = array( 285 297 'bp-disable-account-deletion', 286 298 'bp-disable-avatar-uploads', 299 'bp-disable-group-avatar-uploads', 287 300 'bp_disable_blogforum_comments', 288 301 'bp-disable-profile-sync',
Note: See TracChangeset
for help on using the changeset viewer.