Changeset 6022 for trunk/bp-core/bp-core-admin.php
- Timestamp:
- 05/11/2012 05:38:50 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/bp-core-admin.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-admin.php
r5999 r6022 174 174 add_action( 'admin_notices', array( $this, 'admin_notices' ) ); 175 175 add_action( 'network_admin_notices', array( $this, 'admin_notices' ) ); 176 176 177 177 // Enqueue all admin JS and CSS 178 178 add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) ); … … 237 237 // Not in maintenance mode 238 238 } else { 239 239 240 240 // Bail if user cannot moderate 241 241 if ( ! bp_current_user_can( 'manage_options' ) ) … … 349 349 // Allow subscriptions setting 350 350 add_settings_field( '_bp_group_creation', __( 'Group Creation', 'buddypress' ), 'bp_admin_setting_callback_group_creation', 'buddypress', 'bp_groups' ); 351 register_setting ( 'buddypress', '_bp_group_creation', 'intval' ); 351 register_setting ( 'buddypress', '_bp_group_creation', 'intval' ); 352 352 } 353 353 … … 540 540 * 541 541 * @global string $pagenow 542 * @return If no notice is needed 542 * @return If no notice is needed 543 543 */ 544 544 public function admin_notices() {
Note: See TracChangeset
for help on using the changeset viewer.