Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/11/2012 05:38:50 PM (14 years ago)
Author:
boonebgorges
Message:

Pinking shears in Core component

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-admin.php

    r5999 r6022  
    174174                add_action( 'admin_notices',         array( $this, 'admin_notices' ) );
    175175                add_action( 'network_admin_notices', array( $this, 'admin_notices' ) );
    176                
     176
    177177                // Enqueue all admin JS and CSS
    178178                add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts'   ) );
     
    237237                // Not in maintenance mode
    238238                } else {
    239        
     239
    240240                        // Bail if user cannot moderate
    241241                        if ( ! bp_current_user_can( 'manage_options' ) )
     
    349349                        // Allow subscriptions setting
    350350                        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'                                                                                );
    352352                }
    353353
     
    540540         *
    541541         * @global string $pagenow
    542          * @return If no notice is needed 
     542         * @return If no notice is needed
    543543         */
    544544        public function admin_notices() {
Note: See TracChangeset for help on using the changeset viewer.