WordPress.org

Making WordPress.org


Ignore:
Timestamp:
09/11/2016 07:36:55 PM (4 years ago)
Author:
ocean90
Message:

Rosetta: Add a Jetpack/Module_Manager to manage available and default Jetpack modules.

See #2003.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/rosetta/inc/site/class-locale-main.php

    r4030 r4031  
    22namespace WordPressdotorg\Rosetta\Site;
    33
     4use WordPressdotorg\Rosetta\Jetpack;
    45use WordPressdotorg\Rosetta\User;
    56use WP_Site;
     
    4647            $user_sync->setup();
    4748        }
     49
     50        $jetpack_module_manager = new Jetpack\Module_Manager( [
     51            'stats',
     52            'videopress',
     53            'contact-form',
     54            'sharedaddy',
     55            'shortcodes',
     56        ] );
     57        $jetpack_module_manager->setup();
    4858    }
    4959}
Note: See TracChangeset for help on using the changeset viewer.