Skip to:
Content

BuddyPress.org

Changeset 4973


Ignore:
Timestamp:
08/13/2011 05:56:27 PM (14 years ago)
Author:
djpaul
Message:

Remove some filters from BP components admin screen, active components list. See #3474

File:
1 edited

Legend:

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

    r4965 r4973  
    308308
    309309    // An array of strings looped over to create component setup markup
    310     $optional_components = apply_filters( 'bp_admin_optional_components', array(
     310    $optional_components = array(
    311311        'xprofile' => array(
    312312            'title'       => __( 'Extended Profiles', 'buddypress' ),
     
    341341            'description' => __( 'Make BuddyPress aware of new posts and new comments from your site.', 'buddypress' )
    342342        )
    343     ) );
     343    );
    344344
    345345    if ( is_multisite() )
     
    347347
    348348    // Required components
    349     $required_components = apply_filters( 'bp_admin_required_components', array(
     349    $required_components = array(
    350350        'core' => array(
    351351            'title'       => __( 'BuddyPress Core', 'buddypress' ),
     
    356356            'description' => __( 'Everything in a BuddyPress community revolves around its members.', 'buddypress' )
    357357        ),
    358     ) );
     358    );
    359359
    360360    // On new install, set all components to be active by default
     
    394394            <?php endforeach ?>
    395395
    396             <?php do_action( 'bp_active_external_components' ); ?>
    397 
    398396        </tbody>
    399397    </table>
     
    427425
    428426            <?php endforeach ?>
    429 
    430             <?php do_action( 'bp_active_external_components' ); ?>
    431427
    432428        </tbody>
Note: See TracChangeset for help on using the changeset viewer.