Making WordPress.org

Changeset 3363


Ignore:
Timestamp:
06/14/2016 09:55:36 PM (8 years ago)
Author:
iandunn
Message:

WordCamp Post Type: Stop activating plugins individually when creating sites.

Instead, they're just network activated now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-wordcamp/wordcamp-new-site.php

    r3045 r3363  
    283283
    284284        $lead_organizer = $this->get_user_or_current_user( $meta['WordPress.org Username'][0] );
    285 
    286         activate_plugins( array(
    287             'camptix/camptix.php',
    288             'wc-fonts/wc-fonts.php'
    289         ) ); // Note: this may not be safe to do with every plugin, especially if it has activation callbacks. Make sure you test any new ones that are added.
    290285
    291286        switch_theme( 'twentythirteen' );
Note: See TracChangeset for help on using the changeset viewer.